Package com.itextpdf.io.source
Enum PdfTokenizer.TokenType
- java.lang.Object
-
- java.lang.Enum<PdfTokenizer.TokenType>
-
- com.itextpdf.io.source.PdfTokenizer.TokenType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PdfTokenizer.TokenType>
- Enclosing class:
- PdfTokenizer
public static enum PdfTokenizer.TokenType extends java.lang.Enum<PdfTokenizer.TokenType>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
TokenType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PdfTokenizer.TokenType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PdfTokenizer.TokenType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Number
public static final PdfTokenizer.TokenType Number
-
String
public static final PdfTokenizer.TokenType String
-
Name
public static final PdfTokenizer.TokenType Name
-
Comment
public static final PdfTokenizer.TokenType Comment
-
StartArray
public static final PdfTokenizer.TokenType StartArray
-
EndArray
public static final PdfTokenizer.TokenType EndArray
-
StartDic
public static final PdfTokenizer.TokenType StartDic
-
EndDic
public static final PdfTokenizer.TokenType EndDic
-
Ref
public static final PdfTokenizer.TokenType Ref
-
Obj
public static final PdfTokenizer.TokenType Obj
-
EndObj
public static final PdfTokenizer.TokenType EndObj
-
Other
public static final PdfTokenizer.TokenType Other
-
EndOfFile
public static final PdfTokenizer.TokenType EndOfFile
-
-
Method Detail
-
values
public static PdfTokenizer.TokenType[] 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 (PdfTokenizer.TokenType c : PdfTokenizer.TokenType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PdfTokenizer.TokenType 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
-
-