java.io.Serializable
public class TypeReference extends XMLType
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
NULL_ARGUMENT
Constructor | Description |
---|---|
TypeReference() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
addAnnotation, getAnnotations, removeAnnotation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBaseType, getBaseTypeName, getDerivationMethod, getId, getName, getSchema, isAnyType, isComplexType, isSimpleType, setBaseType, setDerivationMethod, setId, setName, setSchema
XMLType getType()
void resolveTypeReference()
protected void setParent(Structure parent)
public short getStructureType()
getStructureType
in class Structure
public void validate() throws ValidationException
validate
in class Structure
ValidationException
- when this type definition
is invalid.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com