public class StringResult extends StreamResult
StreamResult that writes to a StringWriter. The resulting string can
be retrieved via toString().toString()FEATUREPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
StringResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns the written XML as a string.
|
getOutputStream, getSystemId, getWriter, setOutputStream, setSystemId, setSystemId, setWriter