Class AbstractXPath

  • All Implemented Interfaces:
    XPath

    @Deprecated(since="2021-07-29")
    public abstract class AbstractXPath
    extends java.lang.Object
    implements XPath
    Deprecated.
    This API is deprecated as Apache Abdera is a retired project since 2017.
    Abstract base implementation of XPath
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean booleanValueOf​(java.lang.String path, Base base)
      Deprecated.
      Return a boolean representation of the specified Path
      java.lang.Object evaluate​(java.lang.String path, Base base)
      Deprecated.
      Evaluate the specified XPath and return it's value
      java.util.Map<java.lang.String,​java.lang.String> getDefaultNamespaces()
      Deprecated.
      Return the default mapping of Prefixes to XML Namespaces
      java.lang.Number numericValueOf​(java.lang.String path, Base base)
      Deprecated.
      Return a numeric representation of the specified Path
      java.util.List selectNodes​(java.lang.String path, Base base)
      Deprecated.
      Return a listing of nodes matching the specified Path
      java.lang.Object selectSingleNode​(java.lang.String path, Base base)
      Deprecated.
      Return the first node matching the specified Path
      java.lang.String valueOf​(java.lang.String path, Base base)
      Deprecated.
      Return the text value of the specified Path
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getDefaultNamespaces

        public java.util.Map<java.lang.String,​java.lang.String> getDefaultNamespaces()
        Deprecated.
        Description copied from interface: XPath
        Return the default mapping of Prefixes to XML Namespaces
        Specified by:
        getDefaultNamespaces in interface XPath
      • selectNodes

        public java.util.List selectNodes​(java.lang.String path,
                                          Base base)
                                   throws XPathException
        Deprecated.
        Description copied from interface: XPath
        Return a listing of nodes matching the specified Path
        Specified by:
        selectNodes in interface XPath
        Throws:
        XPathException
      • selectSingleNode

        public java.lang.Object selectSingleNode​(java.lang.String path,
                                                 Base base)
                                          throws XPathException
        Deprecated.
        Description copied from interface: XPath
        Return the first node matching the specified Path
        Specified by:
        selectSingleNode in interface XPath
        Throws:
        XPathException
      • evaluate

        public java.lang.Object evaluate​(java.lang.String path,
                                         Base base)
                                  throws XPathException
        Deprecated.
        Description copied from interface: XPath
        Evaluate the specified XPath and return it's value
        Specified by:
        evaluate in interface XPath
        Throws:
        XPathException
      • valueOf

        public java.lang.String valueOf​(java.lang.String path,
                                        Base base)
                                 throws XPathException
        Deprecated.
        Description copied from interface: XPath
        Return the text value of the specified Path
        Specified by:
        valueOf in interface XPath
        Throws:
        XPathException
      • booleanValueOf

        public boolean booleanValueOf​(java.lang.String path,
                                      Base base)
                               throws XPathException
        Deprecated.
        Description copied from interface: XPath
        Return a boolean representation of the specified Path
        Specified by:
        booleanValueOf in interface XPath
        Throws:
        XPathException
      • numericValueOf

        public java.lang.Number numericValueOf​(java.lang.String path,
                                               Base base)
                                        throws XPathException
        Deprecated.
        Description copied from interface: XPath
        Return a numeric representation of the specified Path
        Specified by:
        numericValueOf in interface XPath
        Throws:
        XPathException