Package | Description |
---|---|
org.jaxen.pattern |
Defines XSLT Pattern objects.
|
Modifier and Type | Class and Description |
---|---|
class |
AnyChildNodeTest
AnyChildNodeTest matches any child node. |
class |
AnyNodeTest
AnyNodeTest matches any node. |
class |
LocationPathPattern
LocationPathPattern matches any node using a
location path such as A/B/C. |
class |
NamespaceTest
NamespaceTest tests for a given namespace URI. |
class |
NameTest
NameTest tests for a node name. |
class |
NodeTest
NodeTest is a simple test on a node. |
class |
NodeTypeTest
NodeTypeTest matches if the node is of a certain type
such as element, attribute, comment, text, processing instruction and so forth. |
class |
NoNodeTest
NoNodeTest matches no nodes. |
class |
TextNodeTest
TextNodeTest matches any text node. |
class |
UnionPattern
UnionPattern represents a union pattern. |
Modifier and Type | Field and Description |
---|---|
private Pattern |
LocationPathPattern.ancestorPattern
Patterns matching one of my ancestors
|
private Pattern |
UnionPattern.lhs |
private Pattern |
LocationPathPattern.parentPattern
Patterns matching my parent node
|
private Pattern |
PatternHandler.pattern |
private Pattern |
UnionPattern.rhs |
Modifier and Type | Method and Description |
---|---|
protected static Pattern |
PatternParser.convertExpr(Expr expr) |
protected Pattern |
PatternHandler.createAbsoluteLocationPath() |
protected Pattern |
PatternHandler.createRelativeLocationPath() |
Pattern |
UnionPattern.getLHS() |
Pattern |
PatternHandler.getPattern()
Retrieve the simplified Jaxen Pattern expression tree.
|
Pattern |
PatternHandler.getPattern(boolean shouldSimplify)
Retrieve the Jaxen Pattern expression tree, optionally
simplified.
|
Pattern |
UnionPattern.getRHS() |
Pattern[] |
Pattern.getUnionPatterns()
If this pattern is a union pattern then this
method should return an array of patterns which
describe the union pattern, which should contain more than one pattern.
|
Pattern[] |
UnionPattern.getUnionPatterns() |
static Pattern |
PatternParser.parse(java.lang.String text) |
Pattern |
LocationPathPattern.simplify() |
Pattern |
Pattern.simplify() |
Pattern |
UnionPattern.simplify() |
Modifier and Type | Method and Description |
---|---|
void |
LocationPathPattern.setAncestorPattern(Pattern ancestorPattern)
Adds a pattern for an ancestor of the current
context node used in this pattern.
|
void |
UnionPattern.setLHS(Pattern lhs) |
void |
LocationPathPattern.setParentPattern(Pattern parentPattern)
Adds a pattern for the parent of the current
context node used in this pattern.
|
void |
UnionPattern.setRHS(Pattern rhs) |
Constructor and Description |
---|
UnionPattern(Pattern lhs,
Pattern rhs) |