DLESE Tools
v1.6.0

org.dlese.dpc.xml
Class XMLWriter

java.lang.Object
  extended by org.jdom.output.XMLOutputter
      extended by org.dlese.dpc.xml.XMLWriter
All Implemented Interfaces:
Cloneable

public class XMLWriter
extends org.jdom.output.XMLOutputter

Subclassed from JDOM's XMLOutputter, in order to tweak output. JDOM documentation should be consulted for actual details.

Version:
1.0, 01/01/02
Author:
Dave Deniman (as revised)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdom.output.XMLOutputter
org.jdom.output.XMLOutputter.NamespaceStack
 
Constructor Summary
XMLWriter()
           
 
Method Summary
protected  void printElementContent(org.jdom.Element element, Writer out, int indentLevel, org.jdom.output.XMLOutputter.NamespaceStack namespaces, List eltContent)
           
 void write(org.jdom.Document doc, File out)
           
 
Methods inherited from class org.jdom.output.XMLOutputter
createNamespaceStack, escapeAttributeEntities, escapeElementEntities, indent, makeWriter, makeWriter, maybePrintln, output, output, output, output, output, output, output, output, output, output, output, output, output, output, output, output, output, output, outputElementContent, outputElementContent, outputString, outputString, outputString, outputString, outputString, outputString, outputString, parseArgs, printAttributes, printCDATA, printComment, printDeclaration, printDocType, printElement, printEntityRef, printProcessingInstruction, printString, setEncoding, setExpandEmptyElements, setIndent, setIndent, setIndentLevel, setIndentSize, setLineSeparator, setNewlines, setOmitDeclaration, setOmitEncoding, setPadText, setSuppressDeclaration, setTextNormalize, setTrimText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLWriter

public XMLWriter()
Method Detail

write

public void write(org.jdom.Document doc,
                  File out)

printElementContent

protected void printElementContent(org.jdom.Element element,
                                   Writer out,
                                   int indentLevel,
                                   org.jdom.output.XMLOutputter.NamespaceStack namespaces,
                                   List eltContent)
                            throws IOException
Overrides:
printElementContent in class org.jdom.output.XMLOutputter
Throws:
IOException

DLESE Tools
v1.6.0