Uses of Class
org.apache.maven.archetype.common.util.Format

Packages that use Format
org.apache.maven.archetype.common   
org.apache.maven.archetype.common.util   
 

Uses of Format in org.apache.maven.archetype.common
 

Methods in org.apache.maven.archetype.common with parameters of type Format
 void MavenJDOMWriter.write(Model project, org.jdom.Document document, Writer writer, Format jdomFormat)
          Method write.
 

Uses of Format in org.apache.maven.archetype.common.util
 

Fields in org.apache.maven.archetype.common.util declared as Format
protected  Format XMLOutputter.currentFormat
           
protected static Format XMLOutputter.preserveFormat
           
 

Methods in org.apache.maven.archetype.common.util that return Format
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 XMLOutputter.getFormat()
          Returns the current format in use by the outputter.
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.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.
 Format Format.setEncoding(String encoding)
          Sets the output encoding.
 Format Format.setEscapeStrategy(org.jdom.output.EscapeStrategy strategy)
          Sets the EscapeStrategy to use for character escaping.
 Format Format.setExpandEmptyElements(boolean expandEmptyElements)
          This will set whether empty elements are expanded from <tagName/> to <tagName></tagName>.
 Format Format.setIndent(String indent)
          This will set the indent String to use; this is usually a String of empty spaces.
 Format Format.setLineSeparator(String separator)
          This will set the newline separator (lineSeparator).
 Format Format.setOmitDeclaration(boolean omitDeclaration)
          This will set whether the XML declaration (<?xml version="1.0"?gt;) will be omitted or not.
 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.setTextMode(Format.TextMode mode)
          This sets the text output style.
 

Methods in org.apache.maven.archetype.common.util with parameters of type Format
 void XMLOutputter.setFormat(Format newFormat)
          Sets the new format logic for the outputter.
 

Constructors in org.apache.maven.archetype.common.util with parameters of type Format
XMLOutputter(Format format)
          This will create an XMLOutputter with the specified format characteristics.
 



Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.