Class HTML.UnknownTag
java.lang.Object
javax.swing.text.html.HTML.Tag
javax.swing.text.html.HTML.UnknownTag
- All Implemented Interfaces:
Serializable
- Enclosing class:
HTML
Class represents unknown HTML tag.
-
Field Summary
Fields declared in class HTML.Tag
A, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BIG, BLOCKQUOTE, BODY, BR, CAPTION, CENTER, CITE, CODE, COMMENT, CONTENT, DD, DFN, DIR, DIV, DL, DT, EM, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, HR, HTML, I, IMG, IMPLIED, INPUT, ISINDEX, KBD, LI, LINK, MAP, MENU, META, NOFRAMES, OBJECT, OL, OPTION, P, PARAM, PRE, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, SUP, TABLE, TD, TEXTAREA, TH, TITLE, TR, TT, U, UL, VARModifier and TypeFieldDescriptionstatic final HTML.TagTag <a>static final HTML.TagTag <address>static final HTML.TagTag <applet>static final HTML.TagTag <area>static final HTML.TagTag <b>static final HTML.TagTag <base>static final HTML.TagTag <basefont>static final HTML.TagTag <big>static final HTML.TagTag <blockquote>static final HTML.TagTag <body>static final HTML.TagTag <br>static final HTML.TagTag <caption>static final HTML.TagTag <center>static final HTML.TagTag <cite>static final HTML.TagTag <code>static final HTML.TagAll comments are labeled with this tag.static final HTML.TagAll text content is labeled with this tag.static final HTML.TagTag <dd>static final HTML.TagTag <dfn>static final HTML.TagTag <dir>static final HTML.TagTag <div>static final HTML.TagTag <dl>static final HTML.TagTag <dt>static final HTML.TagTag <em>static final HTML.TagTag <font>static final HTML.TagTag <form>static final HTML.TagTag <frame>static final HTML.TagTag <frameset>static final HTML.TagTag <h1>static final HTML.TagTag <h2>static final HTML.TagTag <h3>static final HTML.TagTag <h4>static final HTML.TagTag <h5>static final HTML.TagTag <h6>static final HTML.TagTag <head>static final HTML.TagTag <hr>static final HTML.TagTag <html>static final HTML.TagTag <i>static final HTML.TagTag <img>static final HTML.TagAll text content must be in a paragraph element.static final HTML.TagTag <input>static final HTML.TagTag <isindex>static final HTML.TagTag <kbd>static final HTML.TagTag <li>static final HTML.TagTag <link>static final HTML.TagTag <map>static final HTML.TagTag <menu>static final HTML.TagTag <meta>static final HTML.TagTag <noframes>static final HTML.TagTag <object>static final HTML.TagTag <ol>static final HTML.TagTag <option>static final HTML.TagTag <p>static final HTML.TagTag <param>static final HTML.TagTag <pre>static final HTML.TagTag <s>static final HTML.TagTag <samp>static final HTML.TagTag <script>static final HTML.TagTag <select>static final HTML.TagTag <small>static final HTML.TagTag <span>static final HTML.TagTag <strike>static final HTML.TagTag <strong>static final HTML.TagTag <style>static final HTML.TagTag <sub>static final HTML.TagTag <sup>static final HTML.TagTag <table>static final HTML.TagTag <td>static final HTML.TagTag <textarea>static final HTML.TagTag <th>static final HTML.TagTag <title>static final HTML.TagTag <tr>static final HTML.TagTag <tt>static final HTML.TagTag <u>static final HTML.TagTag <ul>static final HTML.TagTag <var> -
Constructor Summary
Constructors -
Method Summary
Methods declared in class HTML.Tag
breaksFlow, isBlock, isPreformatted, toStringModifier and TypeMethodDescriptionbooleanReturnstrueif this tag causes a line break to the flow of data, otherwise returnsfalse.booleanisBlock()Returnstrueif this tag is a block tag, which is a tag used to add structure to a document.booleanReturnstrueif this tag is pre-formatted, which is true if the tag is eitherPREorTEXTAREA.toString()Returns the string representation of the tag.Methods declared in class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitModifier and TypeMethodDescriptionprotected Objectclone()Creates and returns a copy of this object.protected voidfinalize()Deprecated, for removal: This API element is subject to removal in a future version.Finalization is deprecated and subject to removal in a future release.final Class<?> getClass()Returns the runtime class of thisObject.final voidnotify()Wakes up a single thread that is waiting on this object's monitor.final voidWakes up all threads that are waiting on this object's monitor.final voidwait()Causes the current thread to wait until it is awakened, typically by being notified or interrupted.final voidwait(long timeoutMillis) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.final voidwait(long timeoutMillis, int nanos) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.
-
Constructor Details
-
UnknownTag
Creates a newUnknownTagwith the specifiedid.- Parameters:
id- the id of the new tag
-
-
Method Details
-
hashCode
-
equals
Compares this object to the specified object. The result istrueif and only if the argument is notnulland is anUnknownTagobject with the same name.
-