|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Pattern
Pattern
defines the behaviour for pattern in the XSLT
processing model.
Field Summary | |
---|---|
static short |
ANY_NODE
Matches any node |
static double |
DEFAULT_PRIORITY
According to the spec we should return 0.5 if we cannot determine the priority |
static short |
NONE
Matches no nodes |
static short |
NUMBER_OF_TYPES
Count of the number of node types |
Method Summary | |
---|---|
java.lang.String |
getMatchesNodeName()
For patterns which only match an ATTRIBUTE_NODE or an ELEMENT_NODE then this pattern may return the name of the element or attribute it matches. |
short |
getMatchType()
DOCUMENT ME! |
double |
getPriority()
Returns the default resolution policy of the pattern according to the XSLT conflict resolution spec . |
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. |
boolean |
matches(Node node)
DOCUMENT ME! |
Field Detail |
---|
static final short ANY_NODE
static final short NONE
static final short NUMBER_OF_TYPES
static final double DEFAULT_PRIORITY
Method Detail |
---|
boolean matches(Node node)
matches
in interface NodeFilter
node
- DOCUMENT ME!
double getPriority()
Pattern[] getUnionPatterns()
short getMatchType()
java.lang.String getMatchesNodeName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |