Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.xsd.reader.internal
Class XmlTypeDefinition

java.lang.Object
  extended by eu.esdihumboldt.hale.common.schema.model.impl.AbstractDefinition<TypeConstraint>
      extended by eu.esdihumboldt.hale.common.schema.model.impl.DefaultTypeDefinition
          extended by eu.esdihumboldt.hale.io.xsd.reader.internal.XmlTypeDefinition
All Implemented Interfaces:
Locatable, Definition<TypeConstraint>, DefinitionGroup, TypeDefinition, Comparable<Definition<?>>
Direct Known Subclasses:
AnonymousXmlType

public class XmlTypeDefinition
extends DefaultTypeDefinition

XML type definition

Author:
Simon Templer

Field Summary
 
Fields inherited from class eu.esdihumboldt.hale.common.schema.model.impl.AbstractDefinition
name
 
Constructor Summary
XmlTypeDefinition(QName name)
           
 
Method Summary
 Collection<? extends ChildDefinition<?>> getChildren()
          Get all children that an instance of the type may have.
 String getDescription()
          Get the definition description
 
Methods inherited from class eu.esdihumboldt.hale.common.schema.model.impl.DefaultTypeDefinition
addChild, addSubType, getChild, getDeclaredChildren, getIdentifier, getInheritedChildren, getInheritedConstraint, getSubTypes, getSuperType, removeSubType, setSuperType, toString
 
Methods inherited from class eu.esdihumboldt.hale.common.schema.model.impl.AbstractDefinition
compareTo, equals, getConstraint, getDisplayName, getLocation, getName, hasConstraint, hashCode, setConstraint, setConstraintIfNotSet, setDescription, setLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface eu.esdihumboldt.hale.common.schema.model.Definition
getConstraint, getDisplayName, getName
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.io.supplier.Locatable
getLocation
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

XmlTypeDefinition

public XmlTypeDefinition(QName name)
See Also:
DefaultTypeDefinition.DefaultTypeDefinition(QName)
Method Detail

getChildren

public Collection<? extends ChildDefinition<?>> getChildren()
Description copied from class: DefaultTypeDefinition
Get all children that an instance of the type may have. Usually these are the declared children and the super type children.
May not be called while creating the model.

Specified by:
getChildren in interface TypeDefinition
Overrides:
getChildren in class DefaultTypeDefinition
Returns:
the child definitions
See Also:
DefaultTypeDefinition.getChildren()

getDescription

public String getDescription()
Description copied from interface: Definition
Get the definition description

Specified by:
getDescription in interface Definition<TypeConstraint>
Overrides:
getDescription in class AbstractDefinition<TypeConstraint>
Returns:
the description string or null
See Also:
Definition.getDescription()

Humboldt Alignment Editor 2.5.0

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