com.bigdata.counters.render
Enum DoctypeEnum
java.lang.Object
java.lang.Enum<DoctypeEnum>
com.bigdata.counters.render.DoctypeEnum
- All Implemented Interfaces:
- Serializable, Comparable<DoctypeEnum>
public enum DoctypeEnum
- extends Enum<DoctypeEnum>
html_4_01_strict
public static final DoctypeEnum html_4_01_strict
html_4_01_transitional
public static final DoctypeEnum html_4_01_transitional
xhtml_1_0_strict
public static final DoctypeEnum xhtml_1_0_strict
values
public static DoctypeEnum[] 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 (DoctypeEnum c : DoctypeEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DoctypeEnum 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
publicId
public String publicId()
systemId
public String systemId()
isXML
public boolean isXML()
writeValid
public void writeValid(Writer w)
throws IOException
- Writes the W3C "valid" icon into the page for the
DoctypeEnum.
- Parameters:
w -
- Throws:
IOException
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.