|
||||||
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.CommonContentBase
public abstract class CommonContentBase
Common base for simpleContent and complexContent elements.
Field Summary | |
---|---|
private long |
CONTENT_DERIVATION_MASK
Mask bits for content derivation child elements. |
private FilteredSegmentList |
m_contentDerivationList
Filtered list of content derivation elements (must be exactly one). |
Fields inherited from class org.jibx.schema.elements.AnnotatedBase |
---|
s_allowedAttributes |
Fields inherited from interface org.jibx.schema.IComponent |
---|
SCHEMA_NAMESPACE |
Constructor Summary | |
---|---|
CommonContentBase(int type)
Constructor. |
Method Summary | |
---|---|
CommonTypeDerivation |
getDerivation()
Get derivation child element. |
abstract boolean |
isComplexContent()
Check if a complex content definition. |
void |
prevalidate(ValidationContext vctx)
Prevalidate component information. |
void |
setDerivation(CommonTypeDerivation element)
Set derivation child element. |
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 |
---|
private long CONTENT_DERIVATION_MASK
private final FilteredSegmentList m_contentDerivationList
Constructor Detail |
---|
public CommonContentBase(int type)
type
- actual element typeMethod Detail |
---|
public abstract boolean isComplexContent()
true
if complex content, false
if
simple contentpublic CommonTypeDerivation getDerivation()
null
if not yet setpublic void setDerivation(CommonTypeDerivation element)
element
- derivation element, or null
if unsettingpublic 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 |