org.attoparser.markup
Enum MarkupParsingConfiguration.UniqueRootElementPresence

Object
  extended by Enum<MarkupParsingConfiguration.UniqueRootElementPresence>
      extended by org.attoparser.markup.MarkupParsingConfiguration.UniqueRootElementPresence
All Implemented Interfaces:
Serializable, Comparable<MarkupParsingConfiguration.UniqueRootElementPresence>
Enclosing class:
MarkupParsingConfiguration

public static enum MarkupParsingConfiguration.UniqueRootElementPresence
extends Enum<MarkupParsingConfiguration.UniqueRootElementPresence>


Enum Constant Summary
DEPENDS_ON_PROLOG_DOCTYPE
           
REQUIRED_ALWAYS
           
 
Method Summary
 boolean isDependsOnPrologDoctype()
           
 boolean isRequiredAlways()
           
static MarkupParsingConfiguration.UniqueRootElementPresence valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MarkupParsingConfiguration.UniqueRootElementPresence[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

REQUIRED_ALWAYS

public static final MarkupParsingConfiguration.UniqueRootElementPresence REQUIRED_ALWAYS

DEPENDS_ON_PROLOG_DOCTYPE

public static final MarkupParsingConfiguration.UniqueRootElementPresence DEPENDS_ON_PROLOG_DOCTYPE
Method Detail

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.