public static class XMLTreeModel.XMLAdapterNode extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
org.w3c.dom.Node |
node |
Constructor and Description |
---|
XMLTreeModel.XMLAdapterNode(org.w3c.dom.Node node)
Creates a new instance of the XMLAdapterNode class
|
Modifier and Type | Method and Description |
---|---|
XMLTreeModel.XMLAdapterNode |
child(int index)
Returns an adapter node given a valid index found through
the method: public int index(XMLAdapterNode child)
|
int |
childCount()
Return the number of element children for this element/node
|
java.util.List<org.w3c.dom.Node> |
getChildren()
Return all children
|
int |
index(XMLTreeModel.XMLAdapterNode child)
Return index of child in this node.
|
java.lang.String |
toString() |
public org.w3c.dom.Node node
public XMLTreeModel.XMLAdapterNode(org.w3c.dom.Node node)
public java.util.List<org.w3c.dom.Node> getChildren()
public int index(XMLTreeModel.XMLAdapterNode child)
child
- The child to look forpublic XMLTreeModel.XMLAdapterNode child(int index)
index
- find this by calling index(XMLAdapterNode)public int childCount()
public java.lang.String toString()
toString
in class java.lang.Object