Interface StartElementTree
- All Superinterfaces:
DocTree
A tree node for the start of an HTML element.
< name [attributes] [/]>
- Since:
- 1.8
-
Nested Class Summary
Nested classes/interfaces declared in interface com.sun.source.doctree.DocTree
DocTree.Kind
-
Method Summary
Modifier and TypeMethodDescriptionReturns any attributes defined by this element.getName()
Returns the name of the element.boolean
Returnstrue
if this is a self-closing element, as indicated by a"/"
before the closing">"
.
-
Method Details
-
getName
-
getAttributes
-
isSelfClosing
boolean isSelfClosing()Returnstrue
if this is a self-closing element, as indicated by a"/"
before the closing">"
.- Returns:
true
if this is a self-closing element
-