eu.esdihumboldt.hale.io.xsd.model
Class XmlElement
java.lang.Object
eu.esdihumboldt.hale.common.schema.model.impl.AbstractDefinition<TypeConstraint>
eu.esdihumboldt.hale.io.xsd.model.XmlElement
- All Implemented Interfaces:
- Locatable, Definition<TypeConstraint>, Comparable<Definition<?>>
public class XmlElement
- extends AbstractDefinition<TypeConstraint>
Represents a XML schema element
- 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 |
XmlElement
public XmlElement(QName elementName,
TypeDefinition type,
QName substitutionGroup)
- Create a new schema element
- Parameters:
elementName
- the element nametype
- the associated type definitionsubstitutionGroup
- the substitution group, may be null
getType
public TypeDefinition getType()
- Get the type definition associated with the element
- Returns:
- the element type
getSubstitutionGroup
public QName getSubstitutionGroup()
- Get the element substitution group
- Returns:
- the substitution group or
null
getIdentifier
public String getIdentifier()
- Description copied from interface:
Definition
- Get the definitions identifier
- Specified by:
getIdentifier
in interface Definition<TypeConstraint>
- Overrides:
getIdentifier
in class AbstractDefinition<TypeConstraint>
- Returns:
- the unique name of the definition
- See Also:
Definition.getIdentifier()
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d