org.attoparser.markup
Enum MarkupParsingConfiguration.ElementBalancing

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

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


Enum Constant Summary
AUTO_CLOSE
           
AUTO_CLOSE_REQUIRE_NO_UNMATCHED_CLOSE
           
NO_BALANCING
           
REQUIRE_BALANCED
           
REQUIRE_NO_UNMATCHED_CLOSE
           
 
Method Summary
static MarkupParsingConfiguration.ElementBalancing valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MarkupParsingConfiguration.ElementBalancing[] 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

REQUIRE_BALANCED

public static final MarkupParsingConfiguration.ElementBalancing REQUIRE_BALANCED

AUTO_CLOSE

public static final MarkupParsingConfiguration.ElementBalancing AUTO_CLOSE

AUTO_CLOSE_REQUIRE_NO_UNMATCHED_CLOSE

public static final MarkupParsingConfiguration.ElementBalancing AUTO_CLOSE_REQUIRE_NO_UNMATCHED_CLOSE

REQUIRE_NO_UNMATCHED_CLOSE

public static final MarkupParsingConfiguration.ElementBalancing REQUIRE_NO_UNMATCHED_CLOSE

NO_BALANCING

public static final MarkupParsingConfiguration.ElementBalancing NO_BALANCING
Method Detail

values

public static MarkupParsingConfiguration.ElementBalancing[] 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.ElementBalancing c : MarkupParsingConfiguration.ElementBalancing.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.ElementBalancing 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


Copyright © 2012 The ATTOPARSER team. All Rights Reserved.