- 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
Name getName()Returns the name of the element.- Returns:
- the name
-
getAttributes
Returns any attributes defined by this element.- Returns:
- the attributes
-
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
-