Package org.frankframework.util
Class XmlBuilder
java.lang.Object
org.frankframework.util.XmlBuilder
Deprecated.
Builds a XML-element with attributes and sub-elements. Attributes can be
added with the addAttribute method, the content can be set with the setValue
method. Subelements can be added with the addSubElement method. the toXML
function returns the node and subnodes as an indented xml string.
- Author:
- Johan Verrips, Peter Leeuwenburgh
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(String name, boolean value) Deprecated.void
addAttribute
(String name, long value) Deprecated.void
addAttribute
(String name, String value) Deprecated.void
addSubElement
(String name, String value) Deprecated.void
addSubElement
(XmlBuilder newElement) Deprecated.static XmlBuilder
Deprecated.void
setCdataValue
(String value) Deprecated.void
Deprecated.void
Deprecated.toString()
Deprecated.toXML()
Deprecated.toXML
(boolean xmlHeader) Deprecated.void
toXML
(ContentHandler handler) Deprecated.void
toXML
(ContentHandler handler, boolean asDocument) Deprecated.
-
Field Details
-
log
protected org.apache.logging.log4j.Logger logDeprecated.
-
-
Constructor Details
-
XmlBuilder
Deprecated.
-
-
Method Details
-
create
Deprecated. -
addAttribute
Deprecated. -
addAttribute
Deprecated. -
addAttribute
Deprecated. -
addSubElement
Deprecated. -
addSubElement
Deprecated. -
setCdataValue
Deprecated. -
setValue
Deprecated. -
setValue
Deprecated. -
toXML
Deprecated. -
toXML
Deprecated. -
toXML
Deprecated.- Throws:
SAXException
IOException
-
toXML
Deprecated.- Throws:
SAXException
IOException
-
toString
Deprecated.
-
SaxDocumentBuilder
orIDocumentBuilder
(fromDocumentBuilderFactory
)