Package gnu.lists

Interface XConsumer

All Superinterfaces:
Appendable, Consumer, Consumer<Object>, DoubleConsumer, IntConsumer, LongConsumer
All Known Implementing Classes:
FilterConsumer, HttpPrinter, NamedChildrenFilter, NodeTree, OrderedTuples, PrintConsumer, RelativeStepFilter, ServletPrinter, TreeList, VoidConsumer, 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 Details

    • writeComment

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

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

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

      void beginEntity(Object baseUri)
    • endEntity

      void endEntity()