|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.feature.xpath.FeatureXPathEvaluator
public class FeatureXPathEvaluator
XPathEvaluator
for Feature
objects.
Constructor Summary | |
---|---|
FeatureXPathEvaluator(GMLVersion version)
Creates a new FeatureXPathEvaluator instance. |
Method Summary | |
---|---|
static void |
enableCache()
temporary hack to enable caching again |
TypedObjectNode[] |
eval(ElementNode element,
ValueReference propName)
|
TypedObjectNode[] |
eval(Feature context,
ValueReference propName)
Returns the values that are selected by evaluating the given XPath 1.0 expression using the context object. |
TypedObjectNode[] |
eval(Property element,
ValueReference propName)
|
TypedObjectNode[] |
eval(TypedObjectNode particle,
ValueReference path)
|
String |
getId(Feature context)
Returns the identifier of the given context object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeatureXPathEvaluator(GMLVersion version)
FeatureXPathEvaluator
instance.
version
- gml version (determines the names and types of GML standard properties), must not be null
Method Detail |
---|
public static void enableCache()
public TypedObjectNode[] eval(TypedObjectNode particle, ValueReference path) throws FilterEvaluationException
FilterEvaluationException
public TypedObjectNode[] eval(Feature context, ValueReference propName) throws FilterEvaluationException
XPathEvaluator
eval
in interface XPathEvaluator<Feature>
context
- object that the expression is evaluated upon, must not be null
propName
- value reference, must not be null
null
and contains at least one entry
FilterEvaluationException
- if an exception occurs during the evaluation of the XPath expressionpublic TypedObjectNode[] eval(ElementNode element, ValueReference propName) throws FilterEvaluationException
FilterEvaluationException
public TypedObjectNode[] eval(Property element, ValueReference propName) throws FilterEvaluationException
FilterEvaluationException
public String getId(Feature context)
XPathEvaluator
getId
in interface XPathEvaluator<Feature>
context
- context object, never null
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |