Package | Description |
---|---|
org.dom4j |
Defines the XML Document Object Model in Java interfaces together
with some helper classes.
|
org.dom4j.rule | |
org.dom4j.rule.pattern | |
org.dom4j.tree |
Contains the default implementations of the dom4j Document Object Model
together with some helpful base classes for those wishing to
implement their own document object model.
|
org.dom4j.util |
A collection of utility classes for the dom4j API.
|
org.dom4j.xpath |
Provides the core tools needed to use the XPath library
|
Modifier and Type | Method and Description |
---|---|
static Pattern |
DocumentHelper.createPattern(String xpathPattern)
createPattern parses the given XPath expression to create
an XSLT style Pattern instance which can then be used in an XSLT
processing model. |
Pattern |
DocumentFactory.createPattern(String xpathPattern)
createPattern parses the given XPath expression to create
an XSLT style Pattern instance which can then be used in an XSLT
processing model. |
Modifier and Type | Method and Description |
---|---|
Pattern |
Rule.getPattern()
Getter for property pattern.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RuleManager.addDefaultRule(Mode mode,
Pattern pattern,
Action action) |
protected Rule |
RuleManager.createDefaultRule(Pattern pattern,
Action action) |
void |
Rule.setPattern(Pattern pattern)
Setter for property pattern.
|
Constructor and Description |
---|
Rule(Pattern pattern) |
Rule(Pattern pattern,
Action action) |
Rule(Rule that,
Pattern pattern)
Constructs a new Rule with the same instance data as the given rule but a
different pattern.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultPattern
DefaultPattern a default implementation of Pattern which can
take any XPath implementation or NodeFilter for defining the pattern. |
class |
NodeTypePattern
NodeTypePattern implements a Pattern which matches any node of
the given node type. |
Modifier and Type | Method and Description |
---|---|
Pattern[] |
NodeTypePattern.getUnionPatterns() |
Pattern[] |
DefaultPattern.getUnionPatterns() |
Modifier and Type | Method and Description |
---|---|
Pattern |
AbstractNode.createPattern(String patternText) |
Modifier and Type | Method and Description |
---|---|
Pattern |
ProxyDocumentFactory.createPattern(String xpathPattern) |
Modifier and Type | Class and Description |
---|---|
class |
XPathPattern
XPathPattern is an implementation of Pattern which uses an
XPath xpath. |
Modifier and Type | Method and Description |
---|---|
Pattern[] |
XPathPattern.getUnionPatterns() |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.