org.exolab.castor.xml.schema

Class TypeReference

class TypeReference extends XMLType

Package private class to handles type references.

Version: $Revision:

Author: Arnaud Berry

Method Summary
shortgetStructureType()
Returns Structure.UNKNOWN (This class should not be seen outside ElementDecl anyway)
XMLTypegetType()
Returns the referred type
voidresolveTypeReference()
Resolves the type reference.
protected voidsetParent(Structure parent)
Sets the parent for this Schema type
voidvalidate()
Checks the validity of this type defintion.

Method Detail

getStructureType

public short getStructureType()
Returns Structure.UNKNOWN (This class should not be seen outside ElementDecl anyway)

getType

XMLType getType()
Returns the referred type

resolveTypeReference

void resolveTypeReference()
Resolves the type reference.

setParent

protected void setParent(Structure parent)
Sets the parent for this Schema type

Parameters: parent the parent Structure for SchemaType

validate

public void validate()
Checks the validity of this type defintion.

Throws: ValidationException when this type definition is invalid.

Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com