- All Implemented Interfaces:
Serializable
,Comparable<DocTree.Kind>
,Constable
- Enclosing interface:
DocTree
Enumerates all kinds of trees.
-
Nested Class Summary
Nested classes/interfaces declared in class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUsed for instances ofAttributeTree
representing an attribute in an HTML element or tag.Used for instances ofAuthorTree
representing an@author
tag.Used for instances ofLiteralTree
representing an@code
tag.Used for instances ofCommentTree
representing an HTML comment.Used for instances ofDeprecatedTree
representing an@deprecated
tag.Used for instances ofDocCommentTree
representing a complete doc comment.Used for instances ofDocRootTree
representing an@docRoot
tag.Used for instances ofDocTypeTree
representing an HTML DocType declaration.Used for instances ofEndElementTree
representing the end of an HTML element.Used for instances ofEntityTree
representing an HTML entity.Used for instances ofErroneousTree
representing some invalid text.Used for instances ofThrowsTree
representing an@exception
tag.Used for instances ofHiddenTree
representing an@hidden
tag.Used for instances ofIdentifierTree
representing an identifier.Used for instances ofIndexTree
representing an@index
tag.Used for instances ofInheritDocTree
representing an@inheritDoc
tag.Used for instances ofLinkTree
representing an@link
tag.Used for instances ofLinkTree
representing an@linkplain
tag.Used for instances ofLiteralTree
representing an@literal
tag.An implementation-reserved node.Used for instances ofParamTree
representing an@param
tag.Used for instances ofProvidesTree
representing an@provides
tag.Used for instances ofReferenceTree
representing a reference to an element in the Java programming language.Used for instances ofReturnTree
representing an@return
tag.Used for instances ofSeeTree
representing an@see
tag.Used for instances ofSerialTree
representing an@serial
tag.Used for instances ofSerialDataTree
representing an@serialData
tag.Used for instances ofSerialFieldTree
representing an@serialField
tag.Used for instances ofSinceTree
representing an@since
tag.Used for instances ofSnippetTree
representing an@snippet
tag.Used for instances ofSpecTree
representing an@spec
tag.Used for instances ofStartElementTree
representing the start of an HTML element.Used for instances ofSummaryTree
representing an@summary
tag.Used for instances ofSystemPropertyTree
representing an@systemProperty
tag.Used for instances ofTextTree
representing some documentation text.Used for instances ofThrowsTree
representing an@throws
tag.Used for instances ofUnknownBlockTagTree
representing an unknown block tag.Used for instances ofUnknownInlineTagTree
representing an unknown inline tag.Used for instances ofUsesTree
representing an@uses
tag.Used for instances ofValueTree
representing an@value
tag.Used for instances ofVersionTree
representing an@version
tag. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocTree.Kind
Returns the enum constant of this class with the specified name.static DocTree.Kind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ATTRIBUTE
Used for instances ofAttributeTree
representing an attribute in an HTML element or tag. -
AUTHOR
Used for instances ofAuthorTree
representing an@author
tag. -
CODE
Used for instances ofLiteralTree
representing an@code
tag. -
COMMENT
Used for instances ofCommentTree
representing an HTML comment. -
DEPRECATED
Used for instances ofDeprecatedTree
representing an@deprecated
tag. -
DOC_COMMENT
Used for instances ofDocCommentTree
representing a complete doc comment. -
DOC_ROOT
Used for instances ofDocRootTree
representing an@docRoot
tag. -
DOC_TYPE
Used for instances ofDocTypeTree
representing an HTML DocType declaration.- Since:
- 10
-
END_ELEMENT
Used for instances ofEndElementTree
representing the end of an HTML element. -
ENTITY
Used for instances ofEntityTree
representing an HTML entity. -
ERRONEOUS
Used for instances ofErroneousTree
representing some invalid text. -
EXCEPTION
Used for instances ofThrowsTree
representing an@exception
tag. -
HIDDEN
Used for instances ofHiddenTree
representing an@hidden
tag. -
IDENTIFIER
Used for instances ofIdentifierTree
representing an identifier. -
INDEX
Used for instances ofIndexTree
representing an@index
tag.- Since:
- 9
-
INHERIT_DOC
Used for instances ofInheritDocTree
representing an@inheritDoc
tag. -
LINK
Used for instances ofLinkTree
representing an@link
tag. -
LINK_PLAIN
Used for instances ofLinkTree
representing an@linkplain
tag. -
LITERAL
Used for instances ofLiteralTree
representing an@literal
tag. -
PARAM
Used for instances ofParamTree
representing an@param
tag. -
PROVIDES
Used for instances ofProvidesTree
representing an@provides
tag.- Since:
- 9
-
REFERENCE
Used for instances ofReferenceTree
representing a reference to an element in the Java programming language. -
RETURN
Used for instances ofReturnTree
representing an@return
tag. -
SEE
Used for instances ofSeeTree
representing an@see
tag. -
SERIAL
Used for instances ofSerialTree
representing an@serial
tag. -
SERIAL_DATA
Used for instances ofSerialDataTree
representing an@serialData
tag. -
SERIAL_FIELD
Used for instances ofSerialFieldTree
representing an@serialField
tag. -
SINCE
Used for instances ofSinceTree
representing an@since
tag. -
SNIPPET
Used for instances ofSnippetTree
representing an@snippet
tag.- Since:
- 18
-
SPEC
Used for instances ofSpecTree
representing an@spec
tag.- Since:
- 20
-
START_ELEMENT
Used for instances ofStartElementTree
representing the start of an HTML element. -
SYSTEM_PROPERTY
Used for instances ofSystemPropertyTree
representing an@systemProperty
tag.- Since:
- 12
-
SUMMARY
Used for instances ofSummaryTree
representing an@summary
tag.- Since:
- 10
-
TEXT
Used for instances ofTextTree
representing some documentation text. -
THROWS
Used for instances ofThrowsTree
representing an@throws
tag. -
UNKNOWN_BLOCK_TAG
Used for instances ofUnknownBlockTagTree
representing an unknown block tag. -
UNKNOWN_INLINE_TAG
Used for instances ofUnknownInlineTagTree
representing an unknown inline tag. -
USES
Used for instances ofUsesTree
representing an@uses
tag.- Since:
- 9
-
VALUE
Used for instances ofValueTree
representing an@value
tag. -
VERSION
Used for instances ofVersionTree
representing an@version
tag. -
OTHER
An implementation-reserved node. This is not the node you are looking for.
-
-
Field Details
-
tagName
The name of the tag, if any, associated with this kind of node.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-