- 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
Nested classes/interfaces declared in class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTEUsed for instances ofAttributeTreerepresenting an HTML attribute.AUTHORUsed for instances ofAuthorTreerepresenting an@authortag.CODEUsed for instances ofLiteralTreerepresenting an@codetag.COMMENTUsed for instances ofCommentTreerepresenting an HTML comment.DEPRECATEDUsed for instances ofDeprecatedTreerepresenting an@deprecatedtag.DOC_COMMENTUsed for instances ofDocCommentTreerepresenting a complete doc comment.DOC_ROOTUsed for instances ofDocRootTreerepresenting an@docRoottag.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@exceptiontag.HIDDENUsed for instances ofHiddenTreerepresenting an@hiddentag.IDENTIFIERUsed for instances ofIdentifierTreerepresenting an identifier.INDEXUsed for instances ofIndexTreerepresenting an@indextag.INHERIT_DOCUsed for instances ofInheritDocTreerepresenting an@inheritDoctag.LINKUsed for instances ofLinkTreerepresenting an@linktag.LINK_PLAINUsed for instances ofLinkTreerepresenting an@linkplaintag.LITERALUsed for instances ofLiteralTreerepresenting an@literaltag.OTHERAn implementation-reserved node.PARAMUsed for instances ofParamTreerepresenting an@paramtag.PROVIDESUsed for instances ofProvidesTreerepresenting an@providestag.REFERENCEUsed for instances ofReferenceTreerepresenting a reference to an element in the Java programming language.RETURNUsed for instances ofReturnTreerepresenting an@returntag.SEEUsed for instances ofSeeTreerepresenting an@seetag.SERIALUsed for instances ofSerialTreerepresenting an@serialtag.SERIAL_DATAUsed for instances ofSerialDataTreerepresenting an@serialDatatag.SERIAL_FIELDUsed for instances ofSerialFieldTreerepresenting an@serialFieldtag.SINCEUsed for instances ofSinceTreerepresenting an@sincetag.START_ELEMENTUsed for instances ofEndElementTreerepresenting the start of an HTML element.SUMMARYUsed for instances ofSummaryTreerepresenting an@summarytag.SYSTEM_PROPERTYUsed for instances ofSystemPropertyTreerepresenting an@systemPropertytag.TEXTUsed for instances ofTextTreerepresenting some documentation text.THROWSUsed for instances ofThrowsTreerepresenting an@throwstag.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@usestag.VALUEUsed for instances ofValueTreerepresenting an@valuetag.VERSIONUsed for instances ofVersionTreerepresenting an@versiontag. -
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@authortag. -
CODE
Used for instances ofLiteralTreerepresenting an@codetag. -
COMMENT
Used for instances ofCommentTreerepresenting an HTML comment. -
DEPRECATED
Used for instances ofDeprecatedTreerepresenting an@deprecatedtag. -
DOC_COMMENT
Used for instances ofDocCommentTreerepresenting a complete doc comment. -
DOC_ROOT
Used for instances ofDocRootTreerepresenting an@docRoottag. -
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@exceptiontag. -
HIDDEN
Used for instances ofHiddenTreerepresenting an@hiddentag. -
IDENTIFIER
Used for instances ofIdentifierTreerepresenting an identifier. -
INDEX
Used for instances ofIndexTreerepresenting an@indextag. -
INHERIT_DOC
Used for instances ofInheritDocTreerepresenting an@inheritDoctag. -
LINK
Used for instances ofLinkTreerepresenting an@linktag. -
LINK_PLAIN
Used for instances ofLinkTreerepresenting an@linkplaintag. -
LITERAL
Used for instances ofLiteralTreerepresenting an@literaltag. -
PARAM
Used for instances ofParamTreerepresenting an@paramtag. -
PROVIDES
Used for instances ofProvidesTreerepresenting an@providestag. -
REFERENCE
Used for instances ofReferenceTreerepresenting a reference to an element in the Java programming language. -
RETURN
Used for instances ofReturnTreerepresenting an@returntag. -
SEE
Used for instances ofSeeTreerepresenting an@seetag. -
SERIAL
Used for instances ofSerialTreerepresenting an@serialtag. -
SERIAL_DATA
Used for instances ofSerialDataTreerepresenting an@serialDatatag. -
SERIAL_FIELD
Used for instances ofSerialFieldTreerepresenting an@serialFieldtag. -
SINCE
Used for instances ofSinceTreerepresenting an@sincetag. -
START_ELEMENT
Used for instances ofEndElementTreerepresenting the start of an HTML element. -
SYSTEM_PROPERTY
Used for instances ofSystemPropertyTreerepresenting an@systemPropertytag. -
SUMMARY
Used for instances ofSummaryTreerepresenting an@summarytag. -
TEXT
Used for instances ofTextTreerepresenting some documentation text. -
THROWS
Used for instances ofThrowsTreerepresenting an@throwstag. -
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@usestag. -
VALUE
Used for instances ofValueTreerepresenting an@valuetag. -
VERSION
Used for instances ofVersionTreerepresenting an@versiontag. -
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
-