public static enum Grammar.ParserOption extends Enum<Grammar.ParserOption>
| Enum Constant and Description |
|---|
ALLOW_ROOTLESS_GRAMMAR |
FAIL_ON_UNKNOWN_XML_ATTRIBUTE |
INCLUDE_LEGACY |
SKIP_UNUSED_PRODUCTIONS |
| Modifier and Type | Method and Description |
|---|---|
static Grammar.ParserOption[] |
from(Properties properties) |
static Grammar.ParserOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Grammar.ParserOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Grammar.ParserOption FAIL_ON_UNKNOWN_XML_ATTRIBUTE
public static final Grammar.ParserOption SKIP_UNUSED_PRODUCTIONS
public static final Grammar.ParserOption ALLOW_ROOTLESS_GRAMMAR
public static final Grammar.ParserOption INCLUDE_LEGACY
public static Grammar.ParserOption[] values()
for (Grammar.ParserOption c : Grammar.ParserOption.values()) System.out.println(c);
public static Grammar.ParserOption 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 static Grammar.ParserOption[] from(Properties properties)
Copyright © 2019. All rights reserved.