eu.esdihumboldt.hale.io.xsd.constraint
Class XmlAttributeFlag
java.lang.Object
eu.esdihumboldt.hale.common.schema.model.constraint.AbstractFlagConstraint
eu.esdihumboldt.hale.io.xsd.constraint.XmlAttributeFlag
- All Implemented Interfaces:
- PropertyConstraint
@Immutable
public final class XmlAttributeFlag
- extends AbstractFlagConstraint
- implements PropertyConstraint
Flags if a property is represented by a XML attribute, disabled by default
- Author:
- Simon Templer
Constructor Summary |
XmlAttributeFlag()
Creates a default XML attribute flag, which is disabled. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENABLED
public static final XmlAttributeFlag ENABLED
- Enabled XML attribute flag
DISABLED
public static final XmlAttributeFlag DISABLED
- Disabled XML attribute flag
XmlAttributeFlag
public XmlAttributeFlag()
- Creates a default XML attribute flag, which is disabled. If possible,
instead of creating an instance, use
get(boolean)
,
ENABLED
or DISABLED
.
- See Also:
Constraint
get
public static XmlAttributeFlag get(boolean isAttribute)
- Get the XML attribute flag
- Parameters:
isAttribute
- if the flag shall be enabled
- Returns:
- the flag
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d