|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.xml.QXmlStreamReader.Error
public static final class QXmlStreamReader.Error
This enum specifies different error cases
Field Summary | |
---|---|
static QXmlStreamReader.Error |
CustomError
A custom error has been raised with raiseError() |
static QXmlStreamReader.Error |
NoError
No error has occurred. |
static QXmlStreamReader.Error |
NotWellFormedError
The parser internally raised an error due to the read XML not being well-formed. |
static QXmlStreamReader.Error |
PrematureEndOfDocumentError
The input stream ended before the document was parsed completely. |
static QXmlStreamReader.Error |
UnexpectedElementError
The parser encountered an element that was different to those it expected. |
Method Summary | |
---|---|
static QXmlStreamReader.Error |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QXmlStreamReader.Error |
valueOf(java.lang.String name)
|
static QXmlStreamReader.Error[] |
values()
|
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 |
Field Detail |
---|
public static final QXmlStreamReader.Error NoError
public static final QXmlStreamReader.Error UnexpectedElementError
public static final QXmlStreamReader.Error CustomError
raiseError()
public static final QXmlStreamReader.Error NotWellFormedError
public static final QXmlStreamReader.Error PrematureEndOfDocumentError
Method Detail |
---|
public static QXmlStreamReader.Error[] values()
public static QXmlStreamReader.Error valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QXmlStreamReader.Error resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |