|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
AnyChildNodePattern | An AnyChildNodePattern is the pattern node(), which matches any node except a root node, an attribute node, or a namespace node: in other words, any node that is the child of another node. |
AnyNodeTest | NodeTest is an interface that enables a test of whether a node has a particular name and type. |
IDPattern | An IDPattern is a pattern of the form id(literal) |
KeyPattern | A KeyPattern is a pattern of the form key(keyname, keyvalue) |
LocationPathPattern | A LocationPathPattern represents a path, e.g. |
NamespaceTest | NodeTest is an interface that enables a test of whether a node has a particular name and type. |
NameTest | NodeTest is an interface that enables a test of whether a node has a particular name and type. |
NodeTest | A NodeTest is a simple kind of pattern that enables a context-free test of whether a node has a particular name. |
NodeTypeTest | NodeTest is an interface that enables a test of whether a node has a particular name and type. |
NoNodeTest | NodeTest is an interface that enables a test of whether a node has a particular name and type. |
Pattern | A Pattern represents the result of parsing an XSLT pattern string. |
UnionPattern | A pattern formed as the union (or) of two other patterns |
This package provides classes associated with XSLT pattern handling.
The principal classes are:
Pattern:
This represents an XSLT Pattern. There is a static method Pattern.make() which is
used to construct a Pattern from a String (it is a factory method rather than a
constructor, because it typically returns some subclass of Pattern according
to the syntax supplied). Subclasses of Pattern represent different kinds of pattern
such as LocationPathPattern and IDKeyPattern. What they all have in common is a match()
method, which determines whether a given node matches the pattern.
Michael H. Kay
8 January 2001
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |