gnu.lists
public interface Consumer
Note: This interface is not quite final. For example it is probable we will add methods for comments, processing instructions, etc.
| Method Summary | |
|---|---|
| void | endAttribute() End of an attribute or end of an actual parameter.
|
| void | endDocument() |
| void | endElement() |
| boolean | ignoring() True if consumer is ignoring rest of element.
|
| void | startAttribute(Object attrType) Write a attribute for the current element.
|
| void | startDocument() |
| void | startElement(Object type) |
| void | write(int ch) |
| void | write(String string) |
| void | write(CharSequence string, int start, int length) |
| void | write(char[] buf, int start, int length) |
| void | writeBoolean(boolean v) |
| void | writeDouble(double v) |
| void | writeFloat(float v) |
| void | writeInt(int v) |
| void | writeLong(long v) |
| void | writeObject(Object v) |