All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.kvisco.xsl.AttributeExpr

com.kvisco.xsl.AttributeExpr

public class AttributeExpr
implements NodeExpr
Represents an AttributeExpr

Author:
Keith Visco

Constructor Index

 o AttributeExpr(String)

Method Index

 o evaluate(Node, ProcessorState)
Evaluates this Expr using the given context Node and ProcessorState
 o getExprType()
 o getName()
 o getNodeExprType()
Returns the type of this NodeExpr
 o matches(Node, Node, ProcessorState)
Determines if the given node is matched by this NodeExpr within the given context
 o toString()
Returns the String representation of this NodeExpr

Constructors

 o AttributeExpr
 public AttributeExpr(String name)

Methods

 o toString
 public String toString()
Returns the String representation of this NodeExpr

 o evaluate
 public ExprResult evaluate(Node context,
                            ProcessorState ps) throws InvalidExprException
Evaluates this Expr using the given context Node and ProcessorState

Parameters:
context - the current context Node
ps - the ProcessorState that contains the current processing environment
Returns:
the ExprResult
 o getExprType
 public short getExprType()
 o getName
 public String getName()
 o getNodeExprType
 public short getNodeExprType()
Returns the type of this NodeExpr

Returns:
the type of this NodeExpr
 o matches
 public boolean matches(Node node,
                        Node context,
                        ProcessorState ps) throws InvalidExprException
Determines if the given node is matched by this NodeExpr within the given context


All Packages  Class Hierarchy  This Package  Previous  Next  Index