gnu.lists
Interface XConsumer
- All Superinterfaces:
- java.lang.Appendable, Consumer
- All Known Implementing Classes:
- Nodes, NodeTree, SortedNodes, TreeList, Values, ValueStack, XMLPrinter
public interface XConsumer
- extends Consumer
A Consumer extended with XML-specific methods.
This should probably be in gnu.xml, but that complications TreeList. FIXME.
Method Summary |
void |
writeBaseUri(java.lang.Object uri)
Write/set the base-uri property of the current element or document. |
void |
writeCDATA(char[] chars,
int offset,
int length)
|
void |
writeComment(char[] chars,
int offset,
int length)
|
void |
writeProcessingInstruction(java.lang.String target,
char[] content,
int offset,
int length)
|
Methods inherited from interface gnu.lists.Consumer |
append, append, append, beginAttribute, beginDocument, beginGroup, endAttribute, endDocument, endGroup, ignoring, write, writeBoolean, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeObject |
writeBaseUri
void writeBaseUri(java.lang.Object uri)
- Write/set the base-uri property of the current element or document.
Only allowed immediately following beginDocument, beginGroup,
or writeProcessingInstruction.
writeComment
void writeComment(char[] chars,
int offset,
int length)
writeProcessingInstruction
void writeProcessingInstruction(java.lang.String target,
char[] content,
int offset,
int length)
writeCDATA
void writeCDATA(char[] chars,
int offset,
int length)