class DeferredSimpleType extends SimpleType
FINAL_ALL, FINAL_LIST, FINAL_RESTRICTION, FINAL_UNIONNULL_ARGUMENTANNOTATION, ANYTYPE, APPINFO, ATTRIBUTE, ATTRIBUTE_GROUP, COMPLEX_CONTENT, COMPLEX_TYPE, DOCUMENTATION, ELEMENT, FACET, GROUP, IDENTITY_FIELD, IDENTITY_SELECTOR, KEY, KEYREF, LIST, MODELGROUP, MODELGROUP_REF, REDEFINE, SCHEMA, SIMPLE_CONTENT, SIMPLE_TYPE, UNION, UNIQUE, UNKNOWN, WILDCARD| Constructor and Description |
|---|
DeferredSimpleType()
Creates a new default DeferredSimpleType.
|
DeferredSimpleType(java.lang.String name)
Creates a new DeferredSimpleType
|
DeferredSimpleType(java.lang.String name,
Schema schema)
Creates a new DeferredSimpleType
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createInstance()
Resolves the parents of this simple type in order to create the
instance of the appropriate class deriving from simple type and fill it.
|
java.lang.String |
getBaseTypeName()
Overridden to return the local copy of the base type's name we own.
|
short |
getStructureType()
Returns Structure.UNKNOWN
(This class should not be seen outside AttributeDecl and ElementDecl anyway)
|
(package private) XMLType |
getType()
Package private getter of the simpleType instance.
|
void |
setBaseTypeName(java.lang.String baseTypeName)
Sets the name of the base type that couldn't be resolved
when this type was created.
|
addFacet, copyFacets, createReference, getBuiltInBaseType, getEffectiveFacets, getFacet, getFacets, getFacets, getFinal, getLength, getLocalFacets, getMaxLength, getMinLength, getNumberOfFacets, getParent, getReferenceId, getTypeCode, hasFacet, isBuiltInType, isDateTimeType, isNumericType, isRedefined, removeFacet, removeFacet, resolveReference, setFinal, setParent, setRedefined, setTypeCode, validategetBaseType, getDerivationMethod, getId, getName, getSchema, isAnyType, isComplexType, isSimpleType, setBaseType, setDerivationMethod, setId, setName, setSchemaaddAnnotation, getAnnotations, removeAnnotationDeferredSimpleType()
DeferredSimpleType(java.lang.String name)
name - the name of the SimpleType.DeferredSimpleType(java.lang.String name,
Schema schema)
name - the name of the SimpleType.schema - the parent Schema of the SimpleType.public void setBaseTypeName(java.lang.String baseTypeName)
XMLType getType()
protected void createInstance()
public short getStructureType()
getStructureType in class SimpleTypepublic java.lang.String getBaseTypeName()
getBaseTypeName in class XMLTypeXMLType.getBaseTypeName()Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com