Uses of Class
com.jamesmurty.utils.XMLBuilder
Packages that use XMLBuilder
-
Uses of XMLBuilder in com.jamesmurty.utils
Methods in com.jamesmurty.utils that return XMLBuilderModifier and TypeMethodDescriptionSynonym forattribute(String, String)
.Synonym forattribute(String, String)
.Add a named attribute value to the element represented by this builder node, and return the node representing the element to which the attribute was added (not the new attribute node).Synonym forcomment(String)
.XMLBuilder.cdata
(byte[] data) Add a CDATA value to the element represented by this builder node, and return the node representing the element to which the data was added (not the new CDATA node).Synonym forcomment(String)
.Add a comment to the element represented by this builder node, and return the node representing the element to which the comment was added (not the new comment node).static XMLBuilder
Construct a builder for new XML document.XMLBuilder.d
(byte[] data) Synonym forinvalid reference
#cdata(String)
XMLBuilder.data
(byte[] data) Synonym forinvalid reference
#cdata(String)
Synonym forelement(String)
.Synonym forelement(String)
.Add a named XML element to the document as a child of this builder node, and return the builder node representing the new child.Synonym forinstruction(String, String)
.XMLBuilder.importXMLBuilder
(XMLBuilder builder) Imports another XMLBuilder document into this document at the current position.Synonym forinstruction(String, String)
.XMLBuilder.instruction
(String target, String data) Add an instruction to the element represented by this builder node, and return the node representing the element to which the instruction was added (not the new instruction node).static XMLBuilder
XMLBuilder.parse
(InputSource inputSource) Construct a builder from an existing XML document.Synonym forreference(String)
.Synonym forreference(String)
.Add a reference to the element represented by this builder node, and return the node representing the element to which the reference was added (not the new reference node).XMLBuilder.root()
Synonmy fortext(String)
.Add a text value to the element represented by this builder node, and return the node representing the element to which the text was added (not the new text node).XMLBuilder.up()
Return the builder node representing the parent of the current node.XMLBuilder.up
(int steps) Return the builder node representing the nth ancestor element of this node, or the root node if n exceeds the document's depth.Find the first element in the builder's DOM matching the given XPath expression.Methods in com.jamesmurty.utils with parameters of type XMLBuilderModifier and TypeMethodDescriptionXMLBuilder.importXMLBuilder
(XMLBuilder builder) Imports another XMLBuilder document into this document at the current position.