SaxDocumentBuilder
or IDocumentBuilder
(from DocumentBuilderFactory
)@Deprecated public class XmlBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.logging.log4j.Logger |
log
Deprecated.
|
Constructor and Description |
---|
XmlBuilder(String tagName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
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 |
create(String tagName)
Deprecated.
|
void |
setCdataValue(String value)
Deprecated.
|
void |
setValue(String value)
Deprecated.
|
void |
setValue(String value,
boolean encode)
Deprecated.
|
String |
toString()
Deprecated.
|
String |
toXML()
Deprecated.
|
String |
toXML(boolean xmlHeader)
Deprecated.
|
void |
toXML(ContentHandler handler)
Deprecated.
|
void |
toXML(ContentHandler handler,
boolean asDocument)
Deprecated.
|
public XmlBuilder(String tagName)
public static XmlBuilder create(String tagName)
public void addAttribute(String name, boolean value)
public void addAttribute(String name, long value)
public void addSubElement(XmlBuilder newElement)
public void setCdataValue(String value)
public void setValue(String value)
public void setValue(String value, boolean encode)
public String toXML()
public String toXML(boolean xmlHeader)
public void toXML(ContentHandler handler) throws SAXException, IOException
SAXException
IOException
public void toXML(ContentHandler handler, boolean asDocument) throws SAXException, IOException
SAXException
IOException
Copyright © 2023 Frank!Framework. All rights reserved.