|
||||||||||
| 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.CommonTypeDerivation
org.jibx.schema.elements.CommonSimpleModification
org.jibx.schema.elements.SimpleRestrictionElement
public class SimpleRestrictionElement
restriction element definition used for simple content.
| Field Summary |
|---|
| Fields inherited from class org.jibx.schema.elements.CommonTypeDerivation |
|---|
s_allowedAttributes |
| Fields inherited from interface org.jibx.schema.IComponent |
|---|
SCHEMA_NAMESPACE |
| Constructor Summary | |
|---|---|
SimpleRestrictionElement()
Constructor. |
|
| Method Summary | |
|---|---|
SimpleTypeElement |
getDerivation()
Get inline base type definition element. |
FilteredSegmentList |
getFacetsList()
Get list of child facet elements. |
protected boolean |
isBaseRequired()
Check if base attribute value is required for this element. |
boolean |
isComplexType()
Check if complex type derivation. |
boolean |
isExtension()
Check if extension derivation. |
protected void |
preset(IUnmarshallingContext ictx)
Pre-set method to be called by data binding while parsing element start tag. |
void |
prevalidate(ValidationContext vctx)
Prevalidate component information. |
void |
setDerivation(SimpleTypeElement element)
Set inline base type definition element. |
| Methods inherited from class org.jibx.schema.elements.CommonSimpleModification |
|---|
getAnyAttribute, getAttributeList, setAnyAttribute |
| Methods inherited from class org.jibx.schema.elements.CommonTypeDerivation |
|---|
getBase, getBaseType, setBase, validate |
| 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, readNamespaces, setExtension, setParent, type, validateAttributes, writeNamespaces |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleRestrictionElement()
| Method Detail |
|---|
public boolean isComplexType()
CommonTypeDerivation
isComplexType in class CommonSimpleModificationtrue if complex type derivation, false
if simple type derivationpublic boolean isExtension()
CommonTypeDerivation
isExtension in class CommonSimpleModificationtrue if extension, false if restriction
protected void preset(IUnmarshallingContext ictx)
throws JiBXException
SchemaBase
preset in class CommonSimpleModificationictx - unmarshalling context
JiBXException - on errorpublic SimpleTypeElement getDerivation()
null if nonepublic void setDerivation(SimpleTypeElement element)
element - inline base type, or null if unsettingpublic FilteredSegmentList getFacetsList()
protected boolean isBaseRequired()
CommonTypeDerivation
isBaseRequired in class CommonTypeDerivationtrue if base attribute required, false
if notpublic void prevalidate(ValidationContext vctx)
SchemaBase
prevalidate in interface IComponentprevalidate in class CommonSimpleModificationvctx - validation context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||