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

public Interface AttributeTree

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

A tree node for an attribute in an HTML element or tag.
Since
1.8

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
AttributeTree.ValueKind

The kind of an attribute value.

Method Summary

Modifier and TypeMethod and Description
public Name

Returns:

the name of the attribute
getName
()

Returns the name of the attribute.

public List<? extends DocTree>

Returns:

the value of the attribute
getValue
()

Returns the value of the attribute, or null if the kind of this attribute is EMPTY.

public AttributeTree.ValueKind

Returns:

the kind of the attribute value
getValueKind
()

Returns the kind of the attribute value.

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

Method Detail

getNameback to summary
public Name getName()

Returns the name of the attribute.

Returns:Name

the name of the attribute

getValueback to summary
public List<? extends DocTree> getValue()

Returns the value of the attribute, or null if the kind of this attribute is EMPTY.

Returns:List<? extends DocTree>

the value of the attribute

getValueKindback to summary
public AttributeTree.ValueKind getValueKind()

Returns the kind of the attribute value.

Returns:AttributeTree.ValueKind

the kind of the attribute value

com.sun.source.doctree back to summary

public final Enum AttributeTree.ValueKind

extends Enum<AttributeTree.ValueKind>
Class Inheritance

The kind of an attribute value.

Field Summary

Modifier and TypeField and Description
public static final AttributeTree.ValueKind
DOUBLE

The attribute value is enclosed in double quotation marks.

public static final AttributeTree.ValueKind
EMPTY

The attribute value is empty.

public static final AttributeTree.ValueKind
SINGLE

The attribute value is enclosed in single quotation marks.

public static final AttributeTree.ValueKind
UNQUOTED

The attribute value is not enclosed in quotes.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static AttributeTree.ValueKind
public static AttributeTree.ValueKind[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

DOUBLEback to summary
public static final AttributeTree.ValueKind DOUBLE

The attribute value is enclosed in double quotation marks.

EMPTYback to summary
public static final AttributeTree.ValueKind EMPTY

The attribute value is empty.

SINGLEback to summary
public static final AttributeTree.ValueKind SINGLE

The attribute value is enclosed in single quotation marks.

UNQUOTEDback to summary
public static final AttributeTree.ValueKind UNQUOTED

The attribute value is not enclosed in quotes.

Constructor Detail

ValueKindback to summary
private ValueKind()

Method Detail

valueOfback to summary
public static AttributeTree.ValueKind valueOf(String name)
valuesback to summary
public static AttributeTree.ValueKind[] values()