org.attoparser.markup
Enum MarkupParsingConfiguration.UniqueRootElementPresence
Object
Enum<MarkupParsingConfiguration.UniqueRootElementPresence>
org.attoparser.markup.MarkupParsingConfiguration.UniqueRootElementPresence
- All Implemented Interfaces:
- Serializable, Comparable<MarkupParsingConfiguration.UniqueRootElementPresence>
- Enclosing class:
- MarkupParsingConfiguration
public static enum MarkupParsingConfiguration.UniqueRootElementPresence
- extends Enum<MarkupParsingConfiguration.UniqueRootElementPresence>
REQUIRED_ALWAYS
public static final MarkupParsingConfiguration.UniqueRootElementPresence REQUIRED_ALWAYS
DEPENDS_ON_PROLOG_DOCTYPE
public static final MarkupParsingConfiguration.UniqueRootElementPresence DEPENDS_ON_PROLOG_DOCTYPE
values
public static MarkupParsingConfiguration.UniqueRootElementPresence[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MarkupParsingConfiguration.UniqueRootElementPresence c : MarkupParsingConfiguration.UniqueRootElementPresence.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MarkupParsingConfiguration.UniqueRootElementPresence valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
isRequiredAlways
public boolean isRequiredAlways()
isDependsOnPrologDoctype
public boolean isDependsOnPrologDoctype()
Copyright © 2012 The ATTOPARSER team. All Rights Reserved.