Enum XmlFrameDecoder.BangMarkupKind
java.lang.Object
java.lang.Enum<XmlFrameDecoder.BangMarkupKind>
io.netty.handler.codec.xml.XmlFrameDecoder.BangMarkupKind
- All Implemented Interfaces:
Serializable, Comparable<XmlFrameDecoder.BangMarkupKind>
- Enclosing class:
XmlFrameDecoder
The outcome of classifying a
'<!' construct against the <!-- and
<![CDATA[ start markers.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA<![CDATA[start.A<!-- comment -->start.Not enough data has been received yet to determine the kind of construct.Neither a comment nor a CDATA start, e.g. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static XmlFrameDecoder.BangMarkupKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INDETERMINATE
Not enough data has been received yet to determine the kind of construct. -
NONE
Neither a comment nor a CDATA start, e.g.<!DOCTYPE ...>or<!x>. -
COMMENT
A<!-- comment -->start. -
CDATA
A<![CDATA[start.
-
-
Constructor Details
-
BangMarkupKind
private BangMarkupKind()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-