public static enum ConsensusDocumentParser.DocumentSection extends Enum<ConsensusDocumentParser.DocumentSection>
| Enum Constant and Description |
|---|
AUTHORITY |
FOOTER |
NO_SECTION |
PREAMBLE |
ROUTER_STATUS |
| Modifier and Type | Method and Description |
|---|---|
static ConsensusDocumentParser.DocumentSection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsensusDocumentParser.DocumentSection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsensusDocumentParser.DocumentSection NO_SECTION
public static final ConsensusDocumentParser.DocumentSection PREAMBLE
public static final ConsensusDocumentParser.DocumentSection AUTHORITY
public static final ConsensusDocumentParser.DocumentSection ROUTER_STATUS
public static final ConsensusDocumentParser.DocumentSection FOOTER
public static ConsensusDocumentParser.DocumentSection[] values()
for (ConsensusDocumentParser.DocumentSection c : ConsensusDocumentParser.DocumentSection.values()) System.out.println(c);
public static ConsensusDocumentParser.DocumentSection 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 © 2015. All rights reserved.