org.sblim.cimclient.internal.cimxml
private static class CimXmlSerializer.XmlWriter extends Object
Constructor Summary | |
---|---|
XmlWriter(OutputStream pOut, String pCharsetName)
Ctor.
|
Method Summary | |
---|---|
void | close()
Closes the stream
|
void | flush()
Flushes the buffer to the stream
|
void | write(String pText)
Writes text to the stream
|
void | writeValue(String pText)
Writes a XML value (either attribute or text node). |
Parameters: pOut The output stream the serialized document is written to pCharsetName The encoding the use for the output stream
Throws: IOException
Throws: IOException
Parameters: pText The text
Throws: IOException
char | result |
---|---|
< space | &#xnn; |
> ~ | unchanged (UTF-8) |
space | unchanged or   (First leading, last trailing and every other space are escaped) |
< | < |
> | > |
& | & |
" | " |
' | ' |
other | unchanged |
Parameters: pText The text
Throws: IOException