|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.icl.saxon.pattern.Pattern | +--com.icl.saxon.pattern.LocationPathPattern | +--com.icl.saxon.pattern.FirstElementPattern
FirstElementPattern is a specialisation of LocationPathPattern to handle the common case of a pattern with a single qualifier, the constant integer [1].
Fields inherited from class com.icl.saxon.pattern.LocationPathPattern |
ancestorPattern, extent, filters, nodeTest, parentPattern |
Fields inherited from class com.icl.saxon.pattern.Pattern |
originalText, staticContext |
Constructor Summary | |
FirstElementPattern()
|
Method Summary | |
protected boolean |
testFilters(NodeInfo node,
Context c)
This testFilters() method simply tests whether the node is the first element matching the name test |
Methods inherited from class com.icl.saxon.pattern.LocationPathPattern |
addFilter, getFingerprint, getNodeType, isRelative, matches, matchesX, simplify |
Methods inherited from class com.icl.saxon.pattern.Pattern |
getDefaultPriority, getLineNumber, getStaticContext, getSystemId, make, setOriginalText, setStaticContext, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FirstElementPattern()
Method Detail |
protected boolean testFilters(NodeInfo node, Context c) throws org.xml.sax.SAXException
testFilters
in class LocationPathPattern
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |