public static enum Document.Indentation extends java.lang.Enum<Document.Indentation>
Indentation
is used by some methods in a Document
instance to perform optional indent and outdent operations.Enum Constant and Description |
---|
INDENT
Represents an indent operation.
|
OUTDENT
Represents an outdent operation.
|
SKIP
Represents no indent or outdent operation.
|
Modifier and Type | Method and Description |
---|---|
static Document.Indentation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Document.Indentation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Document.Indentation INDENT
public static final Document.Indentation OUTDENT
public static final Document.Indentation SKIP
public static Document.Indentation[] values()
for (Document.Indentation c : Document.Indentation.values()) System.out.println(c);
public static Document.Indentation 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 namejava.lang.NullPointerException
- if the argument is null