| 
 | |||||||||
| 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, nameTest, nodeType, parentPattern | 
| Fields inherited from class com.icl.saxon.pattern.Pattern | 
| 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 | 
|  java.lang.String | toString()Return the pattern as a string | 
| Methods inherited from class com.icl.saxon.pattern.LocationPathPattern | 
| addFilter, getName, getNameTest, getType, isRelative, matches, matchesX, simplify | 
| Methods inherited from class com.icl.saxon.pattern.Pattern | 
| getDefaultPriority, getStaticContext, make, make, setStaticContext | 
| 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 LocationPathPatternpublic java.lang.String toString()
LocationPathPatterntoString in class LocationPathPattern| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||