org.apache.beehive.netui.util.config.bean
Class DocType

Object
  extended by DocType
All Implemented Interfaces:
Serializable

public final class DocType
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static DocType HTML4_LOOSE
           
static DocType HTML4_LOOSE_QUIRKS
           
static int INT_HTML4_LOOSE
           
static int INT_HTML4_LOOSE_QUIRKS
           
static int INT_XHTML1_TRANSITIONAL
           
static DocType XHTML1_TRANSITIONAL
           
 
Method Summary
 boolean equals(Object value)
          Equals method.
 int getValue()
          The doc type's int value.
 int hashCode()
          Hash code.
 String toString()
          Convert this doc type to a readable String.
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INT_HTML4_LOOSE

public static final int INT_HTML4_LOOSE
See Also:
Constant Field Values

INT_HTML4_LOOSE_QUIRKS

public static final int INT_HTML4_LOOSE_QUIRKS
See Also:
Constant Field Values

INT_XHTML1_TRANSITIONAL

public static final int INT_XHTML1_TRANSITIONAL
See Also:
Constant Field Values

HTML4_LOOSE

public static final DocType HTML4_LOOSE

HTML4_LOOSE_QUIRKS

public static final DocType HTML4_LOOSE_QUIRKS

XHTML1_TRANSITIONAL

public static final DocType XHTML1_TRANSITIONAL
Method Detail

toString

public String toString()
Convert this doc type to a readable String.

Overrides:
toString in class Object
Returns:
the readable doc type name

equals

public boolean equals(Object value)
Equals method.

Overrides:
equals in class Object
Parameters:
value - value to check
Returns:
true if this doc type matches the value; false otherwise.

hashCode

public int hashCode()
Hash code.

Overrides:
hashCode in class Object
Returns:
the hash code

getValue

public int getValue()
The doc type's int value.

Returns:
the doc type's value