public enum EXMLWriterExceptionType extends java.lang.Enum<EXMLWriterExceptionType>
XMLWriterException
s.Enum Constant and Description |
---|
ATTRIBUTE_OUTSIDE_ELEMENT
On attempt to create an attribute outside an element head.
|
CDATA_CONTAINS_CDATA_CLOSING_TAG
Text added to a CDATA section contains CDATA closing tag
]]> |
DUPLICATE_ATTRIBUTE
On attempt to create a duplicate attribute.
|
HEADER_WITHIN_DOCUMENT
On attempt to add an XML header in the middle of a document.
|
ILLEGAL_ATTRIBUTE_TYPE
The attributes provided are of the wrong type.
|
ODD_NUMBER_OF_ARGUMENTS
The number of arguments provided is odd.
|
UNCLOSED_ELEMENT
On attempt to close wrong element.
|
Modifier and Type | Method and Description |
---|---|
static EXMLWriterExceptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EXMLWriterExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EXMLWriterExceptionType UNCLOSED_ELEMENT
public static final EXMLWriterExceptionType ATTRIBUTE_OUTSIDE_ELEMENT
public static final EXMLWriterExceptionType DUPLICATE_ATTRIBUTE
public static final EXMLWriterExceptionType HEADER_WITHIN_DOCUMENT
public static final EXMLWriterExceptionType ODD_NUMBER_OF_ARGUMENTS
public static final EXMLWriterExceptionType ILLEGAL_ATTRIBUTE_TYPE
public static final EXMLWriterExceptionType CDATA_CONTAINS_CDATA_CLOSING_TAG
]]>
public static EXMLWriterExceptionType[] values()
for (EXMLWriterExceptionType c : EXMLWriterExceptionType.values()) System.out.println(c);
public static EXMLWriterExceptionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null