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.
Modifier and Type | Method and Description |
---|---|
static ILcdPropertyRetrieverProvider |
createDefaultPropertyRetrieverProvider(ILcdModel aModel)
Creates an
ILcdPropertyRetrieverProvider instance which can deal with the domain objects
from aSourceModel . |
ILcdPropertyRetriever |
getPropertyRetriever(TLcdOGCXPath aXPath)
Returns a instance of
ILcdPropertyRetriever that corresponds to the given OGC XPath expression. |
ILcdPropertyRetriever getPropertyRetriever(TLcdOGCXPath aXPath)
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
.aXPath
- the given OGC XPath expressionstatic ILcdPropertyRetrieverProvider createDefaultPropertyRetrieverProvider(ILcdModel aModel)
ILcdPropertyRetrieverProvider
instance which can deal with the domain objects
from aSourceModel
.aModel
- The modelILcdPropertyRetrieverProvider
instance.