public class AttributeValueTemplate
extends java.lang.Object
| Constructor and Description |
|---|
AttributeValueTemplate()
Creates an empty AttributeValueTemplate
|
AttributeValueTemplate(java.lang.String attValue)
Creates an AttributeValueTemplate using the given String
|
| Modifier and Type | Method and Description |
|---|---|
void |
addExpr(XPathExpression expr)
Adds the given Expr to this AttributeValueTemplate.
|
java.lang.String |
evaluate(XPathContext xcontext)
Returns the value of this AttributeValueTemplate when evaluated using
the given context Node.
|
void |
removeExpr(XPathExpression expr)
Removes the given Expr from this AttributeValueTemplate
|
java.lang.String |
toString()
Returns the String representation of this AttributeValueTemplate
|
public AttributeValueTemplate()
public AttributeValueTemplate(java.lang.String attValue)
attValue - the String to create the AttributeValueTemplate fromInvalidExprExceptionpublic void addExpr(XPathExpression expr)
Expr - the Expr to add to this AttributeValueTemplatepublic java.lang.String evaluate(XPathContext xcontext) throws XSLException
node - the context Node to evaluate this AttributeValueTemplate withcontext - the XPathContext to use during evaluation.XSLExceptionpublic void removeExpr(XPathExpression expr)
expr - the Expr to removepublic java.lang.String toString()
toString in class java.lang.Object