Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jdom.output: Javadoc index of package org.jdom.output.


Package Samples:

org.jdom.output: Classes to represent the components of an XML document.  

Classes:

XMLOutputter: Outputs a JDOM document as a stream of bytes. The outputter can manage many styles of document formatting, from untouched to pretty printed. The default is to output the document content exactly as created, but this can be changed by setting a new Format object. For pretty-print output, use Format.getPrettyFormat() 55 . For whitespace-normalized output, use Format.getCompactFormat() 55 . There are output(...) 55 methods to print any of the standard JDOM classes, including Document and Element, to either a Writer or an OutputStream. Warning : When outputting to a Writer, make sure the writer's encoding ...
SAXOutputter: Outputs a JDOM document as a stream of SAX2 events. Most ContentHandler callbacks are supported. Both ignorableWhitespace() and skippedEntity() have not been implemented. The JDOMLocator class returned by getLocator() 55 exposes the current node being operated upon. At this time, it is not possible to access notations and unparsed entity references in a DTD from JDOM. Therefore, DTDHandler callbacks have not been implemented yet. The ErrorHandler callbacks have not been implemented, since these are supposed to be invoked when the document is parsed and at this point the document exists in memory ...
Format: Class to encapsulate XMLOutputter format options. Typical users can use the standard format configurations obtained by getRawFormat() 55 (no whitespace changes), getPrettyFormat() 55 (whitespace beautification), and getCompactFormat() 55 (whitespace normalization). Several modes are available to effect the way textual content is printed. See the documentation for Format.TextMode for details.
NamespaceStack: Our own null subclass of NamespaceStack. This plays a little trick with Java access protection. We want subclasses of XMLOutputter to be able to override protected methods that declare a NamespaceStack parameter, but we don't want to declare the parent NamespaceStack class as public.
JDOMLocator: An implementation of the SAX org.xml.sax.Locator interface that exposes the JDOM node being processed by SAXOutputter.
DOMOutputter: Outputs a JDOM org.jdom.Document as a DOM org.w3c.dom.Document .
EscapeStrategy: Logic to determine which characters should be formatted as character entities.

Home | Contact Us | Privacy Policy | Terms of Service