public final class: XmlEntry
Represents the data for a single node in the XmlTree. This class (known as a
"user object" from the JTree perspective) provides a way to get information
about the node by essentially wrapping the XmlObject instance that the node
represents. The XmlModel
class represents the XML data model to the
tree by calling methods of this object.
public XmlEntry(XmlObject xml)
Constructs a entry using xml as the data source.
xml - The XML this entry will represent.
|Methods from java.lang.Object:|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait|
|Method from org.apache.xmlbeans.samples.xmltree.XmlEntry Detail:|
public XmlEntry getChild(int index)
Gets the child at index from among the children of the XML
this entry represents.
public int getChildCount()
Gets the number of children of the XML this entry represents.
public XmlEntry getChildren()
Gets the children of the XML this entry represents.
public XmlObject getXml()
Gets the XML that this instance represents.
public String toString()
Returns a name that can be used as a tree node label.