public enum GrammarType extends Enum<GrammarType>
Java class for grammarType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="grammarType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Document"/>
<enumeration value="DocContent"/>
<enumeration value="DocEnd"/>
<enumeration value="Fragment"/>
<enumeration value="FragmentContent"/>
<enumeration value="FirstStartTagContent"/>
<enumeration value="StartTagContent"/>
<enumeration value="ElementContent"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DOC_CONTENT |
DOC_END |
DOCUMENT |
ELEMENT_CONTENT |
FIRST_START_TAG_CONTENT |
FRAGMENT |
FRAGMENT_CONTENT |
START_TAG_CONTENT |
| Modifier and Type | Method and Description |
|---|---|
static GrammarType |
fromValue(String v) |
String |
value() |
static GrammarType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrammarType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrammarType DOCUMENT
public static final GrammarType DOC_CONTENT
public static final GrammarType DOC_END
public static final GrammarType FRAGMENT
public static final GrammarType FRAGMENT_CONTENT
public static final GrammarType FIRST_START_TAG_CONTENT
public static final GrammarType START_TAG_CONTENT
public static final GrammarType ELEMENT_CONTENT
public static GrammarType[] values()
for (GrammarType c : GrammarType.values()) System.out.println(c);
public static GrammarType 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 String value()
public static GrammarType fromValue(String v)
Copyright © 2018 Siemens AG. All rights reserved.