jd.xml.xpath.object
Class XEmptyNodeSet

java.lang.Object
  extended byjd.xml.xpath.object.XObject
      extended byjd.xml.xpath.object.XNodeSet
          extended byjd.xml.xpath.object.XEmptyNodeSet

public class XEmptyNodeSet
extends XNodeSet

An empty nodeset.


Field Summary
static XEmptyNodeSet INSTANCE
          The instance.
 
Fields inherited from class jd.xml.xpath.object.XNodeSet
ORDER_CONVERTIBLE, ORDER_COUNTED, ORDER_ORDERED, ORDER_SUMMARIZED, ORDER_UNORDERED
 
Fields inherited from class jd.xml.xpath.object.XObject
TYPE_BOOLEAN, TYPE_NODESET, TYPE_NUMBER, TYPE_STRING, TYPE_VARIABLE, TYPES
 
Method Summary
 boolean contains(String value)
          Return false.
 boolean contains(XPathNode node)
          Return false.
 XPathNode getNode(int index)
          Throw a XPathException.
 boolean isEmpty()
          Return true.
 int size()
          Return 0.
 Object toValue()
          Return this.
 
Methods inherited from class jd.xml.xpath.object.XNodeSet
canConvertTo, compare, compare, compare, compare, compare, compare, compare, getDocId, getNodeSum, getOrdering, getType, indexOf, isOrdered, isOrdered, setDocId, setMultiDocId, toBooleanValue, toNodeSet, toNumberValue, toNumberValue, toString, toStringValue, toStringValue, toValue
 
Methods inherited from class jd.xml.xpath.object.XObject
compare, equals, getTypeName, getTypeName, hashCode, toXObject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final XEmptyNodeSet INSTANCE
The instance.

Method Detail

toValue

public Object toValue()
Return this.

Overrides:
toValue in class XNodeSet

size

public int size()
Return 0.

Specified by:
size in class XNodeSet

isEmpty

public boolean isEmpty()
Return true.

Overrides:
isEmpty in class XNodeSet

getNode

public XPathNode getNode(int index)
Throw a XPathException.

Specified by:
getNode in class XNodeSet

contains

public boolean contains(XPathNode node)
Return false.

Overrides:
contains in class XNodeSet

contains

public boolean contains(String value)
Return false.

Overrides:
contains in class XNodeSet