All Packages Class Hierarchy This Package Previous Next Index
Class com.kvisco.xsl.AttributeValueTemplate
com.kvisco.xsl.AttributeValueTemplate
- public class AttributeValueTemplate
A representation of an Attribute Value Template
- Author:
- Keith Visco
-
AttributeValueTemplate()
- Creates an empty AttributeValueTemplate
-
AttributeValueTemplate(String)
- Creates an AttributeValueTemplate using the given String
-
addExpr(Expr)
- Adds the given Expr to this AttributeValueTemplate.
-
evaluate(Node, ProcessorState)
- Returns the value of this AttributeValueTemplate when evaluated using
the given context Node.
-
removeExpr(Expr)
- Removes the given Expr from this AttributeValueTemplate
-
toString()
- Returns the String representation of this AttributeValueTemplate
AttributeValueTemplate
public AttributeValueTemplate()
- Creates an empty AttributeValueTemplate
AttributeValueTemplate
public AttributeValueTemplate(String attValue) throws InvalidExprException
- Creates an AttributeValueTemplate using the given String
- Parameters:
- attValue - the String to create the AttributeValueTemplate from
addExpr
public void addExpr(Expr expr)
- Adds the given Expr to this AttributeValueTemplate.
- Parameters:
- Expr - the Expr to add to this AttributeValueTemplate
evaluate
public String evaluate(Node context,
ProcessorState ps)
- Returns the value of this AttributeValueTemplate when evaluated using
the given context Node.
- Parameters:
- context - the Node to evaluate this AttributeValueTemplate with
- rpState - the ProcessorState for accessing the current processing
environment
removeExpr
public void removeExpr(Expr expr)
- Removes the given Expr from this AttributeValueTemplate
- Parameters:
- expr - the Expr to remove
toString
public String toString()
- Returns the String representation of this AttributeValueTemplate
- Returns:
- the String representation of this AttributeValueTemplate
All Packages Class Hierarchy This Package Previous Next Index