Class XPathExpression

  • All Implemented Interfaces:
    Expression, org.jaxen.VariableContext

    public class XPathExpression
    extends ExpressionSupport
    implements org.jaxen.VariableContext
    An expression which returns an XPath object.
    Version:
    $Revision: 155420 $
    Author:
    James Strachan
    • Constructor Detail

      • XPathExpression

        public XPathExpression()
    • Method Detail

      • getExpressionText

        public String getExpressionText()
        Specified by:
        getExpressionText in interface Expression
        Returns:
        the textual representation of this expression
      • getVariableValue

        public Object getVariableValue​(String namespaceURI,
                                       String prefix,
                                       String localName)
        Specified by:
        getVariableValue in interface org.jaxen.VariableContext
      • createUriMap

        protected Map createUriMap​(Map namespaceContext)
        Factory method to create a synchronized Map of non-null and non-blank namespace prefixes to namespace URIs