|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PageDocType> lumis.portal.presentation.PageDocType
public enum PageDocType
Enumeration of the possible page doc types.
Enum Constant Summary | |
---|---|
HTML20_DTD
HTML 2.0 DTD DOCTYPE |
|
HTML32_DTD
HTML 3.2 DTD DOCTYPE |
|
HTML401_FRAMESET
HTML 4.01 Frameset DOCTYPE |
|
HTML401_STRICT
HTML 4.01 Strict DOCTYPE |
|
HTML401_TRANSITIONAL
HTML 4.01 Transitional DOCTYPE |
|
NONE
Do not specify a Doctype |
|
XHTML10_FRAMESET
XHTML 1.0 Frameset DOCTYPE |
|
XHTML10_STRICT
XHTML 1.0 Strict DOCTYPE |
|
XHTML10_TRANSITIONAL
XHTML 1.0 Transitional DOCTYPE |
|
XHTML11_DTD
XHTML 1.1 DTD DOCTYPE |
|
XHTMLBASIC10_DTD
XHTML Basic 1.0 DTD DOCTYPE |
|
XHTMLBASIC11_DTD
XHTML Basic 1.1 DTD DOCTYPE |
Method Summary | |
---|---|
String |
formatW3CClosedTag(String tagValue)
Depending on the DOCType, the closing xml tags may be in different formats. |
String |
getDocTypeDeclaration()
|
static PageDocType |
getPageDocTypeByName(String pageDocTypeName)
|
String |
getW3CHtmlTagAttributes(String locale)
|
static PageDocType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PageDocType[] |
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 |
---|
public static final PageDocType XHTML10_STRICT
public static final PageDocType XHTML10_TRANSITIONAL
public static final PageDocType XHTML10_FRAMESET
public static final PageDocType XHTML11_DTD
public static final PageDocType XHTMLBASIC10_DTD
public static final PageDocType XHTMLBASIC11_DTD
public static final PageDocType HTML401_STRICT
public static final PageDocType HTML401_TRANSITIONAL
public static final PageDocType HTML401_FRAMESET
public static final PageDocType HTML20_DTD
public static final PageDocType HTML32_DTD
public static final PageDocType NONE
Method Detail |
---|
public static PageDocType[] values()
for (PageDocType c : PageDocType.values()) System.out.println(c);
public static PageDocType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getDocTypeDeclaration()
public static PageDocType getPageDocTypeByName(String pageDocTypeName)
public String formatW3CClosedTag(String tagValue)
tagValue
-
public String getW3CHtmlTagAttributes(String locale)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |