Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.xmlbeans.impl.store
Class DomImpl.ElementsNodeList  view DomImpl.ElementsNodeList download DomImpl.ElementsNodeList.java

java.lang.Object
  extended byorg.apache.xmlbeans.impl.store.DomImpl.ElementsNodeList
All Implemented Interfaces:
org.w3c.dom.NodeList
Direct Known Subclasses:
DomImpl.ElementsByTagNameNodeList, DomImpl.ElementsByTagNameNSNodeList
Enclosing class:
DomImpl

private abstract static class DomImpl.ElementsNodeList
extends java.lang.Object
implements org.w3c.dom.NodeList


Field Summary
private  java.util.ArrayList _elements
           
private  Locale _locale
           
private  DomImpl.Dom _root
           
private  long _version
           
 
Constructor Summary
(package private) DomImpl.ElementsNodeList(DomImpl.Dom root)
           
 
Method Summary
private  void addElements(DomImpl.Dom node)
           
private  void ensureElements()
           
 int getLength()
          The number of nodes in the list.
 org.w3c.dom.Node item(int i)
          Returns the indexth item in the collection.
protected abstract  boolean match(DomImpl.Dom element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_root

private DomImpl.Dom _root

_locale

private Locale _locale

_version

private long _version

_elements

private java.util.ArrayList _elements
Constructor Detail

DomImpl.ElementsNodeList

DomImpl.ElementsNodeList(DomImpl.Dom root)
Method Detail

getLength

public int getLength()
Description copied from interface: org.w3c.dom.NodeList
The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.

Specified by:
getLength in interface org.w3c.dom.NodeList

item

public org.w3c.dom.Node item(int i)
Description copied from interface: org.w3c.dom.NodeList
Returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.

Specified by:
item in interface org.w3c.dom.NodeList

ensureElements

private void ensureElements()

addElements

private void addElements(DomImpl.Dom node)

match

protected abstract boolean match(DomImpl.Dom element)