public class TLcdSelfPropertyRetrieverProvider extends Object implements ILcdPropertyRetrieverProvider
ILcdPropertyRetrieverProvider
that returns a instance of TLcdSelfPropertyRetriever
.
An optional TLcdXMLName
instance can be provided.
In that case the TLcdOGCXPath
will be checked against the given name before providing the TLcdSelfPropertyRetriever
.
Constructor and Description |
---|
TLcdSelfPropertyRetrieverProvider()
Default constructor.
|
TLcdSelfPropertyRetrieverProvider(TLcdXMLName aName)
Constructor with a name for the property that will return the object itself.
|
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 TLcdSelfPropertyRetrieverProvider(TLcdXMLName aName)
aName
- the name for the property that will return the object itself.public TLcdSelfPropertyRetrieverProvider()
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