Enum DocumentAnnotator.DocumentType
- java.lang.Object
-
- java.lang.Enum<DocumentAnnotator.DocumentType>
-
- chemaxon.naming.document.annotate.DocumentAnnotator.DocumentType
-
- All Implemented Interfaces:
Serializable
,Comparable<DocumentAnnotator.DocumentType>
- Enclosing class:
- DocumentAnnotator
@PublicAPI public static enum DocumentAnnotator.DocumentType extends Enum<DocumentAnnotator.DocumentType>
Document type enum forDocumentAnnotator
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentAnnotator.DocumentType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DocumentAnnotator.DocumentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTML
public static final DocumentAnnotator.DocumentType HTML
-
OFFICE
public static final DocumentAnnotator.DocumentType OFFICE
-
PDF
public static final DocumentAnnotator.DocumentType PDF
-
TXT
public static final DocumentAnnotator.DocumentType TXT
-
XML
public static final DocumentAnnotator.DocumentType XML
-
UNSUPPORTED
public static final DocumentAnnotator.DocumentType UNSUPPORTED
-
-
Method Detail
-
values
public static DocumentAnnotator.DocumentType[] 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 (DocumentAnnotator.DocumentType c : DocumentAnnotator.DocumentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentAnnotator.DocumentType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-