org.jbind.xml.schema.cmp
Class Content

java.lang.Object
  extended byorg.jbind.xml.schema.cmp.Component
      extended byorg.jbind.xml.schema.cmp.Content
All Implemented Interfaces:
IComponent, IContentDesc, IHasBindingAttributes, IHasLocation, IHasRange, ISourceInfo
Direct Known Subclasses:
ElemDesc, ElemGroupDesc

public abstract class Content
extends Component
implements IContentDesc


Constructor Summary
Content(ISourceInfo aSourceInfo, java.lang.String aNamespace, java.lang.String aName, IRange aRange)
           
 
Method Summary
 int getMaxOccurs()
           
 int getMinOccurs()
           
 IRange getRange()
           
 boolean isEmptiable()
          Indicates that the content is emptiable, i.e. that no elements must occur in instance documents to match this content.
 boolean isUnbounded()
           
 
Methods inherited from class org.jbind.xml.schema.cmp.Component
addSubComponent, getAnnotation, getBindingAttribute, getBindings, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getGlobalRef, getLocalBindingAttribute, getLocalStringBindingAttribute, getLocation, getName, getNamespace, getParentComponent, getPrefixToNamespaceMapping, getStringBindingAttribute, isAnonymous, isTopLevelComponent, setBindings, setParentComponent, visitSubComponents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbind.xml.core.content.IContentDesc
addToParent, collectElemDescs, createUseState, createUseStateProxy, getDesc, getRange, replaceSubstitutions
 
Methods inherited from interface org.jbind.xml.core.cmp.IComponent
accept, addSubComponent, getBindings, getGlobalRef, getName, getNamespace, getParentComponent, getSymbolspace, isAnonymous, isReference, isTopLevelComponent, setBindings, setParentComponent, validate
 
Methods inherited from interface org.jbind.xml.core.cmp.ISourceInfo
getAnnotation, getPrefixToNamespaceMapping
 
Methods inherited from interface org.jbind.xml.base.IHasLocation
getLocation
 
Methods inherited from interface org.jbind.xml.base.IHasBindingAttributes
getBindingAttribute, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getLocalBindingAttribute, getLocalStringBindingAttribute, getStringBindingAttribute
 

Constructor Detail

Content

public Content(ISourceInfo aSourceInfo,
               java.lang.String aNamespace,
               java.lang.String aName,
               IRange aRange)
Method Detail

getRange

public IRange getRange()
Specified by:
getRange in interface IHasRange

getMinOccurs

public int getMinOccurs()
Specified by:
getMinOccurs in interface IContentDesc

getMaxOccurs

public int getMaxOccurs()
Specified by:
getMaxOccurs in interface IContentDesc

isUnbounded

public boolean isUnbounded()
Specified by:
isUnbounded in interface IContentDesc

isEmptiable

public final boolean isEmptiable()
Description copied from interface: IContentDesc
Indicates that the content is emptiable, i.e. that no elements must occur in instance documents to match this content.

Specified by:
isEmptiable in interface IContentDesc