Class TagElement
- java.lang.Object
-
- javax.swing.text.html.parser.TagElement
public class TagElement extends Object
A generic HTML TagElement class. The methods define how white space is interpreted around the tag.
Constructors
Constructor and Description |
---|
TagElement(Element elem) |
TagElement(Element elem,
boolean fictional) |
Methods
Modifier and Type | Method and Description |
---|---|
boolean |
breaksFlow() |
boolean |
fictional() |
Element |
getElement() |
HTML.Tag |
getHTMLTag() |
boolean |
isPreformatted() |
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
TagElement
public TagElement(Element elem)
TagElement
public TagElement(Element elem, boolean fictional)
Methods
breaksFlow
public boolean breaksFlow()
isPreformatted
public boolean isPreformatted()
getElement
public Element getElement()
getHTMLTag
public HTML.Tag getHTMLTag()
fictional
public boolean fictional()
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/javax/swing/text/html/parser/TagElement.html