| Home >> All >> org >> apache >> xmlbeans >> samples >> [ xmltree Javadoc ] |
org.apache.xmlbeans.samples.xmltree: Javadoc index of package org.apache.xmlbeans.samples.xmltree.
Package Samples:
org.apache.xmlbeans.samples.xmltree
Classes:
XmlTreeFrame: Provides a frame within which to display an instance of the XmlTree , along with a pane within which to display the XML corresponding to a node selected in the tree. The tree's data is managed by the XmlModel and XmlEntry classes, along with XmlTree. The XmlTreeFrame class is merely a container to show the tree in use.
XmlModel: Defines a data model for the XmlTree. Through the data model, the tree can retrieve information about the underlying hierarchical data, including the root of the hierarchy, children of specified nodes, and so on. This data model interacts with the underlying XML data through XmlEntry instances (known as "user objects" in the context of JTree data models). The XmlEntry class knows how to retrieve XML-specific hierarchical information as it is represented by the XmlObject XMLBeans type. In other words, from the tree's perspective, XmlEntry wraps XmlObject.
XmlTree: A tree view on XML, with nodes representing both elements and attributes. See XmlEntry and XmlModel for information on how information about the underlying XML is retrieved for use in the tree. Those classes use XMLBeans to provide a wrapper by which the tree exposes the underlying XML.
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.
XmlTreeTest: A class with which to test the XmlTree sample.
| Home | Contact Us | Privacy Policy | Terms of Service |