org.exolab.castor.xml.schema
public final class AnyType extends XMLType
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:27 $
| 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: base 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.