|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jibx.schema.elements.SchemaBase
org.jibx.schema.elements.OpenAttrBase
org.jibx.schema.elements.AnnotatedBase
org.jibx.schema.elements.CommonCompositorBase
public abstract class CommonCompositorBase
Base class for all complex content model compositors. This includes the special case of the <group> (reference) compositor, which doesn't contain any children but acts as a placeholder for the compositor in the <group> definition.
| Field Summary | |
|---|---|
static StringArray |
s_allowedAttributes
List of allowed attribute names. |
| Fields inherited from interface org.jibx.schema.IComponent |
|---|
SCHEMA_NAMESPACE |
| Constructor Summary | |
|---|---|
protected |
CommonCompositorBase(int type)
Constructor. |
| Method Summary | |
|---|---|
Count |
getMaxOccurs()
Get maximum number of times this item can occur. |
Count |
getMinOccurs()
Get minimum number of times this item can occur. |
void |
prevalidate(ValidationContext vctx)
Prevalidate component information. |
void |
setMaxOccurs(Count count)
Set maximum number of times this item can occur. |
void |
setMinOccurs(Count count)
Set minimum number of times this item can occur. |
| Methods inherited from class org.jibx.schema.elements.AnnotatedBase |
|---|
getAnnotation, getId, setAnnotation, setId |
| Methods inherited from class org.jibx.schema.elements.OpenAttrBase |
|---|
addExtraAttribute, clearExtraAttributes, compactChildren, detachChild, getChild, getChildCount, getChildIterator, getChildrenWritable, getExtraAttributes, preget, replaceChild, validateAttributes |
| Methods inherited from class org.jibx.schema.elements.SchemaBase |
|---|
addNamespaceDeclaration, bit, clearNamespaceDeclarations, getExtension, getNamespaceDeclarations, getParent, getSchema, isGlobal, name, preset, readNamespaces, setExtension, setParent, type, validate, validateAttributes, writeNamespaces |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final StringArray s_allowedAttributes
| Constructor Detail |
|---|
protected CommonCompositorBase(int type)
type - element type| Method Detail |
|---|
public Count getMaxOccurs()
IArity
getMaxOccurs in interface IArityOccursAttributeGroup.getMaxOccurs()public Count getMinOccurs()
IArity
getMinOccurs in interface IArityOccursAttributeGroup.getMinOccurs()public void setMaxOccurs(Count count)
IArity
setMaxOccurs in interface IArityOccursAttributeGroup.setMaxOccurs(Count)public void setMinOccurs(Count count)
IArity
setMinOccurs in interface IArityOccursAttributeGroup.setMinOccurs(Count)public void prevalidate(ValidationContext vctx)
SchemaBase
prevalidate in interface IComponentprevalidate in class AnnotatedBasevctx - validation context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||