Enum Class XMQContentType
- All Implemented Interfaces:
Serializable, Comparable<XMQContentType>, Constable
Specify the file/buffer content type.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionxpath="c-escaped string"auto detect the content typehtml detectedhtmq detectedixml selectedjson detectedvalid utf8 text input/output is selecteda failed content detect will mark the content type as unknownxml detectedxmq detected -
Method Summary
Modifier and TypeMethodDescriptionstatic XMQContentTypeReturns the enum constant of this class with the specified name.static XMQContentType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
XMQ_CONTENT_UNKNOWN
a failed content detect will mark the content type as unknown -
XMQ_CONTENT_DETECT
auto detect the content type -
XMQ_CONTENT_XMQ
xmq detected -
XMQ_CONTENT_HTMQ
htmq detected -
XMQ_CONTENT_XML
xml detected -
XMQ_CONTENT_HTML
html detected -
XMQ_CONTENT_JSON
json detected -
XMQ_CONTENT_IXML
ixml selected -
XMQ_CONTENT_TEXT
valid utf8 text input/output is selected -
XMQ_CONTENT_CLINES
xpath="c-escaped string"
-
-
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
-