Package com.luciad.ogc.filter.evaluator
Class TLcdDataObjectPropertyRetrieverProvider
java.lang.Object
com.luciad.ogc.filter.evaluator.TLcdDataObjectPropertyRetrieverProvider
- All Implemented Interfaces:
ILcdPropertyRetrieverProvider
public class TLcdDataObjectPropertyRetrieverProvider
extends Object
implements ILcdPropertyRetrieverProvider
This implementation of ILcdPropertyRetrieverProvider
resolves
OGC XPath expressions on ILcdDataObject
objects.
It supports data models with and without TLcdXMLSchemaMappingAnnotation
.
If the annotation is present, the XML schema information is used to implement a correct
mapping. Otherwise, the data model of the object is mapped
to xml automatically. Each property of each type of such a model is mapped as a local
element with a name equal to the name of the property.
- Since:
- 10.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPropertyRetriever
(TLcdOGCXPath aXPath) Returns an instance ofILcdPropertyRetriever
that corresponds to the given OGC XPath expression.
-
Constructor Details
-
TLcdDataObjectPropertyRetrieverProvider
public TLcdDataObjectPropertyRetrieverProvider()Constructs an instance.
-
-
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:
aXPath
- the given OGC XPath expression- Returns:
- the corresponding property retriever.
-