Package com.luciad.ogc.filter.evaluator
Class TLcdFeaturedDescriptorPropertyRetrieverProvider
java.lang.Object
com.luciad.ogc.filter.evaluator.TLcdFeaturedDescriptorPropertyRetrieverProvider
- All Implemented Interfaces:
ILcdPropertyRetrieverProvider
public class TLcdFeaturedDescriptorPropertyRetrieverProvider
extends Object
implements ILcdPropertyRetrieverProvider
This implementation of ILcdPropertyRetrieverProvider
uses a given instance of ILcdFeaturedDescriptor
for mapping OGC property names on features of a ILcdFeatured
object.
It also provides the ability to map a property name one the object itself.
This feature can be used for example when a model object implements the ILcdShape
interface and than could be
mapped on a Geometry property.
-
Constructor Summary
ConstructorDescriptionTLcdFeaturedDescriptorPropertyRetrieverProvider
(ILcdFeaturedDescriptor aFeaturedDescriptor) Constructs an instance with a given featured descriptor.TLcdFeaturedDescriptorPropertyRetrieverProvider
(ILcdFeaturedDescriptor aFeaturedDescriptor, TLcdXMLName aSelfName) Constructs an instance with a given featured descriptor and a property name that must be mapped on the model object. -
Method Summary
Modifier and TypeMethodDescriptiongetPropertyRetriever
(TLcdOGCXPath xPath) Returns an instance ofILcdPropertyRetriever
that corresponds to the given OGC XPath expression.
-
Constructor Details
-
TLcdFeaturedDescriptorPropertyRetrieverProvider
Constructs an instance with a given featured descriptor.- Parameters:
aFeaturedDescriptor
- the given featured descriptor.
-
TLcdFeaturedDescriptorPropertyRetrieverProvider
public TLcdFeaturedDescriptorPropertyRetrieverProvider(ILcdFeaturedDescriptor aFeaturedDescriptor, TLcdXMLName aSelfName) Constructs an instance with a given featured descriptor and a property name that must be mapped on the model object.- Parameters:
aFeaturedDescriptor
- the given featured descriptor.aSelfName
- the property name that must be mapped on the model object.
-
-
Method Details
-
getPropertyRetriever
Description copied from interface:ILcdPropertyRetrieverProvider
Returns an instance ofILcdPropertyRetriever
that 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:
getPropertyRetriever
in interfaceILcdPropertyRetrieverProvider
- Parameters:
xPath
- the given OGC XPath expression- Returns:
- the corresponding property retriever.
-