net.sf.saxon.pattern

Class IdrefTest

public class IdrefTest extends Object implements PatternFinder, 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

Method Summary
static IdrefTestgetInstance()
Get the singleton instance of this class
SequenceIteratorselectNodes(DocumentInfo doc, XPathContext context)
Select nodes in a document using this PatternFinder.
StringtoString()

Method Detail

getInstance

public static IdrefTest getInstance()
Get the singleton instance of this class

selectNodes

public SequenceIterator selectNodes(DocumentInfo doc, XPathContext context)
Select nodes in a document using this PatternFinder.

Parameters: doc the document node at the root of a tree context the dynamic evaluation context

Returns: an iterator over the selected nodes in the document.

toString

public String toString()