Package com.cognex.cmbsdk.enums
Enum Class ResultType
- All Implemented Interfaces:
Serializable,Comparable<ResultType>,Constable
Defines the result types handled by the SDK.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents code quality information in XML format.Represents a read image.Represents an image graphics XML.No result of any kind are requested from the reader.Represents a simple read result string.Represents a read result in XML format.Represents training results in XML format.Represents code content information in xml format.Represents read statistics in XML format. -
Method Summary
Modifier and TypeMethodDescriptionintgetValue()Gets the integer value of the currentResultTypeobject.static ResultTypeReturns the enum constant of this class with the specified name.static ResultType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No result of any kind are requested from the reader. -
READ_STRING
Represents a simple read result string. -
READ_XML
Represents a read result in XML format. -
XML_STATISTICS
Represents read statistics in XML format. -
IMAGE
Represents a read image. -
IMAGE_GRAPHICS
Represents an image graphics XML. -
TRAINING_RESULTS
Represents training results in XML format. -
CODE_QUALITY_DATA
Represents code quality information in XML format. -
XML_CONTENT
Represents code content information in xml format.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue()Gets the integer value of the currentResultTypeobject.- Returns:
- The integer value of the current
ResultTypeobject.
-