gnu.lists

Interface XConsumer

All Superinterfaces:
Consumer
Known Implementing Classes:
Nodes, NodeTree, SortedNodes, TreeList, Values, ValueStack, XMLFilter, 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
beginEntity(Object baseUri)
void
endEntity()
void
writeCDATA(char[] chars, int offset, int length)
void
writeComment(char[] chars, int offset, int length)
void
writeProcessingInstruction(String target, char[] content, int offset, int length)

Methods inherited from interface gnu.lists.Consumer

endAttribute, endDocument, endElement, ignoring, startAttribute, startDocument, startElement, write, write, write, write, writeBoolean, writeDouble, writeFloat, writeInt, writeLong, writeObject

Method Details

beginEntity

public void beginEntity(Object baseUri)

endEntity

public void endEntity()

writeCDATA

public void writeCDATA(char[] chars,
                       int offset,
                       int length)

writeComment

public void writeComment(char[] chars,
                         int offset,
                         int length)

writeProcessingInstruction

public void writeProcessingInstruction(String target,
                                       char[] content,
                                       int offset,
                                       int length)