Class TLcdCSWRecordType

java.lang.Object
com.luciad.ogc.csw.record.TLcdCSWRecordType

public class TLcdCSWRecordType extends Object
Describes the format of a CSW metadata record. The defining characteristics are:
  • a mime type e.g. "application/xml"
  • a namespace e.g. "http://www.opengis.net/cat/csw/2.0.2"
  • a type name e.g. "http://www.opengis.net/cat/csw/2.0.2:Record" (typically abbreviated to "csw:Record" in a capabilities document)
Since:
2017.1
  • Field Details

    • CSW_202

      public static final TLcdCSWRecordType CSW_202
      The descriptor for the Core CSW 2.0.2 record type, corresponding to {http://www.opengis.net/cat/csw/2.0.2}Record typename.
      Since:
      2017.1
    • CSW_300

      public static final TLcdCSWRecordType CSW_300
      The descriptor for the Core CSW 3.0 record type, corresponding to {http://www.opengis.net/cat/csw/3.0}Record typename.
      Since:
      2017.1
    • ISO

      public static final TLcdCSWRecordType ISO
      The descriptor for the ISO 19115 metadata record type, corresponding to the {http://www.isotc211.org/2005/gmd}MD_Metadata typename.
      Since:
      2017.1
    • ATOM

      public static final TLcdCSWRecordType ATOM
      The descriptor for the Atom Feed metadata record type, corresponding to the {http://www.w3.org/2005/Atom}Feed typename.
      Since:
      2017.1
  • Constructor Details

    • TLcdCSWRecordType

      public TLcdCSWRecordType(String aLocalTypeName, String aTargetNameSpace, String aSchemaLanguage, String aSchemaLocation, String aContentType)
      Creates a new record descriptor.
      Parameters:
      aLocalTypeName - the local part of the type name as referred to by a GetRecords request, e.g. "Record"
      aTargetNameSpace - the schema namespace of the type name as referred to by a GetRecords request, e.g. "http://www.opengis.net/cat/csw/2.0.2"
      aSchemaLanguage - the schema language, e.g. "http://www.w3.org/XML/Schema"
      aSchemaLocation - the location of the schema
      aContentType - the content type of the record, e.g. "application/xml"
  • Method Details

    • getTypeName

      public QName getTypeName()
    • getNamespace

      public String getNamespace()
      Returns the name space to which the RecordTypeName belongs.
      Returns:
      the name space to which the RecordTypeName belongs.
    • getSchemaLanguage

      public String getSchemaLanguage()
      Returns the location of the schema in which the record is described.
      Returns:
      the location of the schema in which the record is described.
    • getSchemaLocation

      public String getSchemaLocation()
      Return the name of the described record type.
      Returns:
      the name of the described record type.
    • getMimeType

      public String getMimeType()
      Returns the mime type of the described record type (e.g. application/xml, application/atom+xml, ...)
      Returns:
      the output format
    • equals

      public boolean equals(Object aO)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getWellKnownValues

      public static Map<String,TLcdCSWRecordType> getWellKnownValues()
      Returns a map containing all well known values of this class. This map contains all public constant instances defined on this class.
      Returns:
      A map that maps the typename's toString to an instance of this class
      Since:
      2017.1