net.sf.swan.xpath.expr
Class AVTExpr
java.lang.Object
|
+--net.sf.swan.xpath.expr.AVTExpr
- All Implemented Interfaces:
- org.jaxen.expr.Expr, java.io.Serializable, org.jaxen.expr.Visitable
- public class AVTExpr
- extends java.lang.Object
- implements org.jaxen.expr.Expr
Provides support for Attribute Value Templates (as in XSLT).
- See Also:
- Serialized Form
Constructor Summary |
AVTExpr(org.jaxen.expr.Expr[] parts)
|
Method Summary |
void |
accept(org.jaxen.expr.Visitor visitor)
|
java.lang.Object |
evaluate(org.jaxen.Context context)
|
java.lang.String |
getText()
|
static AVTExpr |
parseAVT(java.lang.String expr,
org.saxpath.XPathReader reader,
ParseContext context,
org.jaxen.FunctionContext fnContext)
|
org.jaxen.expr.Expr |
simplify()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AVTExpr
public AVTExpr(org.jaxen.expr.Expr[] parts)
parseAVT
public static AVTExpr parseAVT(java.lang.String expr,
org.saxpath.XPathReader reader,
ParseContext context,
org.jaxen.FunctionContext fnContext)
throws org.saxpath.SAXPathException
simplify
public org.jaxen.expr.Expr simplify()
- Specified by:
simplify
in interface org.jaxen.expr.Expr
getText
public java.lang.String getText()
- Specified by:
getText
in interface org.jaxen.expr.Expr
evaluate
public java.lang.Object evaluate(org.jaxen.Context context)
throws org.jaxen.JaxenException
- Specified by:
evaluate
in interface org.jaxen.expr.Expr
accept
public void accept(org.jaxen.expr.Visitor visitor)
- Specified by:
accept
in interface org.jaxen.expr.Visitable