- 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 SummaryEnum 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 SummaryModifier 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- 
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.
- 
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.
- 
SYSTEM_PROPERTYUsed for instances ofSystemPropertyTreerepresenting an @systemProperty tag.
- 
SUMMARYUsed for instances ofSummaryTreerepresenting the summary of a comment description.
- 
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.
- 
OTHERAn implementation-reserved node. This is the not the node you are looking for.
 
- 
- 
Field Details- 
tagNameThe name of the tag, if any, associated with this kind of node.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-