APIdia Launch Partner
Top Description Methods
com.sun.source.doctree

public Interface StartElementTree

extends DocTree
Known Direct Implementers
com.sun.tools.javac.tree.DCTree.DCStartElement
Imports
java.util.List, javax.lang.model.element.Name

A tree node for the start of an HTML element.
   < name [attributes] [/]>
Since
1.8

Method Summary

Modifier and TypeMethod and Description
public List<? extends DocTree>

Returns:

the attributes
getAttributes
()

Returns any attributes defined by this element.

public Name

Returns:

the name
getName
()

Returns the name of the element.

public boolean

Returns:

true if this is a self-closing element
isSelfClosing
()

Returns true if this is a self-closing element, as indicated by a "/" before the closing ">".

Inherited from com.sun.source.doctree.DocTree:
acceptgetKind

Method Detail

getAttributesback to summary
public List<? extends DocTree> getAttributes()

Returns any attributes defined by this element.

Returns:List<? extends DocTree>

the attributes

getNameback to summary
public Name getName()

Returns the name of the element.

Returns:Name

the name

isSelfClosingback to summary
public boolean isSelfClosing()

Returns true if this is a self-closing element, as indicated by a "/" before the closing ">".

Returns:boolean

true if this is a self-closing element