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.
Constructor and Description |
---|
TLcdDataObjectPropertyRetrieverProvider()
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
ILcdPropertyRetriever |
getPropertyRetriever(TLcdOGCXPath aXPath)
Returns a instance of
ILcdPropertyRetriever that corresponds to the given OGC XPath expression. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDefaultPropertyRetrieverProvider
public TLcdDataObjectPropertyRetrieverProvider()
public ILcdPropertyRetriever getPropertyRetriever(TLcdOGCXPath aXPath)
ILcdPropertyRetrieverProvider
ILcdPropertyRetriever
that corresponds to the given OGC XPath expression.
If the XPath expression is invalid for a given object,
the ILcdPropertyRetriever.retrieveProperty(Object)
method should return null
.getPropertyRetriever
in interface ILcdPropertyRetrieverProvider
aXPath
- the given OGC XPath expression