Class XPathParser

  • All Implemented Interfaces:
    java.io.Serializable

    public class XPathParser
    extends java.lang.Object
    implements java.io.Serializable
    XPath parser.
    Since:
    1.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      XPathParser​(javax.xml.namespace.NamespaceContext namespaceContext)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Expr parse​(java.lang.String xpath)
      Parse given XPath into Expr instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XPathParser

        public XPathParser​(javax.xml.namespace.NamespaceContext namespaceContext)
    • Method Detail

      • parse

        public Expr parse​(java.lang.String xpath)
                   throws javax.xml.xpath.XPathExpressionException
        Parse given XPath into Expr instance.
        Parameters:
        xpath - XPath to parse
        Returns:
        resulting Expr
        Throws:
        javax.xml.xpath.XPathExpressionException - if xpath cannot be parsed