org.jbind.xml.schema.element
Class ModelGroupRef
java.lang.Object
org.jbind.xml.schema.element.Parent
org.jbind.xml.schema.element.Element
org.jbind.xml.schema.element.OpenAttributes
org.jbind.xml.schema.element.Annotated
org.jbind.xml.schema.element.Particle
org.jbind.xml.schema.element.ModelGroupRef
- All Implemented Interfaces:
- IAnnotated, IComponentJobHelper, IElement, IHasBindingAttributes, IHasLocation, IJobHelper, IModelGroupRef, INode, IOpenAttributes, IParent, IParticle, ISchemaDataAdder, ISourceInfo, ITopLevelJobHelper, IXmlElement, IXmlNode
- public class ModelGroupRef
- extends Particle
- implements IModelGroupRef
Methods inherited from class org.jbind.xml.schema.element.Element |
acceptAppInfoVisitor, addAttribute, createChild, createGlobalRef, getAttributes, getBindingAttribute, getBoolean, getChildByClass, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getLocalBindingAttribute, getLocalName, getLocalStringBindingAttribute, getLocation, getNamespace, getNamespaceUri, getParent_, getParentHelper, getPrefix, getPrefixToNamespaceMapping, getQName, getSchema, getSchemaDocument, getSchemaElement, getStringBindingAttribute, getSubElement, getTargetNamespace, isTopLevelComponent, iterChildrenByClass, setLocation, setParent_, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ModelGroupRef
public ModelGroupRef(CreationParams aCreationParams)
doCreateAttribute
protected IAttribute doCreateAttribute(ACParams anACParams)
throws XmlException
- Description copied from class:
Element
- Hook method to create an attribute.
- Overrides:
doCreateAttribute
in class Particle
- Throws:
XmlException
getRef
public IRef getRef()
- Specified by:
getRef
in interface IModelGroupRef
setRef
public void setRef(IRef aRef)
- Specified by:
setRef
in interface IModelGroupRef
validateElement
public void validateElement(IElemValHelper aHelper,
IConstraintViolations aViolations)
- Specified by:
validateElement
in interface IElement
- Overrides:
validateElement
in class Particle
collectRefsForCreation
public void collectRefsForCreation(IJobRefs aJobRefs)
- Description copied from interface:
IParticle
- Recursively collects all references.
- Specified by:
collectRefsForCreation
in interface IParticle
- Parameters:
aJobRefs
- A collections of IJobRef
.
collectRefsForCompletion
public void collectRefsForCompletion(IElementHelper anElementHelper,
IJobRefs aJobRefs)
- Description copied from interface:
IParticle
- Recursively collects the references that must be resolved to complete the particle.
- Specified by:
collectRefsForCompletion
in interface IParticle
- Parameters:
aJobRefs
- A collections of IJobRef
.anElementHelper
- Description of the Parameter
collectRefsForValidation
public void collectRefsForValidation(IElementHelper anElementHelper,
IJobRefs aJobRefs)
- Specified by:
collectRefsForValidation
in interface IComponentJobHelper
createComponent
public IComponent createComponent(IElementHelper aHelper,
IConstraintViolations aViolations)
- Specified by:
createComponent
in interface IComponentJobHelper
completeComponent
public void completeComponent(IElementHelper aHelper,
IComponent aComponent,
IConstraintViolations aViolations)
- Specified by:
completeComponent
in interface IComponentJobHelper
addSchemaData
public void addSchemaData(IComponentStore aStore,
IComponent aComponent,
IConstraintViolations aViolations)
- Description copied from interface:
ISchemaDataAdder
- Adds data from the schema to the specified component. Schema data are
default and fixed values as well as facets.
- Specified by:
addSchemaData
in interface ISchemaDataAdder
createAndAddJob
public void createAndAddJob(IHasTopLevelJobs aHasTopLevelJobs)
- Description copied from interface:
ITopLevelJobHelper
- Creates a job for this helper and adds it to the schema job. This method
is used by a schema element when it creates the sub jobs of a schema job.
- Specified by:
createAndAddJob
in interface ITopLevelJobHelper
- Returns:
- (required).
getSymbolSpace
public ISymbolspace getSymbolSpace()
- Specified by:
getSymbolSpace
in interface IComponentJobHelper
getName
public java.lang.String getName()
- Specified by:
getName
in interface IComponentJobHelper