Package | Description |
---|---|
org.dom4j |
Defines the XML Document Object Model in Java interfaces together with some helper classes.
|
org.dom4j.bean |
An implementation of the dom4j API which allows JavaBeans to be used to store and retrieve attribute values from Element.
|
org.dom4j.datatype |
An implementation of the dom4j API which supports the XML Schema Data Types specification.
|
org.dom4j.dom |
An implementation of the dom4j API which also supports the W3C object model.
|
org.dom4j.io |
Provides input and output via SAX and DOM together with writing dom4j objects to streams as XML text.
|
org.dom4j.swing |
A collection of adapters to allow easy integration with dom4j XML documents and Swing such as TreeModels and TableModels.
|
org.dom4j.tree |
Contains the default implementations of the dom4j Document Object Model together with some helpful base classes for those wishing to implement their own document object model.
|
org.dom4j.util |
A collection of utility classes for the dom4j API.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Document
Document defines an XML Document. |
interface |
Element
Element interface defines an XML element. |
Modifier and Type | Method and Description |
---|---|
void |
Branch.appendContent(Branch branch)
Appends the content of the given branch to this branch instance.
|
static Element |
DocumentHelper.makeElement(Branch source,
java.lang.String path)
makeElement
|
Constructor and Description |
---|
IllegalAddException(Branch parent,
Node node,
java.lang.String reason) |
Modifier and Type | Class and Description |
---|---|
class |
BeanElement
BeanElement uses a Java Bean to store its attributes. |
Modifier and Type | Class and Description |
---|---|
class |
DatatypeElement
DatatypeElement represents an Element which supports the XML Schema Data Types
specification. |
Modifier and Type | Class and Description |
---|---|
class |
DOMDocument
DOMDocument implements an XML document which supports the W3C
DOM API. |
class |
DOMElement
DOMElement implements an XML element which supports the W3C
DOM API. |
Modifier and Type | Method and Description |
---|---|
static void |
DOMNodeHelper.appendElementsByTagName(java.util.List<? super Element> list,
Branch parent,
java.lang.String name) |
static void |
DOMNodeHelper.appendElementsByTagNameNS(java.util.List<? super Element> list,
Branch parent,
java.lang.String namespace,
java.lang.String localName) |
Modifier and Type | Method and Description |
---|---|
protected void |
DOMReader.readElement(org.w3c.dom.Node node,
Branch current) |
protected void |
DOMReader.readTree(org.w3c.dom.Node node,
Branch current) |
void |
STAXEventWriter.writeChildNodes(Branch branch)
Writes each child node within the provided
Branch instance. |
protected void |
SAXWriter.writeContent(Branch branch,
NamespaceStack namespaceStack) |
Modifier and Type | Method and Description |
---|---|
protected Branch |
BranchTreeNode.getXmlBranch() |
Constructor and Description |
---|
BranchTreeNode(Branch xmlNode) |
BranchTreeNode(javax.swing.tree.TreeNode parent,
Branch xmlNode) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBranch
AbstractBranch is an abstract base class for tree implementors
to use for implementation inheritence. |
class |
AbstractDocument
AbstractDocument is an abstract base class for tree
implementors to use for implementation inheritence. |
class |
AbstractElement
AbstractElement is an abstract base class for tree
implementors to use for implementation inheritence. |
class |
BaseElement
BaseElement is a useful base class for implemementation
inheritence of an XML element. |
class |
DefaultDocument
DefaultDocument is the default DOM4J default implementation of
an XML document. |
class |
DefaultElement
DefaultElement is the default DOM4J default implementation of
an XML element. |
Modifier and Type | Field and Description |
---|---|
private Branch |
BaseElement.parentBranch
Stores the parent branch of this node which is either a Document if this
element is the root element in a document, or another Element if it is a
child of the root document, or null if it has not been added to a
document yet.
|
private Branch |
DefaultElement.parentBranch
Stores the parent branch of this node which is either a Document if this
element is the root element in a document, or another Element if it is a
child of the root document, or null if it has not been added to a
document yet.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractBranch.appendContent(Branch branch) |
Modifier and Type | Class and Description |
---|---|
class |
IndexedElement
IndexedElement is an implementation of Element which
maintains an index of the attributes and elements it contains to optimise
lookups via name. |
class |
NonLazyElement
NonLazyElement is the default DOM4J default implementation of
an XML element. |
class |
UserDataElement
UserDataElement support the adornment of a user data object on
an Element or Attribute instance such that the methods
UserDataElement.setData(Object) will get and set the values of a user data object. |
Modifier and Type | Method and Description |
---|---|
int |
NodeComparator.compareContent(Branch b1,
Branch b2) |