- 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 ATTRIBUTEUsed for instances ofAttributeTreerepresenting an HTML attribute.AUTHORUsed for instances ofAuthorTreerepresenting an @author tag.CODEUsed for instances ofLiteralTreerepresenting an @code tag.COMMENTUsed for instances ofCommentTreerepresenting an HTML comment.DEPRECATEDUsed for instances ofDeprecatedTreerepresenting an @deprecated tag.DOC_COMMENTUsed for instances ofDocCommentTreerepresenting a complete doc comment.DOC_ROOTUsed for instances ofDocRootTreerepresenting an @docRoot tag.DOC_TYPEUsed for instances ofDocTypeTreerepresenting an HTML DocType declaration.END_ELEMENTUsed for instances ofEndElementTreerepresenting the end of an HTML element.ENTITYUsed for instances ofEntityTreerepresenting an HTML entity.ERRONEOUSUsed for instances ofErroneousTreerepresenting some invalid text.EXCEPTIONUsed for instances ofThrowsTreerepresenting an @exception tag.HIDDENUsed for instances ofHiddenTreerepresenting an @hidden tag.IDENTIFIERUsed for instances ofIdentifierTreerepresenting an identifier.INDEXUsed for instances ofIndexTreerepresenting a search term.INHERIT_DOCUsed for instances ofInheritDocTreerepresenting an @inheritDoc tag.LINKUsed for instances ofLinkTreerepresenting an @link tag.LINK_PLAINUsed for instances ofLinkTreerepresenting an @linkplain tag.LITERALUsed for instances ofLiteralTreerepresenting an @literal tag.OTHERAn implementation-reserved node.PARAMUsed for instances ofParamTreerepresenting an @param tag.PROVIDESUsed for instances ofProvidesTreerepresenting an @provides tag.REFERENCEUsed for instances ofReferenceTreerepresenting a reference to a element in the Java programming language.RETURNUsed for instances ofReturnTreerepresenting an @return tag.SEEUsed for instances ofSeeTreerepresenting an @see tag.SERIALUsed for instances ofSerialTreerepresenting an @serial tag.SERIAL_DATAUsed for instances ofSerialDataTreerepresenting an @serialData tag.SERIAL_FIELDUsed for instances ofSerialFieldTreerepresenting an @serialField tag.SINCEUsed for instances ofSinceTreerepresenting an @since tag.START_ELEMENTUsed for instances ofEndElementTreerepresenting the start of an HTML element.SUMMARYUsed for instances ofSummaryTreerepresenting the summary of a comment description.SYSTEM_PROPERTYUsed for instances ofSystemPropertyTreerepresenting an @systemProperty tag.TEXTUsed for instances ofTextTreerepresenting some documentation text.THROWSUsed for instances ofThrowsTreerepresenting an @throws tag.UNKNOWN_BLOCK_TAGUsed for instances ofUnknownBlockTagTreerepresenting an unknown block tag.UNKNOWN_INLINE_TAGUsed for instances ofUnknownInlineTagTreerepresenting an unknown inline tag.USESUsed for instances ofUsesTreerepresenting an @uses tag.VALUEUsed for instances ofValueTreerepresenting an @value tag.VERSIONUsed for instances ofVersionTreerepresenting an @version tag. -
Field Summary
-
Method Summary
Modifier and Type Method Description static DocTree.KindvalueOf(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 ofAttributeTreerepresenting an HTML attribute. -
AUTHOR
Used for instances ofAuthorTreerepresenting an @author tag. -
CODE
Used for instances ofLiteralTreerepresenting an @code tag. -
COMMENT
Used for instances ofCommentTreerepresenting an HTML comment. -
DEPRECATED
Used for instances ofDeprecatedTreerepresenting an @deprecated tag. -
DOC_COMMENT
Used for instances ofDocCommentTreerepresenting a complete doc comment. -
DOC_ROOT
Used for instances ofDocRootTreerepresenting an @docRoot tag. -
DOC_TYPE
Used for instances ofDocTypeTreerepresenting an HTML DocType declaration. -
END_ELEMENT
Used for instances ofEndElementTreerepresenting the end of an HTML element. -
ENTITY
Used for instances ofEntityTreerepresenting an HTML entity. -
ERRONEOUS
Used for instances ofErroneousTreerepresenting some invalid text. -
EXCEPTION
Used for instances ofThrowsTreerepresenting an @exception tag. -
HIDDEN
Used for instances ofHiddenTreerepresenting an @hidden tag. -
IDENTIFIER
Used for instances ofIdentifierTreerepresenting an identifier. -
INDEX
Used for instances ofIndexTreerepresenting a search term. -
INHERIT_DOC
Used for instances ofInheritDocTreerepresenting an @inheritDoc tag. -
LINK
Used for instances ofLinkTreerepresenting an @link tag. -
LINK_PLAIN
Used for instances ofLinkTreerepresenting an @linkplain tag. -
LITERAL
Used for instances ofLiteralTreerepresenting an @literal tag. -
PARAM
Used for instances ofParamTreerepresenting an @param tag. -
PROVIDES
Used for instances ofProvidesTreerepresenting an @provides tag. -
REFERENCE
Used for instances ofReferenceTreerepresenting a reference to a element in the Java programming language. -
RETURN
Used for instances ofReturnTreerepresenting an @return tag. -
SEE
Used for instances ofSeeTreerepresenting an @see tag. -
SERIAL
Used for instances ofSerialTreerepresenting an @serial tag. -
SERIAL_DATA
Used for instances ofSerialDataTreerepresenting an @serialData tag. -
SERIAL_FIELD
Used for instances ofSerialFieldTreerepresenting an @serialField tag. -
SINCE
Used for instances ofSinceTreerepresenting an @since tag. -
START_ELEMENT
Used for instances ofEndElementTreerepresenting the start of an HTML element. -
SYSTEM_PROPERTY
Used for instances ofSystemPropertyTreerepresenting an @systemProperty tag. -
SUMMARY
Used for instances ofSummaryTreerepresenting the summary of a comment description. -
TEXT
Used for instances ofTextTreerepresenting some documentation text. -
THROWS
Used for instances ofThrowsTreerepresenting an @throws tag. -
UNKNOWN_BLOCK_TAG
Used for instances ofUnknownBlockTagTreerepresenting an unknown block tag. -
UNKNOWN_INLINE_TAG
Used for instances ofUnknownInlineTagTreerepresenting an unknown inline tag. -
USES
Used for instances ofUsesTreerepresenting an @uses tag. -
VALUE
Used for instances ofValueTreerepresenting an @value tag. -
VERSION
Used for instances ofVersionTreerepresenting 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
-