Source Code Cross Referenced for HTMLElementName.java in  » HTML-Parser » jericho-html » au » id » jericho » lib » html » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » HTML Parser » jericho html » au.id.jericho.lib.html 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


0001:        // Jericho HTML Parser - Java based library for analysing and manipulating HTML
0002:        // Version 2.5
0003:        // Copyright (C) 2007 Martin Jericho
0004:        // http://jerichohtml.sourceforge.net/
0005:        //
0006:        // This library is free software; you can redistribute it and/or
0007:        // modify it under the terms of either one of the following licences:
0008:        //
0009:        // 1. The Eclipse Public License (EPL) version 1.0,
0010:        // included in this distribution in the file licence-epl-1.0.html
0011:        // or available at http://www.eclipse.org/legal/epl-v10.html
0012:        //
0013:        // 2. The GNU Lesser General Public License (LGPL) version 2.1 or later,
0014:        // included in this distribution in the file licence-lgpl-2.1.txt
0015:        // or available at http://www.gnu.org/licenses/lgpl.txt
0016:        //
0017:        // This library is distributed on an "AS IS" basis,
0018:        // WITHOUT WARRANTY OF ANY KIND, either express or implied.
0019:        // See the individual licence texts for more details.
0020:
0021:        package au.id.jericho.lib.html;
0022:
0023:        import java.util.*;
0024:
0025:        /**
0026:         * Contains static fields representing the {@linkplain Element#getName() names} of
0027:         * <a target="_blank" href="http://www.w3.org/TR/html401/index/elements.html">all elements defined in the HTML 4.01 specification</a>.
0028:         * <p>
0029:         * All of the name strings are in lower case.
0030:         * <p>
0031:         * The {@link HTMLElements} class is closely related to this interface, containing static methods which group these names 
0032:         * by the characteristics of their associated <a href="HTMLElements.html#HTMLElement">elements</a>.
0033:         * <p>
0034:         * This interface does not specify any methods, but can be inherited by other classes, or statically imported (Java 5.0),
0035:         * to provide less verbose access to the contained element name static fields.
0036:         * <p>
0037:         * The field values in this interface can be used as <code>name</code> arguments in <a href="Tag.html#NamedSearch">named tag searches</a>.
0038:         * <p>
0039:         * Note that since the <code>Tag</code> class implements <code>HTMLElementName</code>, all the constants defined in this interface
0040:         * can be referred to via the <code>Tag</code> class.
0041:         * <br />For example, <code>Tag.BODY</code> is equivalent to <code>HTMLElementName.BODY</code>.
0042:         *
0043:         * @see HTMLElements
0044:         * @see Element
0045:         */
0046:        public interface HTMLElementName {
0047:            /**
0048:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/links.html#edef-A">HTML element A</a> - anchor.
0049:             * <p>
0050:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0051:             * <p>
0052:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0053:             */
0054:            public static final String A = "a";
0055:
0056:            /**
0057:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-ABBR">HTML element ABBR</a> - abbreviated form (e.g., WWW, HTTP, etc.).
0058:             * <p>
0059:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0060:             * <p>
0061:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0062:             */
0063:            public static final String ABBR = "abbr";
0064:
0065:            /**
0066:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-ACRONYM">HTML element ACRONYM</a> - acronym.
0067:             * <p>
0068:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0069:             * <p>
0070:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0071:             */
0072:            public static final String ACRONYM = "acronym";
0073:
0074:            /**
0075:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-ADDRESS">HTML element ADDRESS</a> - information on author.
0076:             * <p>
0077:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0078:             * <p>
0079:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0080:             */
0081:            public static final String ADDRESS = "address";
0082:
0083:            /**
0084:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/objects.html#edef-APPLET">HTML element APPLET</a> - Java applet.
0085:             * <p>
0086:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0087:             * <p>
0088:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0089:             * <p>
0090:             * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
0091:             * (see {@link HTMLElements#getDeprecatedElementNames()})
0092:             */
0093:            public static final String APPLET = "applet";
0094:
0095:            /**
0096:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/objects.html#edef-AREA">HTML element AREA</a> - client-side image map area.
0097:             * <p>
0098:             * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
0099:             */
0100:            public static final String AREA = "area";
0101:
0102:            /**
0103:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-B">HTML element B</a> - bold text style.
0104:             * <p>
0105:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0106:             * <p>
0107:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0108:             */
0109:            public static final String B = "b";
0110:
0111:            /**
0112:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/links.html#edef-BASE">HTML element BASE</a> - document base URI.
0113:             * <p>
0114:             * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
0115:             */
0116:            public static final String BASE = "base";
0117:
0118:            /**
0119:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-BASEFONT">HTML element BASEFONT</a> - base font size.
0120:             * <p>
0121:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0122:             * <p>
0123:             * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
0124:             * <p>
0125:             * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
0126:             * (see {@link HTMLElements#getDeprecatedElementNames()})
0127:             */
0128:            public static final String BASEFONT = "basefont";
0129:
0130:            /**
0131:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/dirlang.html#edef-BDO">HTML element BDO</a> - I18N BiDi over-ride.
0132:             * <p>
0133:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0134:             * <p>
0135:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0136:             */
0137:            public static final String BDO = "bdo";
0138:
0139:            /**
0140:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-BIG">HTML element BIG</a> - large text style.
0141:             * <p>
0142:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0143:             * <p>
0144:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0145:             */
0146:            public static final String BIG = "big";
0147:
0148:            /**
0149:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-BLOCKQUOTE">HTML element BLOCKQUOTE</a> - long quotation.
0150:             * <p>
0151:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0152:             * <p>
0153:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0154:             */
0155:            public static final String BLOCKQUOTE = "blockquote";
0156:
0157:            /**
0158:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-BODY">HTML element BODY</a> - document body.
0159:             * <p>
0160:             * The start tag of this element is {@linkplain HTMLElements#getStartTagOptionalElementNames() optional}.
0161:             * <p>
0162:             * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
0163:             * <table class="CompactDL" cellspacing="0">
0164:             *  <tr>
0165:             *   <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
0166:             *   <td>(none)
0167:             *  <tr>
0168:             *   <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
0169:             *   <td>{@link #BODY}, {@link #HTML}
0170:             *  <tr>
0171:             *   <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
0172:             *   <td>{@link #HTML}
0173:             * </table>
0174:             * <p>
0175:             * Note that the {@link #HTML} element is included as a
0176:             * {@linkplain HTMLElements#getNonterminatingElementNames(String) nonterminating element} in case the source contains
0177:             * (illegaly) nested HTML elements.
0178:             */
0179:            public static final String BODY = "body";
0180:
0181:            /**
0182:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-BR">HTML element BR</a> - forced line break.
0183:             * <p>
0184:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0185:             * <p>
0186:             * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
0187:             */
0188:            public static final String BR = "br";
0189:
0190:            /**
0191:             * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-BUTTON">HTML element BUTTON</a> - push button.
0192:             * <p>
0193:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0194:             * <p>
0195:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0196:             */
0197:            public static final String BUTTON = "button";
0198:
0199:            /**
0200:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-CAPTION">HTML element CAPTION</a> - table caption.
0201:             * <p>
0202:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0203:             */
0204:            public static final String CAPTION = "caption";
0205:
0206:            /**
0207:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-CENTER">HTML element CENTER</a> - shorthand for DIV align=center.
0208:             * <p>
0209:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0210:             * <p>
0211:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0212:             * <p>
0213:             * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
0214:             * (see {@link HTMLElements#getDeprecatedElementNames()})
0215:             */
0216:            public static final String CENTER = "center";
0217:
0218:            /**
0219:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-CITE">HTML element CITE</a> - citation.
0220:             * <p>
0221:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0222:             * <p>
0223:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0224:             */
0225:            public static final String CITE = "cite";
0226:
0227:            /**
0228:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-CODE">HTML element CODE</a> - computer code fragment.
0229:             * <p>
0230:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0231:             * <p>
0232:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0233:             */
0234:            public static final String CODE = "code";
0235:
0236:            /**
0237:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-COL">HTML element COL</a> - table column.
0238:             * <p>
0239:             * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
0240:             */
0241:            public static final String COL = "col";
0242:
0243:            /**
0244:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-COLGROUP">HTML element COLGROUP</a> - table column group.
0245:             * <p>
0246:             * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
0247:             * <table class="CompactDL" cellspacing="0">
0248:             *  <tr>
0249:             *   <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
0250:             *   <td>{@link #COLGROUP}, {@link #TBODY}, {@link #TFOOT}, {@link #THEAD}, {@link #TR}
0251:             *  <tr>
0252:             *   <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
0253:             *   <td>{@link #COLGROUP}, {@link #TABLE}
0254:             *  <tr>
0255:             *   <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
0256:             *   <td>{@link #TABLE}
0257:             * </table>
0258:             */
0259:            public static final String COLGROUP = "colgroup";
0260:
0261:            /**
0262:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/lists.html#edef-DD">HTML element DD</a> - definition description.
0263:             * <p>
0264:             * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
0265:             * <table class="CompactDL" cellspacing="0">
0266:             *  <tr>
0267:             *   <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
0268:             *   <td>{@link #DD}, {@link #DT}
0269:             *  <tr>
0270:             *   <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
0271:             *   <td>{@link #DD}, {@link #DL}
0272:             *  <tr>
0273:             *   <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
0274:             *   <td>{@link #DL}
0275:             * </table>
0276:             */
0277:            public static final String DD = "dd";
0278:
0279:            /**
0280:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-DEL">HTML element DEL</a> - deleted text.
0281:             * <p>
0282:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0283:             * <p>
0284:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0285:             */
0286:            public static final String DEL = "del";
0287:
0288:            /**
0289:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-DFN">HTML element DFN</a> - instance definition.
0290:             * <p>
0291:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0292:             * <p>
0293:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0294:             */
0295:            public static final String DFN = "dfn";
0296:
0297:            /**
0298:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/lists.html#edef-DIR">HTML element DIR</a> - directory list.
0299:             * <p>
0300:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0301:             * <p>
0302:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0303:             * <p>
0304:             * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
0305:             * (see {@link HTMLElements#getDeprecatedElementNames()})
0306:             */
0307:            public static final String DIR = "dir";
0308:
0309:            /**
0310:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-DIV">HTML element DIV</a> - generic language/style container.
0311:             * <p>
0312:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0313:             * <p>
0314:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0315:             */
0316:            public static final String DIV = "div";
0317:
0318:            /**
0319:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/lists.html#edef-DL">HTML element DL</a> - definition list.
0320:             * <p>
0321:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0322:             * <p>
0323:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0324:             */
0325:            public static final String DL = "dl";
0326:
0327:            /**
0328:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/lists.html#edef-DT">HTML element DT</a> - definition term.
0329:             * <p>
0330:             * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
0331:             * <table class="CompactDL" cellspacing="0">
0332:             *  <tr>
0333:             *   <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
0334:             *   <td>{@link #DD}, {@link #DT}
0335:             *  <tr>
0336:             *   <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
0337:             *   <td>{@link #DL}, {@link #DT}
0338:             *  <tr>
0339:             *   <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
0340:             *   <td>{@link #DL}
0341:             * </table>
0342:             */
0343:            public static final String DT = "dt";
0344:
0345:            /**
0346:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-EM">HTML element EM</a> - emphasis.
0347:             * <p>
0348:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0349:             * <p>
0350:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0351:             */
0352:            public static final String EM = "em";
0353:
0354:            /**
0355:             * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-FIELDSET">HTML element FIELDSET</a> - form control group.
0356:             * <p>
0357:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0358:             * <p>
0359:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0360:             */
0361:            public static final String FIELDSET = "fieldset";
0362:
0363:            /**
0364:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-FONT">HTML element FONT</a> - local change to font.
0365:             * <p>
0366:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0367:             * <p>
0368:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0369:             * <p>
0370:             * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
0371:             * (see {@link HTMLElements#getDeprecatedElementNames()})
0372:             */
0373:            public static final String FONT = "font";
0374:
0375:            /**
0376:             * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-FORM">HTML element FORM</a> - interactive form.
0377:             * <p>
0378:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0379:             * <p>
0380:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0381:             */
0382:            public static final String FORM = "form";
0383:
0384:            /**
0385:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/frames.html#edef-FRAME">HTML element FRAME</a> - subwindow.
0386:             * <p>
0387:             * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
0388:             */
0389:            public static final String FRAME = "frame";
0390:
0391:            /**
0392:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/frames.html#edef-FRAMESET">HTML element FRAMESET</a> - window subdivision.
0393:             * <p>
0394:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0395:             */
0396:            public static final String FRAMESET = "frameset";
0397:
0398:            /**
0399:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-H1">HTML element H1</a> - heading.
0400:             * <p>
0401:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0402:             * <p>
0403:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0404:             */
0405:            public static final String H1 = "h1";
0406:
0407:            /**
0408:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-H2">HTML element H2</a> - heading.
0409:             * <p>
0410:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0411:             * <p>
0412:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0413:             */
0414:            public static final String H2 = "h2";
0415:
0416:            /**
0417:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-H3">HTML element H3</a> - heading.
0418:             * <p>
0419:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0420:             * <p>
0421:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0422:             */
0423:            public static final String H3 = "h3";
0424:
0425:            /**
0426:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-H4">HTML element H4</a> - heading.
0427:             * <p>
0428:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0429:             * <p>
0430:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0431:             */
0432:            public static final String H4 = "h4";
0433:
0434:            /**
0435:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-H5">HTML element H5</a> - heading.
0436:             * <p>
0437:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0438:             * <p>
0439:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0440:             */
0441:            public static final String H5 = "h5";
0442:
0443:            /**
0444:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-H6">HTML element H6</a> - heading.
0445:             * <p>
0446:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0447:             * <p>
0448:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0449:             */
0450:            public static final String H6 = "h6";
0451:
0452:            /**
0453:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-HEAD">HTML element HEAD</a> - document head.
0454:             * <p>
0455:             * The start tag of this element is {@linkplain HTMLElements#getStartTagOptionalElementNames() optional}.
0456:             * <p>
0457:             * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
0458:             * <table class="CompactDL" cellspacing="0">
0459:             *  <tr>
0460:             *   <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
0461:             *   <td>{@link #BODY}, {@link #FRAMESET}
0462:             *  <tr>
0463:             *   <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
0464:             *   <td>{@link #HEAD}, {@link #HTML}
0465:             *  <tr>
0466:             *   <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
0467:             *   <td>(none)
0468:             * </table>
0469:             */
0470:            public static final String HEAD = "head";
0471:
0472:            /**
0473:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-HR">HTML element HR</a> - horizontal rule.
0474:             * <p>
0475:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0476:             * <p>
0477:             * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
0478:             */
0479:            public static final String HR = "hr";
0480:
0481:            /**
0482:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-HTML">HTML element HTML</a> - document root element.
0483:             * <p>
0484:             * The start tag of this element is {@linkplain HTMLElements#getStartTagOptionalElementNames() optional}.
0485:             * <p>
0486:             * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
0487:             * <table class="CompactDL" cellspacing="0">
0488:             *  <tr>
0489:             *   <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
0490:             *   <td>(none)
0491:             *  <tr>
0492:             *   <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
0493:             *   <td>{@link #HTML}
0494:             *  <tr>
0495:             *   <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
0496:             *   <td>{@link #HTML}
0497:             * </table>
0498:             * <p>
0499:             * Note that the {@link #HTML} element is included as a
0500:             * {@linkplain HTMLElements#getNonterminatingElementNames(String) nonterminating element} in case the source contains
0501:             * (illegaly) nested HTML elements.
0502:             */
0503:            public static final String HTML = "html";
0504:
0505:            /**
0506:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-I">HTML element I</a> - italic text style.
0507:             * <p>
0508:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0509:             * <p>
0510:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0511:             */
0512:            public static final String I = "i";
0513:
0514:            /**
0515:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/frames.html#edef-IFRAME">HTML element IFRAME</a> - inline subwindow.
0516:             * <p>
0517:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0518:             * <p>
0519:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0520:             */
0521:            public static final String IFRAME = "iframe";
0522:
0523:            /**
0524:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/objects.html#edef-IMG">HTML element IMG</a> - Embedded image.
0525:             * <p>
0526:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0527:             * <p>
0528:             * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
0529:             */
0530:            public static final String IMG = "img";
0531:
0532:            /**
0533:             * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-INPUT">HTML element INPUT</a> - form control.
0534:             * <p>
0535:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0536:             * <p>
0537:             * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
0538:             */
0539:            public static final String INPUT = "input";
0540:
0541:            /**
0542:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-INS">HTML element INS</a> - inserted text.
0543:             * <p>
0544:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0545:             * <p>
0546:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0547:             */
0548:            public static final String INS = "ins";
0549:
0550:            /**
0551:             * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-ISINDEX">HTML element ISINDEX</a> - single line prompt.
0552:             * <p>
0553:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0554:             * <p>
0555:             * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
0556:             * <p>
0557:             * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
0558:             * (see {@link HTMLElements#getDeprecatedElementNames()})
0559:             */
0560:            public static final String ISINDEX = "isindex";
0561:
0562:            /**
0563:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-KBD">HTML element KBD</a> - text to be entered by the user.
0564:             * <p>
0565:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0566:             * <p>
0567:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0568:             */
0569:            public static final String KBD = "kbd";
0570:
0571:            /**
0572:             * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-LABEL">HTML element LABEL</a> - form field label text.
0573:             * <p>
0574:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0575:             * <p>
0576:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0577:             */
0578:            public static final String LABEL = "label";
0579:
0580:            /**
0581:             * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-LEGEND">HTML element LEGEND</a> - fieldset legend.
0582:             * <p>
0583:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0584:             */
0585:            public static final String LEGEND = "legend";
0586:
0587:            /**
0588:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/lists.html#edef-LI">HTML element LI</a> - list item.
0589:             * <p>
0590:             * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
0591:             * <table class="CompactDL" cellspacing="0">
0592:             *  <tr>
0593:             *   <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
0594:             *   <td>{@link #LI}
0595:             *  <tr>
0596:             *   <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
0597:             *   <td>{@link #LI}, {@link #OL}, {@link #UL}
0598:             *  <tr>
0599:             *   <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
0600:             *   <td>{@link #OL}, {@link #UL}
0601:             * </table>
0602:             */
0603:            public static final String LI = "li";
0604:
0605:            /**
0606:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/links.html#edef-LINK">HTML element LINK</a> - a media-independent link.
0607:             * <p>
0608:             * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
0609:             */
0610:            public static final String LINK = "link";
0611:
0612:            /**
0613:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/objects.html#edef-MAP">HTML element MAP</a> - client-side image map.
0614:             * <p>
0615:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0616:             * <p>
0617:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0618:             */
0619:            public static final String MAP = "map";
0620:
0621:            /**
0622:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/lists.html#edef-MENU">HTML element MENU</a> - menu list.
0623:             * <p>
0624:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0625:             * <p>
0626:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0627:             * <p>
0628:             * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
0629:             * (see {@link HTMLElements#getDeprecatedElementNames()})
0630:             */
0631:            public static final String MENU = "menu";
0632:
0633:            /**
0634:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-META">HTML element META</a> - generic metainformation.
0635:             * <p>
0636:             * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
0637:             */
0638:            public static final String META = "meta";
0639:
0640:            /**
0641:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/frames.html#edef-NOFRAMES">HTML element NOFRAMES</a> - alternate content container for non frame-based rendering.
0642:             * <p>
0643:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0644:             * <p>
0645:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0646:             */
0647:            public static final String NOFRAMES = "noframes";
0648:
0649:            /**
0650:             * <a target="_blank" href="http://www.w3.org/TR/html401/interact/scripts.html#edef-NOSCRIPT">HTML element NOSCRIPT</a> - alternate content container for non script-based rendering.
0651:             * <p>
0652:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0653:             * <p>
0654:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0655:             */
0656:            public static final String NOSCRIPT = "noscript";
0657:
0658:            /**
0659:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/objects.html#edef-OBJECT">HTML element OBJECT</a> - generic embedded object.
0660:             * <p>
0661:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0662:             * <p>
0663:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0664:             */
0665:            public static final String OBJECT = "object";
0666:
0667:            /**
0668:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/lists.html#edef-OL">HTML element OL</a> - ordered list.
0669:             * <p>
0670:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0671:             * <p>
0672:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0673:             */
0674:            public static final String OL = "ol";
0675:
0676:            /**
0677:             * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-OPTGROUP">HTML element OPTGROUP</a> - option group.
0678:             * <p>
0679:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0680:             */
0681:            public static final String OPTGROUP = "optgroup";
0682:
0683:            /**
0684:             * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-OPTION">HTML element OPTION</a> - selectable choice.
0685:             * <p>
0686:             * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
0687:             * <table class="CompactDL" cellspacing="0">
0688:             *  <tr>
0689:             *   <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
0690:             *   <td>{@link #OPTGROUP}, {@link #OPTION}
0691:             *  <tr>
0692:             *   <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
0693:             *   <td>{@link #OPTION}, {@link #SELECT}
0694:             *  <tr>
0695:             *   <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
0696:             *   <td>(none)
0697:             * </table>
0698:             */
0699:            public static final String OPTION = "option";
0700:
0701:            /**
0702:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-P">HTML element P</a> - paragraph.
0703:             * <p>
0704:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0705:             * <p>
0706:             * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
0707:             * <table class="CompactDL" cellspacing="0">
0708:             *  <tr>
0709:             *   <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
0710:             *   <td>{@linkplain HTMLElements#getBlockLevelElementNames() All block-level element names},<br />
0711:             *    {@link #DD}, {@link #DT}, {@link #LI}, {@link #TD}, {@link #TH}
0712:             *  <tr>
0713:             *   <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
0714:             *   <td>{@linkplain HTMLElements#getBlockLevelElementNames() All block-level element names},<br />
0715:             *    {@link #BODY}, {@link #CAPTION}, {@link #DD}, {@link #DT}, {@link #HTML}, {@link #LEGEND}, {@link #TD}, {@link #TH},
0716:             *    {@link #TBODY}, {@link #TFOOT}, {@link #THEAD}, {@link #TR}
0717:             *  <tr>
0718:             *   <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
0719:             *   <td>(none)
0720:             * </table>
0721:             * <p>
0722:             * The <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-P">definition of this element in the HTML 4.01 specification</a>
0723:             * explicitly states that the <code>P</code> element cannot contain {@linkplain HTMLElements#getBlockLevelElementNames() block-level}
0724:             * elements.
0725:             * Despite this, all of the popular browsers (in at least some modes of operation) allow <code>P</code> elements to enclose 
0726:             * {@link #TABLE} elements, which are also block-level elements.
0727:             * <p>
0728:             * It is possible to make this parser compatible with this incorrect behaviour by executing the following code:
0729:             * <pre>
0730:             * {@link HTMLElements#getTerminatingStartTagNames(String) HTMLElements.getTerminatingStartTagNames}(HTMLElementName.P).remove(HTMLElementName.TABLE);
0731:             * {@link HTMLElements#getNonterminatingElementNames(String) HTMLElements.getNonterminatingElementNames}(HTMLElementName.P).add(HTMLElementName.TABLE);</pre>
0732:             */
0733:            public static final String P = "p";
0734:
0735:            /**
0736:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/objects.html#edef-PARAM">HTML element PARAM</a> - named property value.
0737:             * <p>
0738:             * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
0739:             */
0740:            public static final String PARAM = "param";
0741:
0742:            /**
0743:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-PRE">HTML element PRE</a> - preformatted text.
0744:             * <p>
0745:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0746:             * <p>
0747:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0748:             */
0749:            public static final String PRE = "pre";
0750:
0751:            /**
0752:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-Q">HTML element Q</a> - short inline quotation.
0753:             * <p>
0754:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0755:             * <p>
0756:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0757:             */
0758:            public static final String Q = "q";
0759:
0760:            /**
0761:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-S">HTML element S</a> - strike-through text style.
0762:             * <p>
0763:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0764:             * <p>
0765:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0766:             * <p>
0767:             * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
0768:             * (see {@link HTMLElements#getDeprecatedElementNames()})
0769:             */
0770:            public static final String S = "s";
0771:
0772:            /**
0773:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-SAMP">HTML element SAMP</a> - sample program output, scripts, etc..
0774:             * <p>
0775:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0776:             * <p>
0777:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0778:             */
0779:            public static final String SAMP = "samp";
0780:
0781:            /**
0782:             * <a target="_blank" href="http://www.w3.org/TR/html401/interact/scripts.html#edef-SCRIPT">HTML element SCRIPT</a> - script statements.
0783:             * <p>
0784:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0785:             * <p>
0786:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0787:             */
0788:            public static final String SCRIPT = "script";
0789:
0790:            /**
0791:             * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-SELECT">HTML element SELECT</a> - option selector.
0792:             * <p>
0793:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0794:             * <p>
0795:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0796:             */
0797:            public static final String SELECT = "select";
0798:
0799:            /**
0800:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-SMALL">HTML element SMALL</a> - small text style.
0801:             * <p>
0802:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0803:             * <p>
0804:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0805:             */
0806:            public static final String SMALL = "small";
0807:
0808:            /**
0809:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-SPAN">HTML element SPAN</a> - generic language/style container.
0810:             * <p>
0811:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0812:             */
0813:            public static final String SPAN = "span";
0814:
0815:            /**
0816:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-STRIKE">HTML element STRIKE</a> - strike-through text.
0817:             * <p>
0818:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0819:             * <p>
0820:             * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
0821:             * (see {@link HTMLElements#getDeprecatedElementNames()})
0822:             */
0823:            public static final String STRIKE = "strike";
0824:
0825:            /**
0826:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-STRONG">HTML element STRONG</a> - strong emphasis.
0827:             * <p>
0828:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0829:             * <p>
0830:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0831:             */
0832:            public static final String STRONG = "strong";
0833:
0834:            /**
0835:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/styles.html#edef-STYLE">HTML element STYLE</a> - style info.
0836:             * <p>
0837:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0838:             */
0839:            public static final String STYLE = "style";
0840:
0841:            /**
0842:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-SUB">HTML element SUB</a> - subscript.
0843:             * <p>
0844:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0845:             * <p>
0846:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0847:             */
0848:            public static final String SUB = "sub";
0849:
0850:            /**
0851:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-SUP">HTML element SUP</a> - superscript.
0852:             * <p>
0853:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0854:             * <p>
0855:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0856:             */
0857:            public static final String SUP = "sup";
0858:
0859:            /**
0860:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-TABLE">HTML element TABLE</a> - table.
0861:             * <p>
0862:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
0863:             * <p>
0864:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0865:             */
0866:            public static final String TABLE = "table";
0867:
0868:            /**
0869:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-TBODY">HTML element TBODY</a> - table body.
0870:             * <p>
0871:             * The start tag of this element is {@linkplain HTMLElements#getStartTagOptionalElementNames() optional}.
0872:             * <p>
0873:             * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
0874:             * <table class="CompactDL" cellspacing="0">
0875:             *  <tr>
0876:             *   <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
0877:             *   <td>{@link #TBODY}, {@link #TFOOT}, {@link #THEAD}
0878:             *  <tr>
0879:             *   <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
0880:             *   <td>{@link #TABLE}, {@link #TBODY}
0881:             *  <tr>
0882:             *   <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
0883:             *   <td>{@link #TABLE}
0884:             * </table>
0885:             * <p>
0886:             * Note that the {@link #TFOOT} and {@link #THEAD} elements are included as
0887:             * {@linkplain HTMLElements#getTerminatingStartTagNames(String) terminating start tags}, even though the 
0888:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#h-11.2.3">HTML 4.01 specification section 11.2.3</a>
0889:             * states that they must precede the {@link #TBODY} element inside a {@link #TABLE}.
0890:             * Most browsers tolerate an incorrect ordering of the {@link #THEAD}, {@link #TFOOT} and {@link #TBODY} elements,
0891:             * so this parser also recognises the elements in any order.
0892:             */
0893:            public static final String TBODY = "tbody";
0894:
0895:            /**
0896:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-TD">HTML element TD</a> - table data cell.
0897:             * <p>
0898:             * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
0899:             * <table class="CompactDL" cellspacing="0">
0900:             *  <tr>
0901:             *   <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
0902:             *   <td>{@link #TBODY}, {@link #TD}, {@link #TFOOT}, {@link #TH}, {@link #THEAD}, {@link #TR}
0903:             *  <tr>
0904:             *   <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
0905:             *   <td>{@link #TABLE}, {@link #TBODY}, {@link #TD}, {@link #TFOOT}, {@link #THEAD}, {@link #TR}
0906:             *  <tr>
0907:             *   <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
0908:             *   <td>{@link #TABLE}
0909:             * </table>
0910:             */
0911:            public static final String TD = "td";
0912:
0913:            /**
0914:             * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-TEXTAREA">HTML element TEXTAREA</a> - multi-line text field.
0915:             * <p>
0916:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0917:             * <p>
0918:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
0919:             */
0920:            public static final String TEXTAREA = "textarea";
0921:
0922:            /**
0923:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-TFOOT">HTML element TFOOT</a> - table footer.
0924:             * <p>
0925:             * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
0926:             * <table class="CompactDL" cellspacing="0">
0927:             *  <tr>
0928:             *   <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
0929:             *   <td>{@link #TBODY}, {@link #TFOOT}, {@link #THEAD}
0930:             *  <tr>
0931:             *   <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
0932:             *   <td>{@link #TABLE}, {@link #TFOOT}
0933:             *  <tr>
0934:             *   <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
0935:             *   <td>{@link #TABLE}
0936:             * </table>
0937:             */
0938:            public static final String TFOOT = "tfoot";
0939:
0940:            /**
0941:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-TH">HTML element TH</a> - table header cell.
0942:             * <p>
0943:             * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
0944:             * <table class="CompactDL" cellspacing="0">
0945:             *  <tr>
0946:             *   <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
0947:             *   <td>{@link #TBODY}, {@link #TD}, {@link #TFOOT}, {@link #TH}, {@link #THEAD}, {@link #TR}
0948:             *  <tr>
0949:             *   <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
0950:             *   <td>{@link #TABLE}, {@link #TBODY}, {@link #TFOOT}, {@link #TH}, {@link #THEAD}, {@link #TR}
0951:             *  <tr>
0952:             *   <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
0953:             *   <td>{@link #TABLE}
0954:             * </table>
0955:             */
0956:            public static final String TH = "th";
0957:
0958:            /**
0959:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-THEAD">HTML element THEAD</a> - table header.
0960:             * <p>
0961:             * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
0962:             * <table class="CompactDL" cellspacing="0">
0963:             *  <tr>
0964:             *   <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
0965:             *   <td>{@link #TBODY}, {@link #TFOOT}, {@link #THEAD}
0966:             *  <tr>
0967:             *   <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
0968:             *   <td>{@link #TABLE}, {@link #THEAD}
0969:             *  <tr>
0970:             *   <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
0971:             *   <td>{@link #TABLE}
0972:             * </table>
0973:             */
0974:            public static final String THEAD = "thead";
0975:
0976:            /**
0977:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-TITLE">HTML element TITLE</a> - document title.
0978:             * <p>
0979:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
0980:             */
0981:            public static final String TITLE = "title";
0982:
0983:            /**
0984:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-TR">HTML element TR</a> - table row.
0985:             * <p>
0986:             * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
0987:             * <table class="CompactDL" cellspacing="0">
0988:             *  <tr>
0989:             *   <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
0990:             *   <td>{@link #TBODY}, {@link #TFOOT}, {@link #THEAD}, {@link #TR}
0991:             *  <tr>
0992:             *   <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
0993:             *   <td>{@link #TABLE}, {@link #TBODY}, {@link #TFOOT}, {@link #THEAD}, {@link #TR}
0994:             *  <tr>
0995:             *   <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
0996:             *   <td>{@link #TABLE}
0997:             * </table>
0998:             */
0999:            public static final String TR = "tr";
1000:
1001:            /**
1002:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-TT">HTML element TT</a> - teletype or monospaced text style.
1003:             * <p>
1004:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1005:             * <p>
1006:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
1007:             */
1008:            public static final String TT = "tt";
1009:
1010:            /**
1011:             * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-U">HTML element U</a> - underlined text style.
1012:             * <p>
1013:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
1014:             * <p>
1015:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1016:             * <p>
1017:             * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
1018:             * (see {@link HTMLElements#getDeprecatedElementNames()})
1019:             */
1020:            public static final String U = "u";
1021:
1022:            /**
1023:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/lists.html#edef-UL">HTML element UL</a> - unordered list.
1024:             * <p>
1025:             * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
1026:             * <p>
1027:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1028:             */
1029:            public static final String UL = "ul";
1030:
1031:            /**
1032:             * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-VAR">HTML element VAR</a> - instance of a variable or program argument.
1033:             * <p>
1034:             * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
1035:             * <p>
1036:             * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1037:             */
1038:            public static final String VAR = "var";
1039:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.