public class SimpleXmlSarWriter extends AbstractSarWriter
indent, nullRepresentation, stack
Constructor and Description |
---|
SimpleXmlSarWriter(OutputStream out)
See OutputStream.
|
Modifier and Type | Method and Description |
---|---|
String |
escape(char c)
Escape algorithm per character.
|
String |
writeColumn(String column,
String label,
String comment,
String value)
Output the column element.
|
String |
writeRoot(String inner)
Write root element.
|
String |
writeTable(String table,
String label,
String comment,
String columns,
String children)
Output the table element.
|
clear, close, escape, escapeJson, escapeXml, flush, id, indentBlock, init, pop, push, setIndentation, setNullRepresentation, toString, wrapColumns, wrapInner, wrapTables, write
getEncoding, write, write, write
public SimpleXmlSarWriter(OutputStream out)
out
- OutputStreampublic String writeColumn(String column, String label, String comment, String value)
ISarWriter
column
- namelabel
- optional infocomment
- optional infovalue
- valuepublic String writeTable(String table, String label, String comment, String columns, String children)
ISarWriter
table
- namelabel
- optional infocomment
- optional infocolumns
- columnschildren
- children datapublic String writeRoot(String inner)
ISarWriter
inner
- stringpublic String escape(char c)
ISarWriter
escape
in interface ISarWriter
escape
in class AbstractSarWriter
c
- charCopyright © 2021. All rights reserved.