|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QDomImplementation.InvalidDataPolicy>
com.trolltech.qt.xml.QDomImplementation.InvalidDataPolicy
public static enum QDomImplementation.InvalidDataPolicy
This enum specifies what should be done when a factory function in QDomDocument is called with invalid data.
Enum Constant Summary | |
---|---|
AcceptInvalidChars
The data should be stored in the DOM object anyway. |
|
DropInvalidChars
The invalid characters should be removed from the data. |
|
ReturnNullNode
The factory function should return a null node. |
Method Summary | |
---|---|
static QDomImplementation.InvalidDataPolicy |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QDomImplementation.InvalidDataPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QDomImplementation.InvalidDataPolicy[] |
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 QDomImplementation.InvalidDataPolicy AcceptInvalidChars
The data should be stored in the DOM object anyway. In this case the resulting XML document might not be well-formed. This is the default value and QDom's behavior in Qt < 4.1.
public static final QDomImplementation.InvalidDataPolicy DropInvalidChars
The invalid characters should be removed from the data.
public static final QDomImplementation.InvalidDataPolicy ReturnNullNode
The factory function should return a null node.
Method Detail |
---|
public static QDomImplementation.InvalidDataPolicy[] values()
for (QDomImplementation.InvalidDataPolicy c : QDomImplementation.InvalidDataPolicy.values()) System.out.println(c);
public static QDomImplementation.InvalidDataPolicy 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 name
java.lang.NullPointerException
- if the argument is nullpublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QDomImplementation.InvalidDataPolicy resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |