org.thymeleaf.processor.attr
Enum AttrProcessDOMAction

Object
  extended by Enum<AttrProcessDOMAction>
      extended by org.thymeleaf.processor.attr.AttrProcessDOMAction
All Implemented Interfaces:
Serializable, Comparable<AttrProcessDOMAction>

public enum AttrProcessDOMAction
extends Enum<AttrProcessDOMAction>

Since:
1.0
Author:
Daniel Fernández

Enum Constant Summary
NO_ACTION
           
REMOVE_ATTRIBUTE
           
REMOVE_CHILDREN
           
REMOVE_TAG
           
REMOVE_TAG_AND_CHILDREN
           
SUBSTITUTE_TAG
           
 
Method Summary
 boolean isAttrRemoved()
           
 boolean isChildrenRemoved()
           
 boolean isTagRemoved()
           
 boolean isTagSubstituted()
           
static AttrProcessDOMAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AttrProcessDOMAction[] 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

REMOVE_TAG

public static final AttrProcessDOMAction REMOVE_TAG

REMOVE_TAG_AND_CHILDREN

public static final AttrProcessDOMAction REMOVE_TAG_AND_CHILDREN

REMOVE_CHILDREN

public static final AttrProcessDOMAction REMOVE_CHILDREN

REMOVE_ATTRIBUTE

public static final AttrProcessDOMAction REMOVE_ATTRIBUTE

SUBSTITUTE_TAG

public static final AttrProcessDOMAction SUBSTITUTE_TAG

NO_ACTION

public static final AttrProcessDOMAction NO_ACTION
Method Detail

values

public static AttrProcessDOMAction[] 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 (AttrProcessDOMAction c : AttrProcessDOMAction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AttrProcessDOMAction 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

isTagRemoved

public boolean isTagRemoved()

isChildrenRemoved

public boolean isChildrenRemoved()

isAttrRemoved

public boolean isAttrRemoved()

isTagSubstituted

public boolean isTagSubstituted()


Copyright © 2012 The THYMELEAF team. All Rights Reserved.