eu.esdihumboldt.hale.io.xsd.model
Class XmlAttribute
java.lang.Object
eu.esdihumboldt.hale.common.schema.model.impl.AbstractDefinition<PropertyConstraint>
eu.esdihumboldt.hale.io.xsd.model.XmlAttribute
- All Implemented Interfaces:
- Locatable, Definition<PropertyConstraint>, Comparable<Definition<?>>
public class XmlAttribute
- extends AbstractDefinition<PropertyConstraint>
Represents a XML schema attribute
- Author:
- Simon Templer
- Partner:
- 01 / Fraunhofer Institute for Computer Graphics Research
Methods inherited from class eu.esdihumboldt.hale.common.schema.model.impl.AbstractDefinition |
compareTo, equals, getConstraint, getDescription, getDisplayName, getInheritedConstraint, getLocation, getName, hasConstraint, hashCode, setConstraint, setConstraintIfNotSet, setDescription, setLocation, toString |
XmlAttribute
public XmlAttribute(QName attributeName,
TypeDefinition type)
- Create a new schema attribute
- Parameters:
attributeName
- the attribute nametype
- the associated type definition
getType
public TypeDefinition getType()
- Get the type definition associated with the attribute
- Returns:
- the element type
getIdentifier
public String getIdentifier()
- Description copied from interface:
Definition
- Get the definitions identifier
- Specified by:
getIdentifier
in interface Definition<PropertyConstraint>
- Overrides:
getIdentifier
in class AbstractDefinition<PropertyConstraint>
- Returns:
- the unique name of the definition
- See Also:
Definition.getIdentifier()
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d