Enum Class XMQContentType

java.lang.Object
java.lang.Enum<XMQContentType>
org.libxmq.imp.XMQContentType
All Implemented Interfaces:
Serializable, Comparable<XMQContentType>, Constable

public enum XMQContentType extends Enum<XMQContentType>
Specify the file/buffer content type.
  • Enum Constant Details

    • XMQ_CONTENT_UNKNOWN

      public static final XMQContentType XMQ_CONTENT_UNKNOWN
      a failed content detect will mark the content type as unknown
    • XMQ_CONTENT_DETECT

      public static final XMQContentType XMQ_CONTENT_DETECT
      auto detect the content type
    • XMQ_CONTENT_XMQ

      public static final XMQContentType XMQ_CONTENT_XMQ
      xmq detected
    • XMQ_CONTENT_HTMQ

      public static final XMQContentType XMQ_CONTENT_HTMQ
      htmq detected
    • XMQ_CONTENT_XML

      public static final XMQContentType XMQ_CONTENT_XML
      xml detected
    • XMQ_CONTENT_HTML

      public static final XMQContentType XMQ_CONTENT_HTML
      html detected
    • XMQ_CONTENT_JSON

      public static final XMQContentType XMQ_CONTENT_JSON
      json detected
    • XMQ_CONTENT_IXML

      public static final XMQContentType XMQ_CONTENT_IXML
      ixml selected
    • XMQ_CONTENT_TEXT

      public static final XMQContentType XMQ_CONTENT_TEXT
      valid utf8 text input/output is selected
    • XMQ_CONTENT_CLINES

      public static final XMQContentType XMQ_CONTENT_CLINES
      xpath="c-escaped string"
  • Method Details

    • values

      public static XMQContentType[] 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

      public static XMQContentType valueOf(String name)
      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 name
      NullPointerException - if the argument is null