Class OutputValueRendererXMLString
java.lang.Object
com.espertech.esper.common.internal.event.render.OutputValueRendererXMLString
- All Implemented Interfaces:
OutputValueRenderer
Renderer for a String-value into XML strings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(Object object, StringBuilder buf) Renders the value to the buffer.static void
xmlEncode
(String s, StringBuilder sb, boolean isEncodeSpecialChar) XML-Encode the passed string.
-
Constructor Details
-
OutputValueRendererXMLString
public OutputValueRendererXMLString()
-
-
Method Details
-
render
Description copied from interface:OutputValueRenderer
Renders the value to the buffer.- Specified by:
render
in interfaceOutputValueRenderer
- Parameters:
object
- to renderbuf
- buffer to populate
-
xmlEncode
XML-Encode the passed string.- Parameters:
s
- string to encodesb
- string buffer to populateisEncodeSpecialChar
- true for encoding of special characters below ' ', false for leaving special chars
-