// Copyright (c) 2004  Per M.A. Bothner.
// This is free software;  for terms and warranty disclaimer see ./COPYING.

package gnu.lists;

/** A Consumer extended with XML-specific methods.
 * This should probably be in gnu.xml, but that complications TreeList. FIXME.
 */

public interface XConsumer extends Consumer
{
  /** Write/set the base-uri property of the current element or document.
   * Only allowed immediately following beginDocument, beginGroup,
   * or writeProcessingInstruction.   */
  public void writeBaseUri (Object uri);

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

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

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

@@ -310,16 +310,95 @@
 onsumer%0A
+                           // Maybe future: extends org.xml.sax.ContentHandler%0A
 %7B%0A  /** 
@@ -849,11 +849,97 @@
 length);
+%0A%0A  // Maybe future?%0A  // public void setDocumentLocator(org.xml.sax.Locator locator);
 %0A%7D%0A

Add some comments.