public class TypeReference extends XMLType
NULL_ARGUMENT
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 and Description |
---|
TypeReference() |
Modifier and Type | Method and 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.
|
getBaseType, getBaseTypeName, getDerivationMethod, getId, getName, getSchema, isAnyType, isComplexType, isSimpleType, setBaseType, setDerivationMethod, setId, setName, setSchema
addAnnotation, getAnnotations, removeAnnotation
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