Package org.apache.wiki.util
Enum XHTML
- All Implemented Interfaces:
Serializable,Comparable<XHTML>,java.lang.constant.Constable
public enum XHTML extends Enum<XHTML>
Provides constants for the Extensible HyperText Markup Language (XHTML) 1.0.
- Since:
- 2.10
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description aabbracronymaddressappletareabbasebasefontbdobigblockquotebodybrbuttoncaptioncentercitecodecolcolgroupdddeldfndirdivdldtemfieldsetfontformframeframeseth1h2h3h4h5h6headhrhtmliiframeimginputinsisindexkbdlabellegendlilinkmapmenumetanoframesnoscriptobjectoloptgroupoptionpparampreqssampscriptselectsmallspanstrikestrongstylesubsuptabletbodytdtextareatfootththeadtitletrttuulvar -
Field Summary
Fields Modifier and Type Field Description static StringATTR_alignString containing the XHTML 'align' attribute name (i.e., 'align').static StringATTR_altString containing the XHTML 'alt' attribute name (i.e., 'alt').static StringATTR_bgcolorString containing the XHTML 'bgcolor' attribute name (i.e., 'bgcolor').static StringATTR_borderString containing the XHTML 'border' attribute name (i.e., 'border').static StringATTR_cellpaddingString containing the XHTML 'cellpadding' attribute name (i.e., 'cellpadding').static StringATTR_cellspacingString containing the XHTML 'cellspacing' attribute name (i.e., 'cellspacing').static StringATTR_checkedString containing the XHTML 'checked' attribute name (i.e., 'checked').static StringATTR_classString containing the XHTML 'class' attribute name (i.e., 'class').static StringATTR_colsString containing the XHTML 'cols' attribute name (i.e., 'cols').static StringATTR_colspanString containing the XHTML 'colspan' attribute name (i.e., 'colspan').static StringATTR_contentString containing the XHTML 'content' attribute name (i.e., 'content').static StringATTR_heightString containing the XHTML 'height' attribute name (i.e., 'height').static StringATTR_hrefString containing the XHTML 'href' attribute name (i.e., 'href').static StringATTR_httpEquivString containing the XHTML 'http-equiv' attribute name (i.e., 'http-equiv').static StringATTR_idString containing the XHTML 'id' attribute name (i.e., 'id').static StringATTR_nameString containing the XHTML 'name' attribute name (i.e., 'name').static StringATTR_relString containing the XHTML 'rel' attribute name (i.e., 'rel').static StringATTR_rowsString containing the XHTML 'rows' attribute name (i.e., 'rows').static StringATTR_schemeString containing the XHTML 'scheme' attribute name (i.e., 'scheme').static StringATTR_selectedString containing the XHTML 'selected' attribute name (i.e., 'selected').static StringATTR_sizeString containing the XHTML 'size' attribute name (i.e., 'size').static StringATTR_srcString containing the XHTML 'src' attribute name (i.e., 'src').static StringATTR_styleString containing the XHTML 'style' attribute name (i.e., 'style').static StringATTR_titleString containing the XHTML 'title' attribute name (i.e., 'title').static StringATTR_typeString containing the XHTML 'type' attribute name (i.e., 'type').static StringATTR_valueString containing the XHTML 'value' attribute name (i.e., 'value').static StringATTR_widthString containing the XHTML 'width' attribute name (i.e., 'width').static StringCSS_styleAn identifier for the CSS stylesheet notation using its W3C home page URI.static StringFRAMESET_DTD_PubIdA String containing the Formal Public Identifier (FPI) for the XHTML 1.0 Frameset DTD.static StringFRAMESET_DTD_SysIdA String containing a system identifier for the XHTML 1.0 Frameset DTD.static StringSTRICT_DTD_PubIdA String containing the Formal Public Identifier (FPI) for the XHTML 1.0 Strict DTD.static StringSTRICT_DTD_SysIdA String containing a system identifier for the XHTML 1.0 Strict DTD.static StringTRANSITIONAL_DTD_PubIdA String containing the Formal Public Identifier (FPI) for the XHTML 1.0 Transitional DTD.static StringTRANSITIONAL_DTD_SysIdA String containing a system identifier for the XHTML 1.0 Transitional DTD.static StringXMLNS_xhtmlXML Namespace URI for the Extensible HyperText Markup Language (XHTML). -
Method Summary
Modifier and Type Method Description StringgetName()Returns the element type name (AKA generic identifier).static StringgetNamedCharacterEntity(int num)Returns a String containing the named character entity corresponding to the character number num for the range 160-255.static XHTMLvalueOf(String name)Returns the enum constant of this type with the specified name.static XHTML[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
a
-
abbr
-
acronym
-
address
-
applet
-
area
-
b
-
base
-
basefont
-
bdo
-
big
-
blockquote
-
body
-
br
-
button
-
caption
-
center
-
cite
-
code
-
col
-
colgroup
-
dd
-
del
-
dfn
-
dir
-
div
-
dl
-
dt
-
em
-
fieldset
-
font
-
form
-
frame
-
frameset
-
h1
-
h2
-
h3
-
h4
-
h5
-
h6
-
head
-
hr
-
html
-
i
-
iframe
-
img
-
input
-
ins
-
isindex
-
kbd
-
label
-
legend
-
li
-
link
-
map
-
meta
-
noframes
-
noscript
-
object
-
ol
-
optgroup
-
option
-
p
-
param
-
pre
-
q
-
s
-
samp
-
script
-
select
-
small
-
span
-
strike
-
strong
-
style
-
sub
-
sup
-
table
-
tbody
-
td
-
textarea
-
tfoot
-
th
-
thead
-
title
-
tr
-
tt
-
u
-
ul
-
var
-
-
Field Details
-
XMLNS_xhtml
XML Namespace URI for the Extensible HyperText Markup Language (XHTML).- See Also:
- Constant Field Values
-
STRICT_DTD_PubId
A String containing the Formal Public Identifier (FPI) for the XHTML 1.0 Strict DTD.- See Also:
- Constant Field Values
-
STRICT_DTD_SysId
A String containing a system identifier for the XHTML 1.0 Strict DTD. -
TRANSITIONAL_DTD_PubId
A String containing the Formal Public Identifier (FPI) for the XHTML 1.0 Transitional DTD.- See Also:
- Constant Field Values
-
TRANSITIONAL_DTD_SysId
A String containing a system identifier for the XHTML 1.0 Transitional DTD. -
FRAMESET_DTD_PubId
A String containing the Formal Public Identifier (FPI) for the XHTML 1.0 Frameset DTD.- See Also:
- Constant Field Values
-
FRAMESET_DTD_SysId
A String containing a system identifier for the XHTML 1.0 Frameset DTD. -
CSS_style
An identifier for the CSS stylesheet notation using its W3C home page URI.- See Also:
- Constant Field Values
-
ATTR_id
String containing the XHTML 'id' attribute name (i.e., 'id').- See Also:
- Constant Field Values
-
ATTR_class
String containing the XHTML 'class' attribute name (i.e., 'class').- See Also:
- Constant Field Values
-
ATTR_name
String containing the XHTML 'name' attribute name (i.e., 'name').- See Also:
- Constant Field Values
-
ATTR_type
String containing the XHTML 'type' attribute name (i.e., 'type').- See Also:
- Constant Field Values
-
ATTR_value
String containing the XHTML 'value' attribute name (i.e., 'value').- See Also:
- Constant Field Values
-
ATTR_href
String containing the XHTML 'href' attribute name (i.e., 'href').- See Also:
- Constant Field Values
-
ATTR_title
String containing the XHTML 'title' attribute name (i.e., 'title').- See Also:
- Constant Field Values
-
ATTR_width
String containing the XHTML 'width' attribute name (i.e., 'width').- See Also:
- Constant Field Values
-
ATTR_height
String containing the XHTML 'height' attribute name (i.e., 'height').- See Also:
- Constant Field Values
-
ATTR_border
String containing the XHTML 'border' attribute name (i.e., 'border').- See Also:
- Constant Field Values
-
ATTR_colspan
String containing the XHTML 'colspan' attribute name (i.e., 'colspan').- See Also:
- Constant Field Values
-
ATTR_src
String containing the XHTML 'src' attribute name (i.e., 'src').- See Also:
- Constant Field Values
-
ATTR_alt
String containing the XHTML 'alt' attribute name (i.e., 'alt').- See Also:
- Constant Field Values
-
ATTR_bgcolor
String containing the XHTML 'bgcolor' attribute name (i.e., 'bgcolor').- See Also:
- Constant Field Values
-
ATTR_checked
String containing the XHTML 'checked' attribute name (i.e., 'checked').- See Also:
- Constant Field Values
-
ATTR_cols
String containing the XHTML 'cols' attribute name (i.e., 'cols').- See Also:
- Constant Field Values
-
ATTR_content
String containing the XHTML 'content' attribute name (i.e., 'content').- See Also:
- Constant Field Values
-
ATTR_httpEquiv
String containing the XHTML 'http-equiv' attribute name (i.e., 'http-equiv').- See Also:
- Constant Field Values
-
ATTR_scheme
String containing the XHTML 'scheme' attribute name (i.e., 'scheme').- See Also:
- Constant Field Values
-
ATTR_rel
String containing the XHTML 'rel' attribute name (i.e., 'rel').- See Also:
- Constant Field Values
-
ATTR_rows
String containing the XHTML 'rows' attribute name (i.e., 'rows').- See Also:
- Constant Field Values
-
ATTR_selected
String containing the XHTML 'selected' attribute name (i.e., 'selected').- See Also:
- Constant Field Values
-
ATTR_size
String containing the XHTML 'size' attribute name (i.e., 'size').- See Also:
- Constant Field Values
-
ATTR_style
String containing the XHTML 'style' attribute name (i.e., 'style').- See Also:
- Constant Field Values
-
ATTR_align
String containing the XHTML 'align' attribute name (i.e., 'align').- See Also:
- Constant Field Values
-
ATTR_cellpadding
String containing the XHTML 'cellpadding' attribute name (i.e., 'cellpadding').- See Also:
- Constant Field Values
-
ATTR_cellspacing
String containing the XHTML 'cellspacing' attribute name (i.e., 'cellspacing').- See Also:
- Constant Field Values
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
getName
Returns the element type name (AKA generic identifier). This is a convenience method that returns the same value as XHTML.<GI>>.name();. -
getNamedCharacterEntity
Returns a String containing the named character entity corresponding to the character number num for the range 160-255. Throws an ArrayOutOfBoundsException if beyond the prescribed range.
-