Package net.sf.saxon.pattern
Class IdrefTest
- java.lang.Object
-
- net.sf.saxon.pattern.IdrefTest
-
- All Implemented Interfaces:
java.io.Serializable,PatternFinder
public class IdrefTest extends java.lang.Object implements PatternFinder, java.io.Serializable
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:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdrefTestgetInstance()Get the singleton instance of this classSequenceIteratorselectNodes(DocumentInfo doc, XPathContext context)Select nodes in a document using this PatternFinder.java.lang.StringtoString()
-
-
-
Method Detail
-
getInstance
public static IdrefTest getInstance()
Get the singleton instance of this class
-
selectNodes
public SequenceIterator selectNodes(DocumentInfo doc, XPathContext context) throws XPathException
Select nodes in a document using this PatternFinder.- Specified by:
selectNodesin 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
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-