|
||||||
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 | |
---|---|
private OccursAttributeGroup |
m_occurs
Attribute values for specify occurance constraints. |
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
private OccursAttributeGroup m_occurs
Constructor Detail |
---|
protected CommonCompositorBase(int type)
type
- element typeMethod Detail |
---|
public Count getMaxOccurs()
IArity
getMaxOccurs
in interface IArity
OccursAttributeGroup.getMaxOccurs()
public Count getMinOccurs()
IArity
getMinOccurs
in interface IArity
OccursAttributeGroup.getMinOccurs()
public void setMaxOccurs(Count count)
IArity
setMaxOccurs
in interface IArity
OccursAttributeGroup.setMaxOccurs(Count)
public void setMinOccurs(Count count)
IArity
setMinOccurs
in interface IArity
OccursAttributeGroup.setMinOccurs(Count)
public void prevalidate(ValidationContext vctx)
SchemaBase
prevalidate
in interface IComponent
prevalidate
in class AnnotatedBase
vctx
- validation context
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |