Package org.cakelab.jdoxml.api
Enum IDocHighlight.HighlightKind
- java.lang.Object
-
- java.lang.Enum<IDocHighlight.HighlightKind>
-
- org.cakelab.jdoxml.api.IDocHighlight.HighlightKind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IDocHighlight.HighlightKind>
- Enclosing interface:
- IDocHighlight
public static enum IDocHighlight.HighlightKind extends java.lang.Enum<IDocHighlight.HighlightKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CharLiteral
Comment
Invalid
Keyword
KeywordFlow
KeywordType
Preprocessor
StringLiteral
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
value()
static IDocHighlight.HighlightKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IDocHighlight.HighlightKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Invalid
public static final IDocHighlight.HighlightKind Invalid
-
Comment
public static final IDocHighlight.HighlightKind Comment
-
Keyword
public static final IDocHighlight.HighlightKind Keyword
-
KeywordType
public static final IDocHighlight.HighlightKind KeywordType
-
KeywordFlow
public static final IDocHighlight.HighlightKind KeywordFlow
-
CharLiteral
public static final IDocHighlight.HighlightKind CharLiteral
-
StringLiteral
public static final IDocHighlight.HighlightKind StringLiteral
-
Preprocessor
public static final IDocHighlight.HighlightKind Preprocessor
-
-
Method Detail
-
values
public static IDocHighlight.HighlightKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IDocHighlight.HighlightKind c : IDocHighlight.HighlightKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IDocHighlight.HighlightKind valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public int value()
-
-