|
|||||||||
| 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.TokenType
public static final class QXmlStreamReader.TokenType
This enum specifies the type of token the reader just read.
| Field Summary | |
|---|---|
static QXmlStreamReader.TokenType |
Characters
The reader reports characters in text(). |
static QXmlStreamReader.TokenType |
Comment
The reader reports a comment in text(). |
static QXmlStreamReader.TokenType |
DTD
The reader reports a DTD in text(), notation declarations in notationDeclarations(), and entity declarations in entityDeclarations(). |
static QXmlStreamReader.TokenType |
EndDocument
The reader reports the end of the document. |
static QXmlStreamReader.TokenType |
EndElement
The reader reports the end of an element with namespaceUri() and name(). |
static QXmlStreamReader.TokenType |
EntityReference
The reader reports an entity reference that could not be resolved. |
static QXmlStreamReader.TokenType |
Invalid
An error has occurred, reported in error() and errorString(). |
static QXmlStreamReader.TokenType |
NoToken
The reader has not yet read anything. |
static QXmlStreamReader.TokenType |
ProcessingInstruction
The reader reports a processing instruction in processingInstructionTarget() and processingInstructionData(). |
static QXmlStreamReader.TokenType |
StartDocument
The reader reports the XML version number in documentVersion(), and the encoding as specified in the XML document in documentEncoding(). |
static QXmlStreamReader.TokenType |
StartElement
The reader reports the start of an element with namespaceUri() and name(). |
| Method Summary | |
|---|---|
static QXmlStreamReader.TokenType |
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.TokenType |
valueOf(java.lang.String name)
|
static QXmlStreamReader.TokenType[] |
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.TokenType NoToken
public static final QXmlStreamReader.TokenType Invalid
error() and errorString().
public static final QXmlStreamReader.TokenType StartDocument
documentVersion(), and the encoding as specified in the XML document in documentEncoding(). If the document is declared standalone, isStandaloneDocument() returns true; otherwise it returns false.
public static final QXmlStreamReader.TokenType EndDocument
public static final QXmlStreamReader.TokenType StartElement
namespaceUri() and name(). Empty elements are also reported as StartElement , followed directly by EndElement . The convenience function readElementText() can be called to concatenate all content until the corresponding EndElement . Attributes are reported in attributes(), namespace declarations in namespaceDeclarations().
public static final QXmlStreamReader.TokenType EndElement
namespaceUri() and name().
public static final QXmlStreamReader.TokenType Characters
text(). If the characters are all white-space, isWhitespace() returns true. If the characters stem from a CDATA section, isCDATA() returns true.
public static final QXmlStreamReader.TokenType Comment
text().
public static final QXmlStreamReader.TokenType DTD
text(), notation declarations in notationDeclarations(), and entity declarations in entityDeclarations(). Details of the DTD declaration are reported in in dtdName(), dtdPublicId(), and dtdSystemId().
public static final QXmlStreamReader.TokenType EntityReference
name(), the replacement text in text().
public static final QXmlStreamReader.TokenType ProcessingInstruction
processingInstructionTarget() and processingInstructionData().
| Method Detail |
|---|
public static QXmlStreamReader.TokenType[] values()
public static QXmlStreamReader.TokenType valueOf(java.lang.String name)
public int value()
value in interface QtEnumeratorpublic static QXmlStreamReader.TokenType resolve(int value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||