|
TUM CCSM Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<EXMLWriterExceptionType>
edu.tum.cs.commons.xml.EXMLWriterExceptionType
public enum EXMLWriterExceptionType
Exception types to detail XMLWriterExceptions.
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
static EXMLWriterExceptionType |
valueOf(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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
]]>
| Method Detail |
|---|
public static EXMLWriterExceptionType[] values()
for (EXMLWriterExceptionType c : EXMLWriterExceptionType.values()) System.out.println(c);
public static EXMLWriterExceptionType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
TUM CCSM Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||