public static enum HierarchicalPrinter.State extends Enum<HierarchicalPrinter.State>
Enum Constant and Description |
---|
ARRAY |
OBJECT |
OBJECT_ATTRIB |
OBJECT_ELEMENT |
Modifier and Type | Method and Description |
---|---|
static HierarchicalPrinter.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HierarchicalPrinter.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HierarchicalPrinter.State OBJECT
public static final HierarchicalPrinter.State OBJECT_ATTRIB
public static final HierarchicalPrinter.State ARRAY
public static final HierarchicalPrinter.State OBJECT_ELEMENT
public static HierarchicalPrinter.State[] values()
for (HierarchicalPrinter.State c : HierarchicalPrinter.State.values()) System.out.println(c);
public static HierarchicalPrinter.State 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 © 1970 The Apache Software Foundation. All rights reserved.