All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.kvisco.xsl.NodeExpr

public interface NodeExpr
Represents a NodeExpr

Author:
Keith Visco

Variable Index

 o ATTRIBUTE_EXPR
 o COMMENT_EXPR
 o ELEMENT_EXPR
 o ID_EXPR
 o IDENTITY_EXPR
 o PARENT_EXPR
 o PI_EXPR
 o TEXT_EXPR
 o WILDCARD_EXPR

Method Index

 o getNodeExprType()
Returns the type of this NodeExpr
 o matches(Node, Node, ProcessorState)
Determines if the given node is matched by this MatchExpr with respect to the given context node.

Variables

 o ATTRIBUTE_EXPR
 public static final short ATTRIBUTE_EXPR
 o ELEMENT_EXPR
 public static final short ELEMENT_EXPR
 o ID_EXPR
 public static final short ID_EXPR
 o IDENTITY_EXPR
 public static final short IDENTITY_EXPR
 o PARENT_EXPR
 public static final short PARENT_EXPR
 o TEXT_EXPR
 public static final short TEXT_EXPR
 o COMMENT_EXPR
 public static final short COMMENT_EXPR
 o PI_EXPR
 public static final short PI_EXPR
 o WILDCARD_EXPR
 public static final short WILDCARD_EXPR

Methods

 o getNodeExprType
 public abstract short getNodeExprType()
Returns the type of this NodeExpr

Returns:
the type of this NodeExpr
 o matches
 public abstract boolean matches(Node node,
                                 Node context,
                                 ProcessorState ps) throws InvalidExprException
Determines if the given node is matched by this MatchExpr with respect to the given context node.

Parameters:
node - the node to determine a match for
context - the Node which represents the current context
ps - the current ProcessorState
Returns:
true if the given node is matched by this MatchExpr

All Packages  Class Hierarchy  This Package  Previous  Next  Index