- All Implemented Interfaces:
Serializable
,Comparable<DocTree.Kind>
,Constable
- Enclosing interface:
- DocTree
public static enum DocTree.Kind extends Enum<DocTree.Kind>
Enumerates all kinds of trees.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTE
Used for instances ofAttributeTree
representing an HTML attribute.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.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 a search term.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.OTHER
An implementation-reserved node.PARAM
Used for instances ofParamTree
representing an @param tag.PROVIDES
Used for instances ofProvidesTree
representing an @provides tag.REFERENCE
Used for instances ofReferenceTree
representing a reference to a 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.START_ELEMENT
Used for instances ofEndElementTree
representing the start of an HTML element.SUMMARY
Used for instances ofSummaryTree
representing the summary of a comment description.SYSTEM_PROPERTY
Used for instances ofSystemPropertyTree
representing an @systemProperty tag.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.VALUE
Used for instances ofValueTree
representing an @value tag.VERSION
Used for instances ofVersionTree
representing an @version tag. -
Field Summary
-
Method Summary
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.
-
Enum Constant Details
-
ATTRIBUTE
Used for instances ofAttributeTree
representing an HTML attribute. -
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. -
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 a search term. -
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. -
REFERENCE
Used for instances ofReferenceTree
representing a reference to a 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. -
START_ELEMENT
Used for instances ofEndElementTree
representing the start of an HTML element. -
SYSTEM_PROPERTY
Used for instances ofSystemPropertyTree
representing an @systemProperty tag. -
SUMMARY
Used for instances ofSummaryTree
representing the summary of a comment description. -
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. -
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 the 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-