pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.util.xml
Enum IllegalXHTMLException.Type

java.lang.Object
  extended by java.lang.Enum<IllegalXHTMLException.Type>
      extended by org.torweg.pulse.util.xml.IllegalXHTMLException.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IllegalXHTMLException.Type>
Enclosing class:
IllegalXHTMLException

public static enum IllegalXHTMLException.Type
extends java.lang.Enum<IllegalXHTMLException.Type>

the different causes for an IllegalXHTMLException.

Author:
Thomas Weber

Enum Constant Summary
MS_OFFICE_MARKUP
          MS Office specific mark up.
NON_UNIQUE_BODY
          not exactly one body container.
UNKNOWN
          unknown type.
 
Method Summary
abstract  java.lang.String getMessage()
          returns the default details message.
static IllegalXHTMLException.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IllegalXHTMLException.Type[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWN

public static final IllegalXHTMLException.Type UNKNOWN
unknown type.


MS_OFFICE_MARKUP

public static final IllegalXHTMLException.Type MS_OFFICE_MARKUP
MS Office specific mark up.


NON_UNIQUE_BODY

public static final IllegalXHTMLException.Type NON_UNIQUE_BODY
not exactly one body container.

Method Detail

values

public static final IllegalXHTMLException.Type[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(IllegalXHTMLException.Type c : IllegalXHTMLException.Type.values())
        System.out.println(c);

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

valueOf

public static IllegalXHTMLException.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getMessage

public abstract java.lang.String getMessage()
returns the default details message.

Returns:
the default details message