public class StringResult extends StreamResult
StreamResult
that writes to a StringWriter
. The resulting string can
be retrieved via toString()
.toString()
FEATURE
PI_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
Copyright © 2020 Pivotal Software. All rights reserved.