Class XNodeSet

All Implemented Interfaces:
Serializable, Cloneable, SourceLocator, DTMIterator, PathComponent, ExpressionNode, XPathVisitable
Direct Known Subclasses:
XNodeSetForDOM, XNull

public class XNodeSet
extends NodeSequence
This class represents an XPath nodeset object, and is capable of converting the nodeset to other types, such as a string.
See Also:
Serialized Form
  • Constructor Details

    • XNodeSet

      protected XNodeSet()
      Default constructor for derived objects.
    • XNodeSet

      public XNodeSet​(DTMIterator val)
      Construct a XNodeSet object.
      Parameters:
      val - Value of the XNodeSet object
    • XNodeSet

      public XNodeSet​(XNodeSet val)
      Construct a XNodeSet object.
      Parameters:
      val - Value of the XNodeSet object
    • XNodeSet

      public XNodeSet​(DTMManager dtmMgr)
      Construct an empty XNodeSet object. This is used to create a mutable nodeset to which random nodes may be added.
    • XNodeSet

      public XNodeSet​(int n, DTMManager dtmMgr)
      Construct a XNodeSet object for one node.
      Parameters:
      n - Node to add to the new XNodeSet object
  • Method Details