public abstract class AbstractWriter extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractWriter(String xmlTag,
String kvnTag)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
intArrayToString(int[] integers)
Convert an array of integer to a comma-separated list.
|
void |
write(Generator generator)
Write the section, including surrounding tags.
|
protected abstract void |
writeContent(Generator generator)
Write the content of the section, excluding surrounding tags.
|
public void write(Generator generator) throws IOException
generator - generator to use for producing outputIOException - if any buffer writing operations failsprotected abstract void writeContent(Generator generator) throws IOException
generator - generator to use for producing outputIOException - if any buffer writing operations failsprotected String intArrayToString(int[] integers)
integers - integers to writeCopyright © 2002-2022 CS GROUP. All rights reserved.