Package net.sf.saxon.pattern
Class IdrefTest
java.lang.Object
net.sf.saxon.pattern.IdrefTest
- All Implemented Interfaces:
Serializable
,PatternFinder
IdrefTest is a test that cannot be represented directly in XPath or
XSLT patterns, but which is used internally for matching IDREF nodes: it tests
whether the node has the is-idref property
- Author:
- Michael H. Kay
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic IdrefTest
Get the singleton instance of this classselectNodes
(DocumentInfo doc, XPathContext context) Select nodes in a document using this PatternFinder.toString()
-
Method Details
-
getInstance
Get the singleton instance of this class -
selectNodes
Select nodes in a document using this PatternFinder.- Specified by:
selectNodes
in interfacePatternFinder
- Parameters:
doc
- the document node at the root of a treecontext
- the dynamic evaluation context- Returns:
- an iterator over the selected nodes in the document.
- Throws:
XPathException
-
toString
-