Interface XPath

  • All Known Implementing Classes:
    AbstractXPath

    @Deprecated(since="2021-07-29")
    public interface XPath
    Deprecated.
    This API is deprecated as Apache Abdera is a retired project since 2017.
    Used to execute XPath queries over Feed Object Model instances.
    • Method Summary

      All Methods Instance Methods Abstract 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
      boolean booleanValueOf​(java.lang.String path, Base base, java.util.Map<java.lang.String,​java.lang.String> namespaces)
      Deprecated.
      Return a boolean representation of the specified Path using the specified Namespaces mapping
      java.lang.Object evaluate​(java.lang.String path, Base base)
      Deprecated.
      Evaluate the specified XPath and return it's value
      java.lang.Object evaluate​(java.lang.String path, Base base, java.util.Map<java.lang.String,​java.lang.String> namespaces)
      Deprecated.
      Evaluate the specified XPath and return it's value using the specified Namespaces mapping
      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.lang.Number numericValueOf​(java.lang.String path, Base base, java.util.Map<java.lang.String,​java.lang.String> namespaces)
      Deprecated.
      Return a numeric representation of the specified Path using the specified Namespaces mapping
      java.util.List selectNodes​(java.lang.String path, Base base)
      Deprecated.
      Return a listing of nodes matching the specified Path
      java.util.List selectNodes​(java.lang.String path, Base base, java.util.Map<java.lang.String,​java.lang.String> namespaces)
      Deprecated.
      Return a listing of nodes matching the specified Path using the specified Namespaces mapping
      java.lang.Object selectSingleNode​(java.lang.String path, Base base)
      Deprecated.
      Return the first node matching the specified Path
      java.lang.Object selectSingleNode​(java.lang.String path, Base base, java.util.Map<java.lang.String,​java.lang.String> namespaces)
      Deprecated.
      Return a the first node matching the specified Path using the specified Namespaces mapping
      java.lang.String valueOf​(java.lang.String path, Base base)
      Deprecated.
      Return the text value of the specified Path
      java.lang.String valueOf​(java.lang.String path, Base base, java.util.Map<java.lang.String,​java.lang.String> namespaces)
      Deprecated.
      Return the text value of the specified Path using the specified Namespaces mapping
    • Method Detail

      • getDefaultNamespaces

        java.util.Map<java.lang.String,​java.lang.String> getDefaultNamespaces()
        Deprecated.
        Return the default mapping of Prefixes to XML Namespaces
      • selectNodes

        java.util.List selectNodes​(java.lang.String path,
                                   Base base)
                            throws XPathException
        Deprecated.
        Return a listing of nodes matching the specified Path
        Throws:
        XPathException
      • selectSingleNode

        java.lang.Object selectSingleNode​(java.lang.String path,
                                          Base base)
                                   throws XPathException
        Deprecated.
        Return the first node matching the specified Path
        Throws:
        XPathException
      • evaluate

        java.lang.Object evaluate​(java.lang.String path,
                                  Base base)
                           throws XPathException
        Deprecated.
        Evaluate the specified XPath and return it's value
        Throws:
        XPathException
      • valueOf

        java.lang.String valueOf​(java.lang.String path,
                                 Base base)
                          throws XPathException
        Deprecated.
        Return the text value of the specified Path
        Throws:
        XPathException
      • booleanValueOf

        boolean booleanValueOf​(java.lang.String path,
                               Base base)
                        throws XPathException
        Deprecated.
        Return a boolean representation of the specified Path
        Throws:
        XPathException
      • numericValueOf

        java.lang.Number numericValueOf​(java.lang.String path,
                                        Base base)
                                 throws XPathException
        Deprecated.
        Return a numeric representation of the specified Path
        Throws:
        XPathException
      • selectNodes

        java.util.List selectNodes​(java.lang.String path,
                                   Base base,
                                   java.util.Map<java.lang.String,​java.lang.String> namespaces)
                            throws XPathException
        Deprecated.
        Return a listing of nodes matching the specified Path using the specified Namespaces mapping
        Throws:
        XPathException
      • selectSingleNode

        java.lang.Object selectSingleNode​(java.lang.String path,
                                          Base base,
                                          java.util.Map<java.lang.String,​java.lang.String> namespaces)
                                   throws XPathException
        Deprecated.
        Return a the first node matching the specified Path using the specified Namespaces mapping
        Throws:
        XPathException
      • evaluate

        java.lang.Object evaluate​(java.lang.String path,
                                  Base base,
                                  java.util.Map<java.lang.String,​java.lang.String> namespaces)
                           throws XPathException
        Deprecated.
        Evaluate the specified XPath and return it's value using the specified Namespaces mapping
        Throws:
        XPathException
      • valueOf

        java.lang.String valueOf​(java.lang.String path,
                                 Base base,
                                 java.util.Map<java.lang.String,​java.lang.String> namespaces)
                          throws XPathException
        Deprecated.
        Return the text value of the specified Path using the specified Namespaces mapping
        Throws:
        XPathException
      • booleanValueOf

        boolean booleanValueOf​(java.lang.String path,
                               Base base,
                               java.util.Map<java.lang.String,​java.lang.String> namespaces)
                        throws XPathException
        Deprecated.
        Return a boolean representation of the specified Path using the specified Namespaces mapping
        Throws:
        XPathException
      • numericValueOf

        java.lang.Number numericValueOf​(java.lang.String path,
                                        Base base,
                                        java.util.Map<java.lang.String,​java.lang.String> namespaces)
                                 throws XPathException
        Deprecated.
        Return a numeric representation of the specified Path using the specified Namespaces mapping
        Throws:
        XPathException