|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.xsl.pattern.RelativePathPattern
com.novell.xsl.pattern.AbsolutePathPattern
Implements part of the XSLT LocationPathPattern production.
| Field Summary |
| Fields inherited from class com.novell.xsl.pattern.RelativePathPattern |
axis, lhs, rhs |
| Fields inherited from interface com.novell.xsl.pattern.Pattern |
ANY_TARGET, ATTRIBUTE_NAMED_TARGET, ATTRIBUTE_WILDCARD_TARGET, COMMENT_TARGET, ELEMENT_NAMED_TARGET, ELEMENT_WILDCARD_TARGET, NAMESPACE_TARGET, PI_TARGET, ROOT_TARGET, TEXT_TARGET |
| Constructor Summary | |
AbsolutePathPattern()
Construct an AbsolutePathPattern that corresponds to the following: LocationPathPattern ::= '/' |
|
AbsolutePathPattern(RelativePathPattern pattern)
Construct an AbsolutePathPattern that corresponds to: LocationPathPattern ::= '/' RelativeLocationPath |
|
| Method Summary | |
double |
getDefaultPriority()
Return the default priority for this pattern. |
int |
getTarget()
Return the target type of this Pattern. |
ExpandedQName |
getTargetName()
Return the name of the patterns target, if there is a target name. |
protected Node |
performMatch(Node node,
ExpressionContext context)
Perform the match semantics on the passed node. |
String |
toString()
Provide a readable description for debugging. |
| Methods inherited from class com.novell.xsl.pattern.RelativePathPattern |
dump, match |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.novell.xsl.pattern.Pattern |
dump, match |
| Constructor Detail |
public AbsolutePathPattern()
public AbsolutePathPattern(RelativePathPattern pattern)
pattern - The RelativeLocationPath after the '/'| Method Detail |
public String toString()
toString in class RelativePathPattern
protected Node performMatch(Node node,
ExpressionContext context)
throws XPathEvaluationException
performMatch in class RelativePathPatternnode - The node to match.context - The expression context for matching.
must be a child of the root
XPathEvaluationExceptionpublic double getDefaultPriority()
getDefaultPriority in interface PatterngetDefaultPriority in class RelativePathPatternpublic int getTarget()
getTarget in interface PatterngetTarget in class RelativePathPatternpublic ExpandedQName getTargetName()
getTargetName in interface PatterngetTargetName in class RelativePathPattern
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||