public enum LineType extends Enum<LineType>
| Enum Constant and Description |
|---|
ATTRIBUTE
attribute line.
|
ATTRIBUTE_OPTION
attribute options line.
|
COMMENT
comment line.
|
CONFIGURATION
configuration line.
|
EMPTY
the empty line.
|
GLOBAL_OPTION
global options line.
|
RELATION
relation line.
|
RELATION_OPTION
relation options line.
|
| Modifier and Type | Method and Description |
|---|---|
Line |
createLine(Document document,
int offset)
Creates a line for this line type.
|
static LineType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineType EMPTY
public static final LineType COMMENT
public static final LineType CONFIGURATION
public static final LineType GLOBAL_OPTION
public static final LineType ATTRIBUTE
public static final LineType ATTRIBUTE_OPTION
public static final LineType RELATION
public static final LineType RELATION_OPTION
public static LineType[] values()
for (LineType c : LineType.values()) System.out.println(c);
public static LineType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016 Krake Softwaretechnik. All rights reserved.