public class TLcdCSWRecordTransformationFactory extends Object
createQueryTransformation(com.luciad.datamodel.ILcdDataObject, com.luciad.ogc.csw.model.TLcdCSWQuery)
: transform a source record to a format compatible with
a given query's filter constraint
createOutputTransformation(com.luciad.datamodel.ILcdDataObject, com.luciad.ogc.csw.record.TLcdCSWRecordType, com.luciad.ogc.csw.model.TLcdCSWQuery)
: transform a source record to a given output format, optionally
restricting its content to a subsetThe factory supports transformations between the following metadata record types:
TLcdOGCFilter
Constructor and Description |
---|
TLcdCSWRecordTransformationFactory() |
Modifier and Type | Method and Description |
---|---|
ILcdObjectTransformation |
createOutputTransformation(ILcdDataObject aRecord,
TLcdCSWRecordType aOutputFormat,
TLcdCSWQuery aQuery)
Creates a transformation to the requested output format
|
ILcdObjectTransformation |
createQueryTransformation(ILcdDataObject aRecordToFilter,
TLcdCSWQuery aQuery)
Creates a transformation that converts the given record to a record compatible with the given query's properties
|
public ILcdObjectTransformation createOutputTransformation(ILcdDataObject aRecord, TLcdCSWRecordType aOutputFormat, TLcdCSWQuery aQuery)
aRecord
- the record to transformaOutputFormat
- the request outputaQuery
- the query specifying a subset of the result, if anypublic ILcdObjectTransformation createQueryTransformation(ILcdDataObject aRecordToFilter, TLcdCSWQuery aQuery)
aRecordToFilter
- a TLcdCSWRecord or TLcdISO19115Metadata recordaQuery
- the query containing the typename of the used queryables