org.mmbase.bridge.jsp.taglib.util
Enum Debug
java.lang.Object
java.lang.Enum<Debug>
org.mmbase.bridge.jsp.taglib.util.Debug
- All Implemented Interfaces:
- Serializable, Comparable<Debug>
public enum Debug
- extends Enum<Debug>
Representation of the values of 'debug' attributes, as used in tags like mm:include and
mm:component.
- Since:
- MMBase-1.9
- Version:
- $Id: Debug.java 35335 2009-05-21 08:14:41Z michiel $
- Author:
- Michiel Meeuwissen
NONE
public static final Debug NONE
LOG
public static final Debug LOG
HTML
public static final Debug HTML
CSS
public static final Debug CSS
XML
public static final Debug XML
PLAIN
public static final Debug PLAIN
values
public static Debug[] 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 (Debug c : Debug.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Debug 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
valueOfOrEmpty
public static Debug valueOfOrEmpty(String s)
start
public String start(String name,
Object url)
end
public String end(String name,
Object url)
MMBase 2.0-SNAPSHOT - null