Humboldt Alignment Editor 2.5.0

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

java.lang.Object
  extended by eu.esdihumboldt.hale.common.schema.model.impl.AbstractDefinition<C>
      extended by eu.esdihumboldt.hale.common.schema.model.impl.AbstractChildDefinition<PropertyConstraint>
          extended by eu.esdihumboldt.hale.common.schema.model.impl.DefaultPropertyDefinition
              extended by eu.esdihumboldt.hale.io.xsd.reader.internal.LazyPropertyDefinition
                  extended by eu.esdihumboldt.hale.io.xsd.reader.internal.XmlElementReferenceProperty
All Implemented Interfaces:
Locatable, ChildDefinition<PropertyConstraint>, Definition<PropertyConstraint>, PropertyDefinition, Comparable<Definition<?>>

public class XmlElementReferenceProperty
extends LazyPropertyDefinition

Property referencing a XML element

Author:
Simon Templer

Field Summary
 
Fields inherited from class eu.esdihumboldt.hale.io.xsd.reader.internal.LazyPropertyDefinition
index
 
Fields inherited from class eu.esdihumboldt.hale.common.schema.model.impl.AbstractDefinition
name
 
Constructor Summary
XmlElementReferenceProperty(QName name, DefinitionGroup declaringGroup, XmlIndex index, QName elementName)
          Create a property that references a XML element
 
Method Summary
protected  TypeDefinition resolvePropertyType(XmlIndex index)
          Resolve the property type using the XML index
 
Methods inherited from class eu.esdihumboldt.hale.io.xsd.reader.internal.LazyPropertyDefinition
getPropertyType
 
Methods inherited from class eu.esdihumboldt.hale.common.schema.model.impl.DefaultPropertyDefinition
asGroup, asProperty, getDescription, toString
 
Methods inherited from class eu.esdihumboldt.hale.common.schema.model.impl.AbstractChildDefinition
getDeclaringGroup, getIdentifier, getParentType
 
Methods inherited from class eu.esdihumboldt.hale.common.schema.model.impl.AbstractDefinition
compareTo, equals, getConstraint, getDisplayName, getInheritedConstraint, 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.ChildDefinition
getDeclaringGroup, getParentType
 
Methods inherited from interface eu.esdihumboldt.hale.common.schema.model.Definition
getConstraint, getDisplayName, getIdentifier, getName
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.io.supplier.Locatable
getLocation
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

XmlElementReferenceProperty

public XmlElementReferenceProperty(QName name,
                                   DefinitionGroup declaringGroup,
                                   XmlIndex index,
                                   QName elementName)
Create a property that references a XML element

Parameters:
name - the property name
declaringGroup - the declaring group
index - the XML index
elementName - the element name
Method Detail

resolvePropertyType

protected TypeDefinition resolvePropertyType(XmlIndex index)
Description copied from class: LazyPropertyDefinition
Resolve the property type using the XML index

Specified by:
resolvePropertyType in class LazyPropertyDefinition
Parameters:
index - the XML index
Returns:
the resolved property type
See Also:
LazyPropertyDefinition.resolvePropertyType(XmlIndex)

Humboldt Alignment Editor 2.5.0

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