Class QDomDocument.ParseOptions
- 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 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 flagflagfinal voidsetValue(int value) Sets the value of this QFlags.final intvalue()Returns the value of this QFlags.
-
Constructor Details
-
ParseOptions
public ParseOptions()Creates a new ParseOptions. -
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 classQFlags<QDomDocument.ParseOption>- Parameters:
e- enum entry- Returns:
- new ParseOptions
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QDomDocument.ParseOption>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin 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:
flagsin classQFlags<QDomDocument.ParseOption>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QDomDocument.ParseOption>
-
compareTo
- Specified by:
compareToin 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
-