Class DefaultXPathExpr

java.lang.Object
org.jaxen.expr.DefaultXPathExpr
All Implemented Interfaces:
Serializable, XPathExpr

public class DefaultXPathExpr extends Object implements XPathExpr
Deprecated.
this class will become non-public in the future; use the interface instead
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private Expr
    Deprecated.
     
    private static final long
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    asList(Context context)
    Deprecated.
    Evaluates the expression and returns a list cintaing the resulting nodes, or a singleton list containing a Double, String, or Boolean.
    Deprecated.
    Returns the wrapped expression object.
    Deprecated.
    Returns a String containing the XPath expression.
    void
    setRootExpr(Expr rootExpr)
    Deprecated.
    Changes the wrapped expression object.
    void
    Deprecated.
    Simplifies the XPath expression.
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Deprecated.
      See Also:
    • rootExpr

      private Expr rootExpr
      Deprecated.
  • Constructor Details

    • DefaultXPathExpr

      public DefaultXPathExpr(Expr rootExpr)
      Deprecated.
  • Method Details

    • getRootExpr

      public Expr getRootExpr()
      Deprecated.
      Description copied from interface: XPathExpr
      Returns the wrapped expression object.
      Specified by:
      getRootExpr in interface XPathExpr
      Returns:
      the wrapped Expr object
    • setRootExpr

      public void setRootExpr(Expr rootExpr)
      Deprecated.
      Description copied from interface: XPathExpr
      Changes the wrapped expression object.
      Specified by:
      setRootExpr in interface XPathExpr
      Parameters:
      rootExpr - the new expression object to wrap
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • getText

      public String getText()
      Deprecated.
      Description copied from interface: XPathExpr
      Returns a String containing the XPath expression.
      Specified by:
      getText in interface XPathExpr
      Returns:
      the text form of this XPath expression
    • simplify

      public void simplify()
      Deprecated.
      Description copied from interface: XPathExpr
      Simplifies the XPath expression. For example, the expression //para[1 = 1] could be simplified to //para. In practice, this is usually a noop. Jaxen does not currently perform any simplification.
      Specified by:
      simplify in interface XPathExpr
    • asList

      public List asList(Context context) throws JaxenException
      Deprecated.
      Description copied from interface: XPathExpr
      Evaluates the expression and returns a list cintaing the resulting nodes, or a singleton list containing a Double, String, or Boolean.
      Specified by:
      asList in interface XPathExpr
      Parameters:
      context - the context in which to evaluate this expression
      Returns:
      a list
      Throws:
      JaxenException