Package com.luciad.ogc.filter.evaluator
Interface ILcdPropertyRetrieverProvider
- All Known Implementing Classes:
TLcdCSWAPISOPropertyRetrieverProvider,TLcdCSWRecordPropertyRetrieverProvider,TLcdDataObjectPropertyRetrieverProvider,TLcdFeaturedDescriptorPropertyRetrieverProvider,TLcdFeaturedDescriptorProviderPropertyRetrieverProvider,TLcdSelfPropertyRetrieverProvider,TLcdXMLElementPropertyRetrieverProvider
public interface ILcdPropertyRetrieverProvider
This interface allows to abstract the way an OGC XPath expression can reference a property of a given object.
Implementations of this interface must be thread safe.
The created ILcdPropertyRetriever instances however can be non thread safe.
For most use-cases, there is no need to implement this interface yourself.
Instead, use the createDefaultPropertyRetrieverProvider(ILcdModel) method
to create a ILcdPropertyRetrieverProvider instance.
-
Method Summary
Modifier and TypeMethodDescriptionCreates anILcdPropertyRetrieverProviderinstance which can deal with the domain objects fromaSourceModel.getPropertyRetriever(TLcdOGCXPath aXPath) Returns an instance ofILcdPropertyRetrieverthat corresponds to the given OGC XPath expression.
-
Method Details
-
getPropertyRetriever
Returns 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.- Parameters:
aXPath- the given OGC XPath expression- Returns:
- the corresponding property retriever.
-
createDefaultPropertyRetrieverProvider
Creates anILcdPropertyRetrieverProviderinstance which can deal with the domain objects fromaSourceModel.- Parameters:
aModel- The model- Returns:
- a new
ILcdPropertyRetrieverProviderinstance. - Since:
- 2017.0
-