org.jaxen.expr

Class DefaultAbsoluteLocationPath

Implemented Interfaces:
Expr, LocationPath, Serializable

public class DefaultAbsoluteLocationPath
extends DefaultLocationPath

Field Summary

private static long
serialVersionUID

Fields inherited from class org.jaxen.expr.DefaultLocationPath

steps

Constructor Summary

DefaultAbsoluteLocationPath()
Create a new empty location path.

Method Summary

Object
evaluate(Context context)
String
getText()
boolean
isAbsolute()
Returns true if this is an absolute location path; false if it isn't.
String
toString()

Methods inherited from class org.jaxen.expr.DefaultLocationPath

addStep, evaluate, getSteps, getText, isAbsolute, isReverseAxis, simplify, toString

Methods inherited from class org.jaxen.expr.DefaultExpr

convertToIterator, convertToList, simplify

Field Details

serialVersionUID

private static final long serialVersionUID
Field Value:
2174836928310146874L

Constructor Details

DefaultAbsoluteLocationPath

public DefaultAbsoluteLocationPath()
Create a new empty location path.

Method Details

evaluate

public Object evaluate(Context context)
            throws JaxenException
Specified by:
evaluate in interface Expr
Overrides:
evaluate in interface DefaultLocationPath

getText

public String getText()
Specified by:
getText in interface Expr
Overrides:
getText in interface DefaultLocationPath

isAbsolute

public boolean isAbsolute()
Returns true if this is an absolute location path; false if it isn't. Absolute location paths all begiune with / or //.
Specified by:
isAbsolute in interface LocationPath
Overrides:
isAbsolute in interface DefaultLocationPath
Returns:
true if this is an absol;ute location path; false if it isn't

toString

public String toString()
Overrides:
toString in interface DefaultLocationPath