org.exolab.castor.xml.schema
public final class AnyType extends XMLType
Version: $Revision: 6230 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
| Constructor Summary | |
|---|---|
| AnyType(Schema schema)
Creates a new AnyType for the given Schema. | |
| Method Summary | |
|---|---|
| String | getName()
Returns the name of this type. |
| short | getStructureType()
Returns the type of this Schema Structure. |
| void | setBaseType(XMLType baseType)
Overrides XMLType#setBaseType(), anyType cannot have a Base type.
|
| void | setDerivationMethod(String derivationMethod)
Overrides XMLType#setDerivationMethod, anyType cannot
be derived from any other type.
|
| void | setId(String id)
Sets the Id for this XMLType. |
| void | setName(String name)
Overrides XMLType#setName. |
| protected void | setParent(Structure parent)
Sets the parent for this XMLType
|
| void | validate()
Checks the validity of this Schema defintion.
|
Returns: the name of this type.
Returns: the type of this Schema Structure.
Parameters: baseType the base type which this datatype inherits from
Parameters: derivationMethod the derivation method.
Parameters: id the unique Id for this XMLType
Parameters: name of the type
Parameters: parent the parent Structure for this XMLType
Throws: ValidationException when this Schema definition is invalid.