Class TLcdCSWRecordTransformationFactory

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

public class TLcdCSWRecordTransformationFactory extends Object
Creates transformations to convert metadata records. This can be used to perform the following transformations:

The factory supports transformations between the following metadata record types:

Source types

  • CSW (TLcdCSWRecord)
  • ISO 19115 (TLcdISO19115Metadata)

Target types

  • CSW (TLcdCSWRecord, TLcdCSWBriefRecord, TLcdCSWSummaryRecord)
  • ISO 19115 (TLcdISO19115Metadata), including brief and summary subsets
  • Atom Feed (TLcdAtomEntry)
Since:
2017.0
See Also:
  • Constructor Details

    • TLcdCSWRecordTransformationFactory

      public TLcdCSWRecordTransformationFactory()
  • Method Details

    • createOutputTransformation

      public ILcdObjectTransformation createOutputTransformation(ILcdDataObject aRecord, TLcdCSWRecordType aOutputFormat, TLcdCSWQuery aQuery)
      Creates a transformation to the requested output format
      Parameters:
      aRecord - the record to transform
      aOutputFormat - the request output
      aQuery - the query specifying a subset of the result, if any
      Returns:
      a transformation to the requested output format
    • createQueryTransformation

      public ILcdObjectTransformation createQueryTransformation(ILcdDataObject aRecordToFilter, TLcdCSWQuery aQuery)
      Creates a transformation that converts the given record to a record compatible with the given query's properties
      Parameters:
      aRecordToFilter - a TLcdCSWRecord or TLcdISO19115Metadata record
      aQuery - the query containing the typename of the used queryables
      Returns:
      a transformation to a record that is compatible with the language used in the query