public abstract class Encoder extends Object
Modifier and Type | Method and Description |
---|---|
int |
getIndent() |
String |
getName() |
abstract void |
write(PrintWriter writer) |
protected void |
writeClosingTag(PrintWriter writer) |
protected void |
writeIndent(PrintWriter writer) |
public Encoder(int indent, String name)
public int getIndent()
public String getName()
protected void writeIndent(PrintWriter writer) throws IOException
IOException
protected void writeClosingTag(PrintWriter writer) throws IOException
IOException
public abstract void write(PrintWriter writer) throws IOException
IOException