Class XPathExpression
java.lang.Object
org.apache.commons.jelly.expression.ExpressionSupport
org.apache.commons.jelly.expression.xpath.XPathExpression
- All Implemented Interfaces:
Expression,org.jaxen.VariableContext
An expression which returns an XPath object.
- Version:
- $Revision: 155420 $
- Author:
- James Strachan
-
Field Summary
Fields inherited from class org.apache.commons.jelly.expression.ExpressionSupport
EMPTY_ITERATORFields inherited from interface org.apache.commons.jelly.expression.Expression
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MapcreateUriMap(Map namespaceContext) Factory method to create a synchronized Map of non-null and non-blank namespace prefixes to namespace URIsevaluate(JellyContext context) Evaluates the expression with the given context and returns the resultgetVariableValue(String namespaceURI, String prefix, String localName) toString()Methods inherited from class org.apache.commons.jelly.expression.ExpressionSupport
evaluateAsBoolean, evaluateAsIterator, evaluateAsString, evaluateRecurse
-
Constructor Details
-
XPathExpression
public XPathExpression() -
XPathExpression
-
-
Method Details
-
toString
-
getExpressionText
- Specified by:
getExpressionTextin interfaceExpression- Returns:
- the textual representation of this expression
-
evaluate
Description copied from interface:ExpressionEvaluates the expression with the given context and returns the result- Specified by:
evaluatein interfaceExpression
-
getVariableValue
- Specified by:
getVariableValuein interfaceorg.jaxen.VariableContext
-
createUriMap
Factory method to create a synchronized Map of non-null and non-blank namespace prefixes to namespace URIs
-