org.jbind.xml.schema.element
Class ListVariety
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.Variety
org.jbind.xml.schema.element.ListVariety
- All Implemented Interfaces:
- IAnnotated, IElement, IHasBindingAttributes, IHasLocation, IListVariety, INode, IOpenAttributes, IParent, ISourceInfo, IVariety, IXmlElement, IXmlNode
- public class ListVariety
- extends Variety
- implements IListVariety
Method Summary |
void |
addSchemaData(IComponentStore aComponentStore,
IComponent aComponent,
IConstraintViolations aViolations)
|
void |
collectConstraints(IAnyType aType,
IConstraintViolations aViolations)
|
void |
collectRefsForCreation(IJobRefs aJobRefs)
|
IComponent |
createComponent(IElementHelper anElementHelper,
ISourceInfo aSourceInfo,
java.lang.String aNamespace,
java.lang.String aName,
java.lang.String aRole,
java.util.Set aFinalTypes,
IConstraintViolations aViolations)
|
protected IAttribute |
doCreateAttribute(ACParams anACParams)
Hook method to create an attribute. |
protected IElement |
doCreateChild(CreationParams aCreationParams)
Hook method to create a child element. |
IRef |
getBaseRef()
|
IRef |
getItemType()
|
ISimpleTypeDef |
getSimpleTypeDef()
|
void |
validateElement(IElemValHelper aHelper,
IConstraintViolations aViolations)
|
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 |
ListVariety
public ListVariety(CreationParams aCreationParams)
getItemType
public IRef getItemType()
- Specified by:
getItemType
in interface IListVariety
getSimpleTypeDef
public ISimpleTypeDef getSimpleTypeDef()
- Specified by:
getSimpleTypeDef
in interface IListVariety
doCreateAttribute
protected IAttribute doCreateAttribute(ACParams anACParams)
throws XmlException
- Description copied from class:
Element
- Hook method to create an attribute.
- Overrides:
doCreateAttribute
in class Annotated
- Throws:
XmlException
doCreateChild
protected IElement doCreateChild(CreationParams aCreationParams)
throws XmlException
- Description copied from class:
Element
- Hook method to create a child element.
- Overrides:
doCreateChild
in class Annotated
- Throws:
XmlException
validateElement
public void validateElement(IElemValHelper aHelper,
IConstraintViolations aViolations)
- Specified by:
validateElement
in interface IElement
- Overrides:
validateElement
in class Annotated
collectRefsForCreation
public void collectRefsForCreation(IJobRefs aJobRefs)
- Specified by:
collectRefsForCreation
in interface IVariety
createComponent
public IComponent createComponent(IElementHelper anElementHelper,
ISourceInfo aSourceInfo,
java.lang.String aNamespace,
java.lang.String aName,
java.lang.String aRole,
java.util.Set aFinalTypes,
IConstraintViolations aViolations)
- Specified by:
createComponent
in interface IVariety
addSchemaData
public void addSchemaData(IComponentStore aComponentStore,
IComponent aComponent,
IConstraintViolations aViolations)
- Specified by:
addSchemaData
in interface IVariety
getBaseRef
public IRef getBaseRef()
- Specified by:
getBaseRef
in interface IVariety
collectConstraints
public void collectConstraints(IAnyType aType,
IConstraintViolations aViolations)
- Specified by:
collectConstraints
in interface IVariety