@Immutable public final class XmlAttributeFlag extends AbstractFlagConstraint implements PropertyConstraint
Modifier and Type | Field and Description |
---|---|
static XmlAttributeFlag |
DISABLED
Disabled XML attribute flag
|
static XmlAttributeFlag |
ENABLED
Enabled XML attribute flag
|
Constructor and Description |
---|
XmlAttributeFlag()
Creates a default XML attribute flag, which is disabled.
|
Modifier and Type | Method and Description |
---|---|
static XmlAttributeFlag |
get(boolean isAttribute)
Get the XML attribute flag
|
equals, hashCode, isEnabled
public static final XmlAttributeFlag ENABLED
public static final XmlAttributeFlag DISABLED
public XmlAttributeFlag()
get(boolean)
,
ENABLED
or DISABLED
.Constraint
public static XmlAttributeFlag get(boolean isAttribute)
isAttribute
- if the flag shall be enabledBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a