@Immutable public final class XmlMixedFlag extends AbstractFlagConstraint implements TypeConstraint
Modifier and Type | Field and Description |
---|---|
static XmlMixedFlag |
DISABLED
Disabled XML mixed type flag
|
static XmlMixedFlag |
ENABLED
Enabled XML mixed type flag
|
Constructor and Description |
---|
XmlMixedFlag()
Creates a default XML mixed type flag, which is disabled.
|
Modifier and Type | Method and Description |
---|---|
static XmlMixedFlag |
get(boolean isMixed)
Get the XML mixed flag
|
boolean |
isInheritable()
Determines if the constraint is inheritable, meaning it may be used for a
sub-type.
|
equals, hashCode, isEnabled
public static final XmlMixedFlag ENABLED
public static final XmlMixedFlag DISABLED
public XmlMixedFlag()
get(boolean)
,
ENABLED
or DISABLED
.Constraint
public static XmlMixedFlag get(boolean isMixed)
isMixed
- if the flag shall be enabledpublic boolean isInheritable()
TypeConstraint
isInheritable
in interface TypeConstraint
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a