public static class XmlExtensions.XmlMode extends java.lang.Object
Constructor and Description |
---|
XmlExtensions.XmlMode() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEncoding() |
java.lang.String |
getIndent() |
boolean |
isIndent() |
boolean |
isText() |
boolean |
isXml() |
void |
setEncoding(java.nio.charset.Charset encoding)
Sets the encoding to the given encoding.
|
void |
setIndent(java.lang.String sIndent)
Sets the indent for wrapping.
|
void |
setText() |
void |
setXmlASCII()
Sets the encoding to US-ASCII.
|
void |
setXmlIso8859()
Sets the encoding to ISO-8849-1.
|
void |
setXmlUTF8()
Sets the encoding to UTF8.
|
public XmlExtensions.XmlMode()
public java.lang.String getEncoding()
public java.lang.String getIndent()
public boolean isIndent()
public boolean isText()
public boolean isXml()
public void setEncoding(java.nio.charset.Charset encoding)
public void setIndent(java.lang.String sIndent)
sIndent
- null if no wrapping, "" if wrapping without indent.public void setText()
public void setXmlASCII()
public void setXmlIso8859()
public void setXmlUTF8()