|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nwoods.jgo.svg.DefaultList
A wrapper class for org.w3c.dom.NodeList. By implementing the interface DomList, this class allows the com.nwoods.jgo package to provide methods that manipulate org.w3c.dom.NodeList objects while not requiring the org.w3c.dom.NodeList class to be present in order to build com.nwoods.jgo. JGo applications that support serialization to and from SVG XML files require this class.
Constructor Summary | |
DefaultList(org.w3c.dom.NodeList nodeList)
Create a new DefaultList |
Method Summary | |
int |
getLength()
The number of nodes in the list. |
org.w3c.dom.NodeList |
getNodeList()
Return the org.w3c.dom.NodeList associated with this DefaultList |
DomNode |
item(int index)
Returns the indexth item in the collection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultList(org.w3c.dom.NodeList nodeList)
nodeList
- a org.w3c.dom.NodeList objectMethod Detail |
public org.w3c.dom.NodeList getNodeList()
public int getLength()
DomList
getLength
in interface DomList
public DomNode item(int index)
DomList
item
in interface DomList
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |