org.restlet.ext.xml
Class NodeSet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<Node>
          extended by org.restlet.ext.xml.NodeSet
All Implemented Interfaces:
Iterable<Node>, Collection<Node>, List<Node>, NodeList

Deprecated. Use NodeList instead.

@Deprecated
public class NodeSet
extends AbstractList<Node>
implements NodeList

DOM nodes set that implements the standard List interface for easier iteration.

Author:
Jerome Louvel

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
NodeSet(NodeList nodes)
          Deprecated. Constructor.
 
Method Summary
 Node get(int index)
          Deprecated.  
 int getLength()
          Deprecated. 
 Node item(int index)
          Deprecated. 
 int size()
          Deprecated.  
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

NodeSet

public NodeSet(NodeList nodes)
Deprecated. 
Constructor.

Parameters:
nodes - The node list to wrap.
Method Detail

get

public Node get(int index)
Deprecated. 
Specified by:
get in interface List<Node>
Specified by:
get in class AbstractList<Node>

getLength

public int getLength()
Deprecated. 

Specified by:
getLength in interface NodeList

item

public Node item(int index)
Deprecated. 

Specified by:
item in interface NodeList

size

public int size()
Deprecated. 
Specified by:
size in interface Collection<Node>
Specified by:
size in interface List<Node>
Specified by:
size in class AbstractCollection<Node>


Copyright © 2005-2011 Noelios Technologies.