@Exported public static enum DocTree.Kind extends Enum<DocTree.Kind>
Enum Constant | Description |
---|---|
ATTRIBUTE |
Used for instances of
AttributeTree
representing an HTML attribute. |
AUTHOR |
Used for instances of
AuthorTree
representing an @author tag. |
CODE |
Used for instances of
LiteralTree
representing an @code tag. |
COMMENT |
Used for instances of
CommentTree
representing an HTML comment. |
DEPRECATED |
Used for instances of
DeprecatedTree
representing an @deprecated tag. |
DOC_COMMENT |
Used for instances of
DocCommentTree
representing a complete doc comment. |
DOC_ROOT |
Used for instances of
DocRootTree
representing an @docRoot tag. |
END_ELEMENT |
Used for instances of
EndElementTree
representing the end of an HTML element. |
ENTITY |
Used for instances of
EntityTree
representing an HTML entity. |
ERRONEOUS |
Used for instances of
ErroneousTree
representing some invalid text. |
EXCEPTION |
Used for instances of
ThrowsTree
representing an @exception tag. |
IDENTIFIER |
Used for instances of
IdentifierTree
representing an identifier. |
INHERIT_DOC |
Used for instances of
InheritDocTree
representing an @inheritDoc tag. |
LINK |
Used for instances of
LinkTree
representing an @link tag. |
LINK_PLAIN |
Used for instances of
LinkTree
representing an @linkplain tag. |
LITERAL |
Used for instances of
LiteralTree
representing an @literal tag. |
OTHER |
An implementation-reserved node.
|
PARAM |
Used for instances of
ParamTree
representing an @param tag. |
REFERENCE |
Used for instances of
ReferenceTree
representing a reference to a element in the
Java programming language. |
RETURN |
Used for instances of
ReturnTree
representing an @return tag. |
SEE |
Used for instances of
SeeTree
representing an @see tag. |
SERIAL |
Used for instances of
SerialTree
representing an @serial tag. |
SERIAL_DATA |
Used for instances of
SerialDataTree
representing an @serialData tag. |
SERIAL_FIELD |
Used for instances of
SerialFieldTree
representing an @serialField tag. |
SINCE |
Used for instances of
SinceTree
representing an @since tag. |
START_ELEMENT |
Used for instances of
EndElementTree
representing the start of an HTML element. |
TEXT |
Used for instances of
TextTree
representing some documentation text. |
THROWS |
Used for instances of
ThrowsTree
representing an @throws tag. |
UNKNOWN_BLOCK_TAG |
Used for instances of
UnknownBlockTagTree
representing an unknown block tag. |
UNKNOWN_INLINE_TAG |
Used for instances of
UnknownInlineTagTree
representing an unknown inline tag. |
VALUE |
Used for instances of
ValueTree
representing an @value tag. |
VERSION |
Used for instances of
VersionTree
representing an @version tag. |
Modifier and Type | Method | Description |
---|---|---|
static DocTree.Kind |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static DocTree.Kind[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocTree.Kind ATTRIBUTE
AttributeTree
representing an HTML attribute.public static final DocTree.Kind AUTHOR
AuthorTree
representing an @author tag.public static final DocTree.Kind CODE
LiteralTree
representing an @code tag.public static final DocTree.Kind COMMENT
CommentTree
representing an HTML comment.public static final DocTree.Kind DEPRECATED
DeprecatedTree
representing an @deprecated tag.public static final DocTree.Kind DOC_COMMENT
DocCommentTree
representing a complete doc comment.public static final DocTree.Kind DOC_ROOT
DocRootTree
representing an @docRoot tag.public static final DocTree.Kind END_ELEMENT
EndElementTree
representing the end of an HTML element.public static final DocTree.Kind ENTITY
EntityTree
representing an HTML entity.public static final DocTree.Kind ERRONEOUS
ErroneousTree
representing some invalid text.public static final DocTree.Kind EXCEPTION
ThrowsTree
representing an @exception tag.public static final DocTree.Kind IDENTIFIER
IdentifierTree
representing an identifier.public static final DocTree.Kind INHERIT_DOC
InheritDocTree
representing an @inheritDoc tag.public static final DocTree.Kind LINK
LinkTree
representing an @link tag.public static final DocTree.Kind LINK_PLAIN
LinkTree
representing an @linkplain tag.public static final DocTree.Kind LITERAL
LiteralTree
representing an @literal tag.public static final DocTree.Kind PARAM
ParamTree
representing an @param tag.public static final DocTree.Kind REFERENCE
ReferenceTree
representing a reference to a element in the
Java programming language.public static final DocTree.Kind RETURN
ReturnTree
representing an @return tag.public static final DocTree.Kind SEE
SeeTree
representing an @see tag.public static final DocTree.Kind SERIAL
SerialTree
representing an @serial tag.public static final DocTree.Kind SERIAL_DATA
SerialDataTree
representing an @serialData tag.public static final DocTree.Kind SERIAL_FIELD
SerialFieldTree
representing an @serialField tag.public static final DocTree.Kind SINCE
SinceTree
representing an @since tag.public static final DocTree.Kind START_ELEMENT
EndElementTree
representing the start of an HTML element.public static final DocTree.Kind TEXT
TextTree
representing some documentation text.public static final DocTree.Kind THROWS
ThrowsTree
representing an @throws tag.public static final DocTree.Kind UNKNOWN_BLOCK_TAG
UnknownBlockTagTree
representing an unknown block tag.public static final DocTree.Kind UNKNOWN_INLINE_TAG
UnknownInlineTagTree
representing an unknown inline tag.public static final DocTree.Kind VALUE
ValueTree
representing an @value tag.public static final DocTree.Kind VERSION
VersionTree
representing an @version tag.public static final DocTree.Kind OTHER
public final String tagName
public static DocTree.Kind[] values()
for (DocTree.Kind c : DocTree.Kind.values()) System.out.println(c);
public static DocTree.Kind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
Copyright © 2005, 2025, Oracle and/or its affiliates. All rights reserved.