org.jbind.xml.schema.element
Class SimpleExtensionDerivation

java.lang.Object
  extended byorg.jbind.xml.schema.element.Parent
      extended byorg.jbind.xml.schema.element.Element
          extended byorg.jbind.xml.schema.element.OpenAttributes
              extended byorg.jbind.xml.schema.element.Annotated
                  extended byorg.jbind.xml.schema.element.Derivation
                      extended byorg.jbind.xml.schema.element.SimpleDerivation
                          extended byorg.jbind.xml.schema.element.SimpleExtensionDerivation
All Implemented Interfaces:
IAnnotated, IDerivation, IElement, IHasBindingAttributes, IHasLocation, INode, IOpenAttributes, IParent, ISimpleDerivation, ISimpleExtensionDerivation, ISourceInfo, IXmlElement, IXmlNode

public class SimpleExtensionDerivation
extends SimpleDerivation
implements ISimpleExtensionDerivation


Constructor Summary
SimpleExtensionDerivation(CreationParams aCreationParams)
           
 
Method Summary
 void collectRefsForCreation(IJobRefs aJobRefs)
           
 IRef getEffectiveBaseAttribute()
          Gets the effective base attribute.
 IRef getInlinedBaseAttribute()
          Gets the inlined base attribute.
 boolean getIsExtension()
           
 ISimpleTypeDef getSimpleTypeDef()
          Gets the simple type definition.
 
Methods inherited from class org.jbind.xml.schema.element.SimpleDerivation
getModelGroup, getModelGroupRef
 
Methods inherited from class org.jbind.xml.schema.element.Derivation
doCreateAttribute, doCreateChild, getAttributeInfos, getBaseAttribute, setBaseAttribute, validateElement
 
Methods inherited from class org.jbind.xml.schema.element.Annotated
getAnnotation, getAnnotationElement, getId, iterAppInfos
 
Methods inherited from class org.jbind.xml.schema.element.OpenAttributes
getAttributeString
 
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 org.jbind.xml.schema.element.Parent
addChild, hasChildren, iterChildren, iterXmlNodes, visitChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jbind.xml.schema.element.IDerivation
getAttributeInfos, getBaseAttribute, getModelGroup, getModelGroupRef, setBaseAttribute
 
Methods inherited from interface org.jbind.xml.schema.element.IAnnotated
getAnnotationElement, getId
 
Methods inherited from interface org.jbind.xml.schema.element.IOpenAttributes
getAttributeString
 
Methods inherited from interface org.jbind.xml.schema.element.IElement
addAttribute, createChild, getQName, getSchema, getSchemaDocument, getSubElement, isTopLevelComponent, iterChildrenByClass, validateElement
 
Methods inherited from interface org.jbind.xml.schema.element.IParent
addChild, hasChildren, iterChildren
 
Methods inherited from interface org.jbind.xml.schema.element.INode
getParent_, setLocation, setParent_
 
Methods inherited from interface org.jbind.xml.base.IHasLocation
getLocation
 
Methods inherited from interface org.jbind.xml.core.cmp.IXmlNode
acceptAppInfoVisitor
 
Methods inherited from interface org.jbind.xml.base.IHasBindingAttributes
getBindingAttribute, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getLocalBindingAttribute, getLocalStringBindingAttribute, getStringBindingAttribute
 
Methods inherited from interface org.jbind.xml.core.cmp.ISourceInfo
getAnnotation, getPrefixToNamespaceMapping
 
Methods inherited from interface org.jbind.xml.core.cmp.IXmlElement
getAttributes, iterXmlNodes
 

Constructor Detail

SimpleExtensionDerivation

public SimpleExtensionDerivation(CreationParams aCreationParams)
Method Detail

getIsExtension

public boolean getIsExtension()
Specified by:
getIsExtension in interface IDerivation

getInlinedBaseAttribute

public IRef getInlinedBaseAttribute()
Description copied from interface: IDerivation
Gets the inlined base attribute. In case of simple type restrictions (either as a simple type derivation or as a complex type derivation with simple content) there may be an inlined simple type. The type referenced by the inlined base attribute must be a subtype of the type referenced by the base attribute.

Specified by:
getInlinedBaseAttribute in interface IDerivation
Returns:
(optional).

getEffectiveBaseAttribute

public IRef getEffectiveBaseAttribute()
Description copied from interface: IDerivation
Gets the effective base attribute. If there is a base attribute and an inlined base attribute then the inlined base attribute is returned.

Specified by:
getEffectiveBaseAttribute in interface IDerivation
Returns:
(required).

getSimpleTypeDef

public ISimpleTypeDef getSimpleTypeDef()
Description copied from interface: IDerivation
Gets the simple type definition.

Specified by:
getSimpleTypeDef in interface IDerivation
Returns:
(optional). Returns the inlined simple type definition of a restriction.

collectRefsForCreation

public void collectRefsForCreation(IJobRefs aJobRefs)
Specified by:
collectRefsForCreation in interface IDerivation