public class TagElement extends Object
| Constructor and Description |
|---|
TagElement(Element elem)
Creates a generic HTML TagElement class with
fictional equals to false. |
TagElement(Element elem,
boolean fictional)
Creates a generic HTML TagElement class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
breaksFlow()
Returns
true if this tag causes a
line break to the flow of data, otherwise returns
false. |
boolean |
fictional()
Returns
true if the tag is fictional. |
Element |
getElement()
Returns the element.
|
HTML.Tag |
getHTMLTag()
Returns the tag constant corresponding to the name of the
element |
boolean |
isPreformatted()
Returns
true if this tag is pre-formatted. |
public TagElement(Element elem)
fictional equals to false.elem - an elementpublic TagElement(Element elem, boolean fictional)
elem - an elementfictional - if true the tag is inserted by error recovery.public boolean breaksFlow()
true if this tag causes a
line break to the flow of data, otherwise returns
false.true if this tag causes a
line break to the flow of data, otherwise returns
falsepublic boolean isPreformatted()
true if this tag is pre-formatted.true if this tag is pre-formatted,
otherwise returns falsepublic Element getElement()
public HTML.Tag getHTMLTag()
elementelementpublic boolean fictional()
true if the tag is fictional.true if the tag is fictional. Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait