Humboldt Alignment Editor 2.5.0

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

java.lang.Object
  extended by eu.esdihumboldt.hale.common.schema.model.impl.AbstractDefinition<C>
      extended by eu.esdihumboldt.hale.common.schema.model.impl.AbstractChildDefinition<GroupPropertyConstraint>
          extended by eu.esdihumboldt.hale.common.schema.model.impl.DefaultGroupPropertyDefinition
              extended by eu.esdihumboldt.hale.io.xsd.reader.internal.LazyGroupPropertyDefinition
                  extended by eu.esdihumboldt.hale.io.xsd.reader.internal.XmlGroupReferenceProperty
All Implemented Interfaces:
Locatable, ChildDefinition<GroupPropertyConstraint>, Definition<GroupPropertyConstraint>, DefinitionGroup, GroupPropertyDefinition, Comparable<Definition<?>>

public class XmlGroupReferenceProperty
extends LazyGroupPropertyDefinition

Group property referencing a XML group

Author:
Simon Templer

Field Summary
 
Fields inherited from class eu.esdihumboldt.hale.io.xsd.reader.internal.LazyGroupPropertyDefinition
index
 
Fields inherited from class eu.esdihumboldt.hale.common.schema.model.impl.AbstractDefinition
name
 
Constructor Summary
XmlGroupReferenceProperty(QName name, DefinitionGroup declaringType, XmlIndex index, QName groupName, boolean allowFlatten)
          Create a property that references a XML group
 
Method Summary
protected  void initChildren()
          Initialize the children.
 
Methods inherited from class eu.esdihumboldt.hale.io.xsd.reader.internal.LazyGroupPropertyDefinition
getChild, getDeclaredChildren
 
Methods inherited from class eu.esdihumboldt.hale.common.schema.model.impl.DefaultGroupPropertyDefinition
addChild, allowFlatten, asGroup, asProperty, 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, getDescription, 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.DefinitionGroup
getIdentifier
 
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, getDescription, 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

XmlGroupReferenceProperty

public XmlGroupReferenceProperty(QName name,
                                 DefinitionGroup declaringType,
                                 XmlIndex index,
                                 QName groupName,
                                 boolean allowFlatten)
Create a property that references a XML group

Parameters:
name - the property name
declaringType - the declaring type
index - the XML index
groupName - the group name
allowFlatten - if the group may be replaced by its children
Method Detail

initChildren

protected void initChildren()
Description copied from class: LazyGroupPropertyDefinition
Initialize the children. DefaultGroupPropertyDefinition.addChild(ChildDefinition) can be used to add them.

Specified by:
initChildren in class LazyGroupPropertyDefinition
See Also:
LazyGroupPropertyDefinition.initChildren()

Humboldt Alignment Editor 2.5.0

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