Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JDOM 1.0beta10
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.jdom.output.Format

Packages that use Format
org.jdom.output | Classes to output JDOM documents to various destinations.

Uses of Format in org.jdom.output

Fields in org.jdom.output declared as Format
`protected Format` | `XMLOutputter.userFormat`
`protected Format` | `XMLOutputter.preserveFormat`
`protected Format` | `XMLOutputter.currentFormat`

Methods in org.jdom.output that return Format
`Format` | `XMLOutputter.getFormat()` Returns the current format object in use by the outputter.
`static Format` | `Format.getRawFormat()` Returns a new Format object that performs no whitespace changes, uses the UTF-8 encoding, doesn't expand empty elements, includes the declaration and encoding, and uses the default entity escape strategy.
`static Format` | `Format.getPrettyFormat()` Returns a new Format object that performs whitespace beautification with 2-space indents, uses the UTF-8 encoding, doesn't expand empty elements, includes the declaration and encoding, and uses the default entity escape strategy.
`static Format` | `Format.getCompactFormat()` Returns a new Format object that performs whitespace normalization, uses the UTF-8 encoding, doesn't expand empty elements, includes the declaration and encoding, and uses the default entity escape strategy.
`Format` | `Format.setEscapeStrategy(EscapeStrategy strategy)` Sets the `EscapeStrategy` to use for character escaping.
`Format` | `Format.setLineSeparator(java.lang.String separator)` This will set the newline separator (`lineSeparator`).
`Format` | `Format.setOmitEncoding(boolean omitEncoding)` This will set whether the XML declaration (`<?xml version="1.0" encoding="UTF-8"?>`) includes the encoding of the document.
`Format` | `Format.setOmitDeclaration(boolean omitDeclaration)` This will set whether the XML declaration (`<?xml version="1.0"?gt;`) will be omitted or not.
`Format` | `Format.setExpandEmptyElements(boolean expandEmptyElements)` This will set whether empty elements are expanded from `<tagName/>` to `<tagName></tagName>`.
`Format` | `Format.setTextMode(Format.TextMode mode)` This sets the text output style.
`Format` | `Format.setIndent(java.lang.String indent)` This will set the indent `String` to use; this is usually a `String` of empty spaces.
`Format` | `Format.setEncoding(java.lang.String encoding)` Sets the output encoding.

Methods in org.jdom.output with parameters of type Format
`void` | `XMLOutputter.setFormat(Format newFormat)` Sets the new format logic for the outputter.

Constructors in org.jdom.output with parameters of type Format
`XMLOutputter(Format format)` This will create an `XMLOutputter` with the specified format characteristics.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JDOM 1.0beta10
PREV NEXT | FRAMES NO FRAMES

Copyright © 2004 Jason Hunter, Brett McLaughlin. All Rights Reserved.