org.w3c.mwi.mobileok.basic
Enum XHTMLValidationStatus
java.lang.Object
java.lang.Enum<XHTMLValidationStatus>
org.w3c.mwi.mobileok.basic.XHTMLValidationStatus
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<XHTMLValidationStatus>
public enum XHTMLValidationStatus
- extends java.lang.Enum<XHTMLValidationStatus>
Enumerates the different possible XML validation status.
Although the enumeration's name starts with "XHTML", there is nothing
specific to XHTML here. The enumeration can be used to represent the status
of any kind of XML stream.
- Version:
- $Revision: 1.1 $
- Author:
- The W3C mobileOK Checker Task Force
- See Also:
XHTMLValidationErrorHandler
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 |
VALID
public static final XHTMLValidationStatus VALID
INVALID
public static final XHTMLValidationStatus INVALID
NOT_VALIDATED
public static final XHTMLValidationStatus NOT_VALIDATED
values
public static XHTMLValidationStatus[] 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 (XHTMLValidationStatus c : XHTMLValidationStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static XHTMLValidationStatus 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
java.lang.NullPointerException
- if the argument is null