- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QDomDocument.ParseOptions>
- Enclosing class:
QDomDocument
public static final class QDomDocument.ParseOptions
extends QFlags<QDomDocument.ParseOption>
implements Comparable<QDomDocument.ParseOptions>
QFlags
type for enum QDomDocument.ParseOption
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ParseOptions.ParseOptions
(int value) Creates a new ParseOptions with givenvalue
.ParseOptions
(QDomDocument.ParseOption ... args) Creates a new ParseOptions where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
final QDomDocument.ParseOption []
flags()
Returns an array of flag objects represented by this ParseOptions.Sets the flage
setFlag
(QDomDocument.ParseOption e, boolean on) Sets or clears the flagflag
final void
setValue
(int value) Sets the value of this QFlags.final int
value()
Returns the value of this QFlags.
-
Constructor Details
-
ParseOptions
public ParseOptions()Creates a new ParseOptions. -
ParseOptions
Creates a new ParseOptions where the flags inargs
are 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:
combined
in classQFlags<QDomDocument.ParseOption>
- Parameters:
e
- enum entry- Returns:
- new ParseOptions
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QDomDocument.ParseOption>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<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:
flags
in classQFlags<QDomDocument.ParseOption>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QDomDocument.ParseOption>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QDomDocument.ParseOptions>
-
value
public final int value()Returns the value of this QFlags. -
setValue
public final void setValue(int value) Sets the value of this QFlags.- Parameters:
value
- new value
-