Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.xsd.model
Class XmlAttribute

java.lang.Object
  extended by eu.esdihumboldt.hale.common.schema.model.impl.AbstractDefinition<PropertyConstraint>
      extended by 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

Field Summary
 
Fields inherited from class eu.esdihumboldt.hale.common.schema.model.impl.AbstractDefinition
name
 
Constructor Summary
XmlAttribute(QName attributeName, TypeDefinition type)
          Create a new schema attribute
 
Method Summary
 String getIdentifier()
          Get the definitions identifier
 TypeDefinition getType()
          Get the type definition associated with the attribute
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlAttribute

public XmlAttribute(QName attributeName,
                    TypeDefinition type)
Create a new schema attribute

Parameters:
attributeName - the attribute name
type - the associated type definition
Method Detail

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()

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d