org.jbind.xml.schema.element
Class ComplexDerivation
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.Derivation
org.jbind.xml.schema.element.ComplexDerivation
- All Implemented Interfaces:
- IAnnotated, IComplexDerivation, IDerivation, IElement, IHasBindingAttributes, IHasLocation, INode, IOpenAttributes, IParent, ISourceInfo, IXmlElement, IXmlNode
- Direct Known Subclasses:
- ComplexExtensionDerivation, ComplexRestrictionDerivation
- public abstract class ComplexDerivation
- extends Derivation
- implements IComplexDerivation
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 |
ComplexDerivation
public ComplexDerivation(CreationParams aCreationParams)
doCreateChild
public IElement doCreateChild(CreationParams aCreationParams)
throws XmlException
- Description copied from class:
Element
- Hook method to create a child element.
- Overrides:
doCreateChild
in class Derivation
- Throws:
XmlException
getModelGroup
public IModelGroup getModelGroup()
- Description copied from interface:
IDerivation
- Gets the model group.
- Specified by:
getModelGroup
in interface IDerivation
- Returns:
- Returns the model group iff this is a complex content model or
null
otherwise. (optional)
getModelGroupRef
public IModelGroupRef getModelGroupRef()
- Specified by:
getModelGroupRef
in interface IDerivation
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.
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).
validateElement
public void validateElement(IElemValHelper aHelper,
IConstraintViolations aViolations)
- Specified by:
validateElement
in interface IElement
- Overrides:
validateElement
in class Derivation
collectRefsForCreation
public void collectRefsForCreation(IJobRefs aJobRefs)
- Specified by:
collectRefsForCreation
in interface IDerivation