org.thymeleaf.processor.tag
Enum TagProcessDOMAction

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

public enum TagProcessDOMAction
extends Enum<TagProcessDOMAction>

Since:
1.0
Author:
Daniel Fernández

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

REMOVE_TAG_AND_CHILDREN

public static final TagProcessDOMAction REMOVE_TAG_AND_CHILDREN

REMOVE_CHILDREN

public static final TagProcessDOMAction REMOVE_CHILDREN

SUBSTITUTE_TAG

public static final TagProcessDOMAction SUBSTITUTE_TAG

NO_ACTION

public static final TagProcessDOMAction NO_ACTION
Method Detail

values

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

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

valueOf

public static TagProcessDOMAction 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()

isTagSubstituted

public boolean isTagSubstituted()


Copyright © 2011 The THYMELEAF team. All Rights Reserved.