|
JDOM 2.0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AbstractFormattedWalker.Trim>
org.jdom2.output.support.AbstractFormattedWalker.Trim
protected static enum AbstractFormattedWalker.Trim
Indicate how text content should be added
Enum Constant Summary | |
---|---|
BOTH
Both Trim |
|
COMPACT
Trim Both and replace all internal whitespace with a single space |
|
LEFT
Left Trim |
|
NONE
No Trimming at all |
|
RIGHT
Right Trim |
Method Summary | |
---|---|
static AbstractFormattedWalker.Trim |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AbstractFormattedWalker.Trim[] |
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 AbstractFormattedWalker.Trim LEFT
public static final AbstractFormattedWalker.Trim RIGHT
public static final AbstractFormattedWalker.Trim BOTH
public static final AbstractFormattedWalker.Trim COMPACT
public static final AbstractFormattedWalker.Trim NONE
Method Detail |
---|
public static AbstractFormattedWalker.Trim[] values()
for (AbstractFormattedWalker.Trim c : AbstractFormattedWalker.Trim.values()) System.out.println(c);
public static AbstractFormattedWalker.Trim valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
JDOM 2.0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |