org.exolab.castor.xml.schema
Class SimpleTypeReference
- Referable, java.io.Serializable
(package private) class SimpleTypeReference
Package private class to handles simple-type references.
$Revision: 6230 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
ANNOTATION , 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 |
short | getStructureType() - Returns Structure.UNKNOWN
(This class should not be seen outside AttributeDecl (and ElementDecl ?) anyway)
|
(package private) XMLType | getType() - Returns the referred type
|
(package private) void | resolveTypeReference() - Resolves the type reference.
|
void | setName(String name) - Sets the Schema for this Union.
|
void | setSchema(Schema schema) - Sets the Schema for this SimpleTypeReference.
|
addFacet , copyFacets , createReference , getBuiltInBaseType , getFacet , getFacets , getFacets , getFinal , getLength , getLocalFacets , getMaxLength , getMinLength , getNumberOfFacets , getParent , getReferenceId , getStructureType , getTypeCode , hasFacet , isBuiltInType , isRedefined , removeFacet , removeFacet , resolveReference , setFinal , setParent , setRedefined , setTypeCode , validate |
getBaseType , getDerivationMethod , getId , getName , getSchema , getType , isAnyType , isComplexType , isSimpleType , setBaseType , setDerivationMethod , setId , setName , setParent , setSchema |
SimpleTypeReference
(package private) SimpleTypeReference(Schema schema,
String name)
Creates a new SimpleTypeReference.
schema
- the parent Schema of the simple type being referenced,
must not be null.name
- the name of the simple type being referenced,
must not be null.
getStructureType
public short getStructureType()
Returns Structure.UNKNOWN
(This class should not be seen outside AttributeDecl (and ElementDecl ?) anyway)
- getStructureType in interface SimpleType
resolveTypeReference
(package private) void resolveTypeReference()
Resolves the type reference.
setName
public void setName(String name)
Sets the Schema for this Union. This method overloads the
SimpleType#setSchema method to prevent the Schema from being
changed.
- setName in interface XMLType
name
- the schema that this Union belongs to.
setSchema
public void setSchema(Schema schema)
Sets the Schema for this SimpleTypeReference. This method overloads the
SimpleType#setSchema method to prevent the Schema from being
changed.
- setSchema in interface XMLType
schema
- the schema that this SimpleType that is being referenced
belongs to.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com