Uses of Class
org.apache.maven.archetype.common.util.Format
Packages that use Format
-
Uses of Format in org.apache.maven.archetype.common
Methods in org.apache.maven.archetype.common with parameters of type Format -
Uses of Format in org.apache.maven.archetype.common.util
Fields in org.apache.maven.archetype.common.util declared as FormatModifier and TypeFieldDescriptionprotected FormatXMLOutputter.currentFormatprotected static final FormatXMLOutputter.PRESERVE_FORMATMethods in org.apache.maven.archetype.common.util that return FormatModifier and TypeMethodDescriptionstatic FormatFormat.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.XMLOutputter.getFormat()Returns the current format in use by the outputter.static FormatFormat.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 FormatFormat.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.setEncoding(String encoding) Sets the output encoding.Format.setEscapeStrategy(org.jdom2.output.EscapeStrategy strategy) Sets theEscapeStrategyto use for character escaping.Format.setExpandEmptyElements(boolean expandEmptyElements) This will set whether empty elements are expanded from<tagName/>to<tagName></tagName>.This will set the indentStringto use; this is usually aStringof empty spaces.Format.setLineSeparator(String separator) This will set the newline separator (lineSeparator).Format.setOmitDeclaration(boolean omitDeclaration) This will set whether the XML declaration (<?xml version="1.0"?gt;) will be omitted or not.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.setTextMode(Format.TextMode mode) This sets the text output style.Methods in org.apache.maven.archetype.common.util with parameters of type FormatModifier and TypeMethodDescriptionvoidSets the new format logic for the outputter.Constructors in org.apache.maven.archetype.common.util with parameters of type FormatModifierConstructorDescriptionXMLOutputter(Format format) This will create anXMLOutputterwith the specified format characteristics.