java.lang.Object
io.qt.QFlags<QDomDocument.ParseOption>
io.qt.xml.QDomDocument.ParseOptions
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QDomDocument.ParseOptions>
- Enclosing class:
QDomDocument
public static final class QDomDocument.ParseOptions
extends io.qt.QFlags<QDomDocument.ParseOption>
implements Comparable<QDomDocument.ParseOptions>
QFlags type for enum QDomDocument.ParseOption- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParseOptions(int value) Creates a new ParseOptions with givenvalue.ParseOptions(QDomDocument.ParseOption ... args) Creates a new ParseOptions where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QDomDocument.ParseOption []flags()Returns an array of flag objects represented by this ParseOptions.Sets the flagesetFlag(QDomDocument.ParseOption e, boolean on) Sets or clears the flagflagMethods inherited from class io.qt.QFlags
clear, clear, clearAll, cleared, compare, equals, exclude, flags, hashCode, isSet, isSet, set, set, setValue, testAnyFlags, testAnyFlags, testFlag, testFlags, testFlags, toInt, toString, value
-
Constructor Details
-
ParseOptions
Creates a new ParseOptions where the flags inargsare set.- Parameters:
args- enum entries
-
ParseOptions
public ParseOptions(int value) Creates a new ParseOptions with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classio.qt.QFlags<QDomDocument.ParseOption>- Parameters:
e- enum entry- Returns:
- new ParseOptions
-
setFlag
Sets the flage- Overrides:
setFlagin classio.qt.QFlags<QDomDocument.ParseOption>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin classio.qt.QFlags<QDomDocument.ParseOption>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this ParseOptions.- Overrides:
flagsin classio.qt.QFlags<QDomDocument.ParseOption>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classio.qt.QFlags<QDomDocument.ParseOption>
-
compareTo
- Specified by:
compareToin interfaceComparable<QDomDocument.ParseOptions>
-