Frames | No Frames |
Methods with parameter type org.dom4j.Element | |
void | Add all the attributes to the given elements
|
void | Add all namespaces declared before the startElement() SAX event to the
current element so that they are available to child elements and
attributes
|
void | DOMWriter.appendDOMTree(org.w3c.dom.Document domDocument, org.w3c.dom.Node domCurrent, Element element) |
Attribute | Constructs a new DOM4J Attribute from the provided StAX Attribute event. |
Attributes | |
EndElement | Constructs a STAX EndElement event from a DOM4J Element . |
StartElement | Constructs a STAX StartElement event from a DOM4J Element . |
void | |
boolean | Determines if element is a special case of XML elements where it contains
an xml:space attribute of "preserve". |
Element | Called by an event based processor when an elements closing tag is
encountered. |
void | |
AttributesImpl | Fires a SAX startPrefixMapping event for all the namespaceStack which
have just come into scope
|
void | Generates SAX events for the given Element and all its content
|
void | |
void | |
void | Writes the attributes of the given element
|
void |
Writes the closing tag of an Element
|
void |
Writes the closing tag of an Element
|
void | This override handles any elements that should not remove whitespace,
such as <PRE>, <SCRIPT>, <STYLE>, and <TEXTAREA>. |
void | Writes a DOM4J Element node and its children to the stream. |
void | |
void | Outputs the content of the given element. |
void | |
void |
Methods with return type org.dom4j.Element | |
Element | STAXEventReader.createElement(StartElement startEvent) Constructs a new DOM4J Element from the provided StartElement event. |
Element | Called by an event based processor when an elements closing tag is
encountered. |
Element | STAXEventReader.readElement(XMLEventReader eventReader) Reads a DOM4J Element from the provided event stream. |
Classes implementing org.dom4j.Element | |
class | IndexedElement is an implementation of Element which
maintains an index of the attributes and elements it contains to optimise
lookups via name. |
class | NonLazyElement is the default DOM4J default implementation of
an XML element. |
class | UserDataElement support the adornment of a user data object on
an Element or Attribute instance such that the methods
setData(Object) will get and set the values of a user data object. |
Constructors with parameter type org.dom4j.Element | |
Methods with parameter type org.dom4j.Element | |
void | Adds the given parse exception information to the given element instance
|
void | |
void | |
boolean | |
boolean | |
int | |
Attribute | |
Attribute | |
Attribute | |
Document | |
void | |
void | |
void |
Methods with return type org.dom4j.Element | |
Element | IndexedElement.asElement(Object object) |
Element | ProxyDocumentFactory.createElement(String name) |
Element | UserDataElement.createElement(String name) |
Element | |
Element | |
Element | |
Element | |
Element | |
Element | |
Element | IndexedElement.element(String name) |
Element | |
Element |
Classes implementing org.dom4j.Element | |
class | DatatypeElement represents an Element which supports the XML Schema Data Types
specification. |
Methods with parameter type org.dom4j.Element | |
Attribute | |
Attribute | |
void | setParent sets the parent relationship of this node if the
parent relationship is supported or does nothing if the parent
relationship is not supported. |
Methods with return type org.dom4j.Element | |
Element | DatatypeElement.addText(String text) |
Element | |
Element | getParent returns the parent Element if
this node supports the parent relationship or null if it is the root
element or does not support the parent relationship. |
Methods with parameter type org.dom4j.Element | |
void |
Constructors with parameter type org.dom4j.Element | |
Methods with parameter type org.dom4j.Element | |
void | Adds the given Element to this branch. |
void | Appends the attributes of the given element to me. |
Node | asXPathResult returns a version of this node which is
capable of being an XPath result. |
Attribute | |
Attribute | |
Attribute | |
Attribute | |
Document | |
Document | |
Node | |
String | Returns the relative XPath expression which will return a node set
containing the given node such as a/b/@c. |
String | Returns the relative XPath expression which will return a node set
containing the given node such as a/b/@c. |
String |
Returns the relative unique XPath expression from the given context which
will return a nodeset of one node which is the current node. |
String |
Returns the relative unique XPath expression from the given context which
will return a nodeset of one node which is the current node. |
boolean | Removes the given Element if the node is an immediate
child of this branch. |
void | setParent sets the parent relationship of this node if the
parent relationship is supported or does nothing if the parent
relationship is not supported. |
void | Sets the root element for this document
|
void |
Visits the given Element
|
void |
Methods with return type org.dom4j.Element | |
Element | Element.addAttribute(String name, String value)
Adds the attribute value of the given local name. |
Element |
Adds the attribute value of the given fully qualified name. |
Element | Adds a new CDATA node with the given text to this element. |
Element | Element.addComment(String comment) Adds a new Comment node with the given text to this
element. |
Element | Branch.addElement(String name) Adds a new Element node with the given name to this branch
and returns a reference to the new node. |
Element | Branch.addElement(String qualifiedName, String namespaceURI) Adds a new Element node with the given qualified name and
namespace URI to this branch and returns a reference to the new node. |
Element | Adds a new Element node with the given QName to
this branch and returns a reference to the new node. |
Element | Adds a new Entity node with the given name and text to
this element and returns a reference to the new node. |
Element | Element.addNamespace(String prefix, String uri) Adds a namespace to this element for use by its child content
|
Element | Element.addProcessingInstruction(String target, Map data) Adds a processing instruction for the given target
|
Element | Element.addProcessingInstruction(String target, String text) Adds a processing instruction for the given target
|
Element | Adds a new Text node with the given text to this element. |
Element |
Creates a deep copy of this element The new element is detached from its
parent, and getParent() on the clone will return null. |
Element | Element.createCopy(String name)
Creates a deep copy of this element with the given local name The new
element is detached from its parent, and getParent() on the clone will
return null. |
Element |
Creates a deep copy of this element with the given fully qualified name. |
Element | DocumentFactory.createElement(String name) |
Element | DocumentHelper.createElement(String name) |
Element | DocumentFactory.createElement(String qualifiedName, String namespaceURI) |
Element | |
Element | |
Element | Returns the first element for the given local name and any namespace. |
Element | Returns the first element for the given fully qualified name. |
Element | Branch.elementByID(String elementID) Returns the element of the given ID attribute value. |
Element | DOCUMENT ME!
|
Element | ElementPath.getElement(int depth) DOCUMENT ME!
|
Element | getParent returns the parent Element if
this node supports the parent relationship or null if it is the root
element or does not support the parent relationship. |
Element | Returns the root Element for this document. |
Element |
makeElement
a helper method which navigates from the given Document or Element node
to some Element using the path expression, creating any necessary
elements along the way. |