org.jaxen.expr
Class DefaultRelativeLocationPath

java.lang.Object
  extended byorg.jaxen.expr.DefaultExpr
      extended byorg.jaxen.expr.DefaultLocationPath
          extended byorg.jaxen.expr.DefaultRelativeLocationPath
All Implemented Interfaces:
Expr, LocationPath, java.io.Serializable, Visitable

public class DefaultRelativeLocationPath
extends org.jaxen.expr.DefaultLocationPath

See Also:
Serialized Form

Constructor Summary
DefaultRelativeLocationPath()
           
 
Method Summary
 void accept(Visitor visitor)
           
 void addStep(Step step)
           
 java.lang.Object evaluate(Context context)
           
 java.util.List getSteps()
           
 java.lang.String getText()
           
 boolean isAbsolute()
           
 Expr simplify()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jaxen.expr.DefaultExpr
convertToIterator, convertToList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultRelativeLocationPath

public DefaultRelativeLocationPath()
Method Detail

toString

public java.lang.String toString()

accept

public void accept(Visitor visitor)

addStep

public void addStep(Step step)
Specified by:
addStep in interface LocationPath

getSteps

public java.util.List getSteps()
Specified by:
getSteps in interface LocationPath

simplify

public Expr simplify()
Specified by:
simplify in interface Expr
Overrides:
simplify in class DefaultExpr

getText

public java.lang.String getText()
Specified by:
getText in interface Expr

isAbsolute

public boolean isAbsolute()
Specified by:
isAbsolute in interface LocationPath

evaluate

public java.lang.Object evaluate(Context context)
                          throws JaxenException
Specified by:
evaluate in interface Expr
Throws:
JaxenException


Copyright © 2001-2005 Codehaus. All Rights Reserved.