22 * or visit www.oracle.com if you need additional information or have any |
22 * or visit www.oracle.com if you need additional information or have any |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 |
25 |
26 package com.sun.tools.doclets.formats.html.markup; |
26 package com.sun.tools.doclets.formats.html.markup; |
|
27 |
|
28 import java.util.Locale; |
27 |
29 |
28 /** |
30 /** |
29 * Enum representing HTML tags. |
31 * Enum representing HTML tags. |
30 * |
32 * |
31 * <p><b>This is NOT part of any supported API. |
33 * <p><b>This is NOT part of any supported API. |
113 } |
115 } |
114 |
116 |
115 HtmlTag(BlockType blockType, EndTag endTag ) { |
117 HtmlTag(BlockType blockType, EndTag endTag ) { |
116 this.blockType = blockType; |
118 this.blockType = blockType; |
117 this.endTag = endTag; |
119 this.endTag = endTag; |
118 this.value = name().toLowerCase(); |
120 this.value = name().toLowerCase(Locale.US); |
119 } |
121 } |
120 |
122 |
121 /** |
123 /** |
122 * Returns true if the end tag is required. This is specific to the standard |
124 * Returns true if the end tag is required. This is specific to the standard |
123 * doclet and does not exactly resemble the W3C specifications. |
125 * doclet and does not exactly resemble the W3C specifications. |