Package com.luciad.ogc.csw.record
Class TLcdCSWRecordPropertyRetrieverProvider
java.lang.Object
com.luciad.ogc.csw.record.TLcdCSWRecordPropertyRetrieverProvider
- All Implemented Interfaces:
ILcdPropertyRetrieverProvider
public class TLcdCSWRecordPropertyRetrieverProvider
extends Object
implements ILcdPropertyRetrieverProvider
Property retriever provider that retrieves CSW dublin core
queryable elements
(such as "dc:title") from TLcdCSWRecord objects.
This can be used to apply a CSW OGC Filter query condition to a set of CSW records using
TLcdOGCFilterEvaluator.- Since:
- 2017.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTLcdCSWRecordPropertyRetrieverProvider(TLcdCSWRecordType aRecordType) Creates a new provider for the given record type.TLcdCSWRecordPropertyRetrieverProvider(TLcdCSWRecordType aCSWRecordType, boolean aInsertEmptyValues) Creates a new provider with the given behavior for handling missing values. -
Method Summary
Modifier and TypeMethodDescriptiongetPropertyRetriever(TLcdOGCXPath aXPath) Returns an instance ofILcdPropertyRetrieverthat corresponds to the given OGC XPath expression.Returns the properties that are supported by this provider.booleanReturns whether or not missing property values should be replaced with empty values (e.g.
-
Constructor Details
-
TLcdCSWRecordPropertyRetrieverProvider
Creates a new provider for the given record type.- Since:
- 2017.1
-
TLcdCSWRecordPropertyRetrieverProvider
public TLcdCSWRecordPropertyRetrieverProvider(TLcdCSWRecordType aCSWRecordType, boolean aInsertEmptyValues) Creates a new provider with the given behavior for handling missing values.- See Also:
-
-
Method Details
-
isInsertEmptyValues
public boolean isInsertEmptyValues()Returns whether or not missing property values should be replaced with empty values (e.g. empty string or undefined bounds). This can be useful to pass CSW compliance tests. Dates are an exception to this.- Returns:
- true to replace missing property values with empty values
-
getPropertyRetriever
Description copied from interface:ILcdPropertyRetrieverProviderReturns an instance ofILcdPropertyRetrieverthat corresponds to the given OGC XPath expression. If the XPath expression is invalid for a given object, theILcdPropertyRetriever.retrieveProperty(Object)method should returnnull.- Specified by:
getPropertyRetrieverin interfaceILcdPropertyRetrieverProvider- Parameters:
aXPath- the given OGC XPath expression- Returns:
- the corresponding property retriever.
-
getSupportedProperties
Returns the properties that are supported by this provider.- Returns:
- the list of properties mentioned in the class javadoc
-