|
||||||||||
| 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.CommonTypeDefinition
org.jibx.schema.elements.SimpleTypeElement
public class SimpleTypeElement
Representation for a simpleType element.
| Field Summary | |
|---|---|
static int |
LIST_FINAL
|
static int |
RESTRICTION_FINAL
|
static StringArray |
s_allowedAttributes
List of allowed attribute names. |
static EnumSet |
s_simpleDerivationValues
|
static int |
UNION_FINAL
|
| Fields inherited from class org.jibx.schema.elements.CommonTypeDefinition |
|---|
m_qname |
| Fields inherited from interface org.jibx.schema.IComponent |
|---|
SCHEMA_NAMESPACE |
| Constructor Summary | |
|---|---|
SimpleTypeElement()
Constructor. |
|
| Method Summary | |
|---|---|
SchemaBase |
getDerivation()
Get derivation child element. |
AllEnumSet |
getFinal()
Get 'final' attribute value. |
boolean |
isComplexType()
Check if a complex type definition. |
boolean |
isPredefinedType()
Check if a predefined type definition. |
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(SchemaBase element)
Set derivation child element. |
| Methods inherited from class org.jibx.schema.elements.CommonTypeDefinition |
|---|
getName, getQName, setName |
| 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, 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
public static final int LIST_FINAL
public static final int RESTRICTION_FINAL
public static final int UNION_FINAL
public static final EnumSet s_simpleDerivationValues
| Constructor Detail |
|---|
public SimpleTypeElement()
| Method Detail |
|---|
protected void preset(IUnmarshallingContext ictx)
throws JiBXException
SchemaBase
preset in class SchemaBaseictx - unmarshalling context
JiBXException - on errorpublic boolean isComplexType()
CommonTypeDefinition
isComplexType in class CommonTypeDefinitiontrue if complex type, false if simple
typepublic boolean isPredefinedType()
CommonTypeDefinition
isPredefinedType in class CommonTypeDefinitiontrue if predefined, false if user typepublic AllEnumSet getFinal()
public SchemaBase getDerivation()
null if not yet setpublic void setDerivation(SchemaBase element)
element - derivation element, or null if unsettingpublic void prevalidate(ValidationContext vctx)
SchemaBase
prevalidate in interface IComponentprevalidate in class CommonTypeDefinitionvctx - validation context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||