org.mmbase.bridge.jsp.taglib.util
Enum Debug

java.lang.Object
  extended by java.lang.Enum<Debug>
      extended by 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

Enum Constant Summary
CSS
           
HTML
           
LOG
           
NONE
           
PLAIN
           
XML
           
 
Method Summary
 String end(String name, Object url)
           
 String start(String name, Object url)
           
static Debug valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Debug valueOfOrEmpty(String s)
           
static Debug[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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