|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.castor.xml.schema.Structure
org.exolab.castor.xml.schema.Annotated
org.exolab.castor.xml.schema.XMLType
org.exolab.castor.xml.schema.TypeReference
public class TypeReference
Package private class to handles type references.
| Field Summary |
|---|
| Fields inherited from class org.exolab.castor.xml.schema.XMLType |
|---|
NULL_ARGUMENT |
| Fields inherited from class org.exolab.castor.xml.schema.Structure |
|---|
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 |
| Constructor Summary | |
|---|---|
TypeReference()
|
|
| Method Summary | |
|---|---|
short |
getStructureType()
Returns Structure.UNKNOWN (This class should not be seen outside ElementDecl anyway) |
(package private) XMLType |
getType()
Returns the referred type |
(package private) void |
resolveTypeReference()
Resolves the type reference. |
protected void |
setParent(Structure parent)
Sets the parent for this Schema type |
void |
validate()
Checks the validity of this type defintion. |
| Methods inherited from class org.exolab.castor.xml.schema.XMLType |
|---|
getBaseType, getBaseTypeName, getDerivationMethod, getId, getName, getSchema, isAnyType, isComplexType, isSimpleType, setBaseType, setDerivationMethod, setId, setName, setSchema |
| Methods inherited from class org.exolab.castor.xml.schema.Annotated |
|---|
addAnnotation, getAnnotations, removeAnnotation |
| Methods inherited from class org.exolab.castor.xml.schema.Structure |
|---|
isValid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeReference()
| Method Detail |
|---|
XMLType getType()
getType in class XMLTypevoid resolveTypeReference()
protected void setParent(Structure parent)
setParent in class XMLTypeparent - the parent Structure for SchemaTypepublic short getStructureType()
getStructureType in class Structure
public void validate()
throws ValidationException
validate in class StructureValidationException - when this type definition
is invalid.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||