|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FormatType>
org.crosswire.common.xml.FormatType
public enum FormatType
The PrettySerializingContentHandler uses a FormatType to control its output.
for license details.
The copyright to this program is held by it's authors.
Enum Constant Summary | |
---|---|
ANALYSIS
|
|
ANALYSIS_INDENT
|
|
AS_IS
|
|
CLASSIC
|
|
CLASSIC_INDENT
|
Field Summary | |
---|---|
private boolean |
analytic
|
private boolean |
classic
|
private boolean |
indented
|
private boolean |
multiline
|
Method Summary | |
---|---|
boolean |
isAnalytic()
Whether added whitespace is inside tags. |
boolean |
isClassic()
Whether added whitespace is between tags. |
boolean |
isIndented()
Whether indents are introduced into the document. |
boolean |
isMultiline()
Whether newlines are introduced into the document. |
static FormatType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FormatType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FormatType AS_IS
public static final FormatType ANALYSIS
public static final FormatType CLASSIC
public static final FormatType ANALYSIS_INDENT
public static final FormatType CLASSIC_INDENT
Field Detail |
---|
private boolean indented
private boolean multiline
private boolean analytic
private boolean classic
Method Detail |
---|
public static FormatType[] values()
for (FormatType c : FormatType.values()) System.out.println(c);
public static FormatType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic boolean isMultiline()
public boolean isIndented()
public boolean isAnalytic()
public boolean isClassic()
|
Copyright ? 2003-2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |