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, String lineSeparator) {}
    public XMLOutputter(String indent, String lineSeparator, String encoding) {}
    
    
    // Basic output methods
    public void output(Document doc, OutputStream out) throws IOException {}
    public void output(Document doc, OutputStream out, String encoding) 
     throws IOException {}
    
    // configuration methods
    public void setLineSeparator(String lineSeparator) {}
    public String getLineSeparator() {}
    
    // Methods for subclasses to call
    protected void indent(Writer out, int level) throws IOException {}
    protected void maybePrintln(Writer out) throws IOException  {}

    // Methods for subclasses to override
    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 printElement(Element element, Writer out, int indentLevel)
     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, Writer out) throws IOException {}
    
}


Previous | Next | Top | Cafe con Leche

Copyright 2000 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified August 5, 2000