public enum XmlStructureKey extends Enum<XmlStructureKey>
FileFormat.XML
format structure.Enum Constant and Description |
---|
body
Body structure.
|
data
XML data structure.
|
header
Header structure.
|
metadata
XML metadata structure.
|
segment
Segment structure.
|
Modifier and Type | Method and Description |
---|---|
boolean |
process(ParseToken token,
AbstractConstituentParser<?,?> parser)
Process an token.
|
static XmlStructureKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlStructureKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlStructureKey body
public static final XmlStructureKey segment
public static final XmlStructureKey header
public static final XmlStructureKey metadata
public static final XmlStructureKey data
public static XmlStructureKey[] values()
for (XmlStructureKey c : XmlStructureKey.values()) System.out.println(c);
public static XmlStructureKey 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 nullpublic boolean process(ParseToken token, AbstractConstituentParser<?,?> parser)
token
- token to processparser
- file parserCopyright © 2002-2022 CS GROUP. All rights reserved.