org.jbind.xml.schema.element
Class SimpleContentModelDesc

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.ContentModelDesc
                      extended byorg.jbind.xml.schema.element.SimpleContentModelDesc
All Implemented Interfaces:
IAnnotated, IContentModelDesc, IElement, IHasBindingAttributes, IHasLocation, INode, IOpenAttributes, IParent, ISimpleContentModelDesc, ISourceInfo, IXmlElement, IXmlNode

public class SimpleContentModelDesc
extends ContentModelDesc
implements ISimpleContentModelDesc


Constructor Summary
SimpleContentModelDesc(CreationParams aCreationParams, java.lang.String aRole)
           
 
Method Summary
 IElement doCreateChild(CreationParams aCreationParams)
          Hook method to create a child element.
 boolean isComplex()
           
 java.lang.Boolean isMixed()
           
 void setIsMixed(boolean aBoolean)
           
 
Methods inherited from class org.jbind.xml.schema.element.ContentModelDesc
collectRefsForCreation, getDerivation, validateElement
 
Methods inherited from class org.jbind.xml.schema.element.Annotated
doCreateAttribute, 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.IContentModelDesc
collectRefsForCreation, getDerivation
 
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

SimpleContentModelDesc

public SimpleContentModelDesc(CreationParams aCreationParams,
                              java.lang.String aRole)
Method Detail

doCreateChild

public 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

isComplex

public boolean isComplex()
Specified by:
isComplex in interface IContentModelDesc

isMixed

public java.lang.Boolean isMixed()
Specified by:
isMixed in interface IContentModelDesc

setIsMixed

public void setIsMixed(boolean aBoolean)