XMLOutputter

This class is still undergoing major API changes.

package org.jdom.output;

public class XMLOutputter {

  // Constructors
  public XMLOutputter() {}
  public XMLOutputter(String indent) {}
  public XMLOutputter(String indent, boolean newlines) {}
  public XMLOutputter(String indent, boolean newlines, String encoding) {}

  // Methods to configure the output
  public void setLineSeparator(String separator) {}
  public void setSuppressDeclaration(boolean suppressDeclaration) {}
  public void setOmitEncoding(boolean omitEncoding) {}
  public void setExpandEmptyElements(boolean expandEmptyElements) {}
  public void setIndent(String indent) {}
  public void setIndentSize(int indentSize) {}
  public void setIndenting(boolean useIndentation) {}
  
  // Output methods
  public void output(Document doc, OutputStream out, String encoding)
   throws IOException {}
  public void output(Document doc, OutputStream out)
   throws IOException {}

  // Methods for subclasses
  protected void indent(Writer out, int level) throws IOException {}
  protected void maybePrintln(Writer out) throws IOException  {}
  protected void printComment(Comment comment, Writer out, 
   int indentLevel) throws IOException {}
  protected void printProcessingInstruction(ProcessingInstruction pi,
   Writer out, int indentLevel) throws IOException {}
  protected void printDeclaration(Document doc, Writer out, String encoding)
   throws IOException {}    
  protected void printDocType(DocType docType, Writer out) 
   throws IOException {}
  protected void printCDATASection(CDATA cdata, Writer out, int indentLevel) 
   throws IOException {}
  protected void printElement(Element element, Writer out, int indentLevel)  
   throws IOException {}
  protected void printElement(Element element, Writer out, int indentLevel, 
   NamespaceStack namespaces) throws IOException {}
  protected void printEntity(Entity entity, Writer out) throws IOException {}
  protected void printNamespace(Namespace ns, Writer out) throws IOException {}
  protected void printAttributes(List attributes, Element parent, 
   Writer out, NamespaceStack namespaces) throws IOException {}
  protected void printAttributes(List attributes, Element parent, Writer out) 
   throws IOException {}
}

Previous | Next | Top | Cafe con Leche

Copyright 2000 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified September 14, 2000