jd.xml.xpath.object
Class XNodeSetFactory

java.lang.Object
  extended byjd.xml.xpath.object.XNodeSetFactory

public abstract class XNodeSetFactory
extends Object

A factory class for node-sets.


Constructor Summary
XNodeSetFactory()
           
 
Method Summary
static XMutableNodeSet create(int nodeSetOrdering)
          Factory method to create a XMutableNodeSet best suited for the requested ordering.
static XMutableNodeSet create(int nodeSetOrdering, int maxSize)
          Factory method to create a XMutableNodeSet best suited for the requested ordering and capacity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XNodeSetFactory

public XNodeSetFactory()
Method Detail

create

public static XMutableNodeSet create(int nodeSetOrdering,
                                     int maxSize)
Factory method to create a XMutableNodeSet best suited for the requested ordering and capacity.

Parameters:
nodeSetOrdering - the requested ordering of the nodeset
maxSize - the maximum size of the nodeset

create

public static XMutableNodeSet create(int nodeSetOrdering)
Factory method to create a XMutableNodeSet best suited for the requested ordering.