|
||||||
| 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.support.SchemaTypes.SchemaSimpleType
public static class SchemaTypes.SchemaSimpleType
Simple schema type representation.
| Field Summary | |
|---|---|
private QName |
m_qname
Qualified name. |
private boolean |
m_string
String-derived type flag. |
| Fields inherited from class org.jibx.schema.elements.CommonTypeDefinition |
|---|
s_allowedAttributes |
| Fields inherited from interface org.jibx.schema.IComponent |
|---|
SCHEMA_NAMESPACE |
| Constructor Summary | |
|---|---|
protected |
SchemaTypes.SchemaSimpleType(java.lang.String name,
boolean isstring)
Constructor. |
| Method Summary | |
|---|---|
java.lang.String |
getName()
Get 'name' attribute value. |
QName |
getQName()
Get qualified name for element. |
boolean |
isComplexType()
Check if a complex type definition. |
boolean |
isPredefinedType()
Check if a predefined type definition. |
boolean |
isString()
Check for schema type derived from string. |
| Methods inherited from class org.jibx.schema.elements.CommonTypeDefinition |
|---|
prevalidate, 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, 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 final QName m_qname
private final boolean m_string
| Constructor Detail |
|---|
protected SchemaTypes.SchemaSimpleType(java.lang.String name,
boolean isstring)
name - schema type local nameisstring - type derived from string flag| Method Detail |
|---|
public 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 java.lang.String getName()
getName in interface INamedgetName in class CommonTypeDefinitionpublic QName getQName()
getQName in interface INamedgetQName in class CommonTypeDefinitionpublic boolean isString()
true if derived from string, false if not
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||