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

Constructor Index

 o AttributeValueTemplate()
Creates an empty AttributeValueTemplate
 o AttributeValueTemplate(String)
Creates an AttributeValueTemplate using the given String

Method Index

 o addExpr(Expr)
Adds the given Expr to this AttributeValueTemplate.
 o evaluate(Node, ProcessorState)
Returns the value of this AttributeValueTemplate when evaluated using the given context Node.
 o removeExpr(Expr)
Removes the given Expr from this AttributeValueTemplate
 o toString()
Returns the String representation of this AttributeValueTemplate

Constructors

 o AttributeValueTemplate
 public AttributeValueTemplate()
Creates an empty AttributeValueTemplate

 o AttributeValueTemplate
 public AttributeValueTemplate(String attValue) throws InvalidExprException
Creates an AttributeValueTemplate using the given String

Parameters:
attValue - the String to create the AttributeValueTemplate from

Methods

 o addExpr
 public void addExpr(Expr expr)
Adds the given Expr to this AttributeValueTemplate.

Parameters:
Expr - the Expr to add to this AttributeValueTemplate
 o 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
 o removeExpr
 public void removeExpr(Expr expr)
Removes the given Expr from this AttributeValueTemplate

Parameters:
expr - the Expr to remove
 o 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