|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object XMLOutputter com.isti.util.IstiXMLOutputter
Class IstiXMLOutputter extends the 'XMLOutputter' class to add additional functionality.
Field Summary | |
static java.lang.String |
DEFAULT_ENCODING_FORMAT
Default encoding. |
Constructor Summary | |
IstiXMLOutputter()
This will create an XMLOutputter with no additional
whitespace (indent or newlines) added; the whitespace from the
element text content is fully preserved. |
|
IstiXMLOutputter(java.lang.String encoding)
This will create an XMLOutputter with no additional
whitespace (indent or newlines) added; the whitespace from the
element text content is fully preserved. |
Method Summary | |
java.lang.String |
getEncodedString(java.lang.String s)
Gets the encoded string using the current encoding. |
void |
setEncoding(java.lang.String encoding)
Sets the output encoding. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_ENCODING_FORMAT
Constructor Detail |
public IstiXMLOutputter()
XMLOutputter
with no additional
whitespace (indent or newlines) added; the whitespace from the
element text content is fully preserved.
public IstiXMLOutputter(java.lang.String encoding)
XMLOutputter
with no additional
whitespace (indent or newlines) added; the whitespace from the
element text content is fully preserved.
encoding
- set encoding format. Use XML-style names like
"UTF-8" or "ISO-8859-1" or "US-ASCII"
(see setEncoding(java.lang.String)
).Method Detail |
public java.lang.String getEncodedString(java.lang.String s)
s
- the string to encode.
setEncoding(java.lang.String)
).public void setEncoding(java.lang.String encoding)
encoding
- the encoding format. Use XML-style names like
"UTF-8" or "ISO-8859-1" or "US-ASCII"
(see #makeWriter
).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |