|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectPattern
NodeTestPattern
FastNodeTestPattern
class FastNodeTestPattern
Optimizes Saxon's NodeTestPattern adding the ability to directly use a NodeTest when selecting elements, rather than selecting all elements and then applying the test to them (the latter is slow on lazy trees).
| Constructor Summary | |
|---|---|
FastNodeTestPattern(NodeTest test)
|
|
| Method Summary | |
|---|---|
SequenceIterator |
selectNodes(DocumentInfo doc,
XPathContext context)
|
| Methods inherited from class NodeTestPattern |
|---|
getDefaultPriority, getFingerprint, getNodeKind, getNodeTest, matches, setNodeTest, toString |
| Methods inherited from class Pattern |
|---|
analyze, getColumnNumber, getDependencies, getExecutable, getHostLanguage, getLineNumber, getLocationProvider, getPublicId, getSystemId, internalMatches, iterateSubExpressions, make, makeSearchExpression, promote, replaceSubExpression, setExecutable, setLineNumber, setOriginalText, setSystemId, simplify |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FastNodeTestPattern(NodeTest test)
| Method Detail |
|---|
public SequenceIterator selectNodes(DocumentInfo doc,
XPathContext context)
throws XPathException
selectNodes in interface PatternFinderselectNodes in class PatternXPathException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||