java.io.Serializable
public final class AnyType 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 |
---|---|
AnyType(Schema schema) |
Creates a new AnyType for the given Schema.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.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(java.lang.String derivationMethod) |
Overrides XMLType#setDerivationMethod, anyType cannot
be derived from any other type.
|
void |
setId(java.lang.String id) |
Sets the Id for this XMLType.
|
void |
setName(java.lang.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.
|
addAnnotation, getAnnotations, removeAnnotation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBaseType, getBaseTypeName, getDerivationMethod, getId, getSchema, getType, isAnyType, isComplexType, isSimpleType, setSchema
public AnyType(Schema schema)
public java.lang.String getName()
public short getStructureType()
getStructureType
in class Structure
public void setName(java.lang.String name)
public void setBaseType(XMLType baseType)
setBaseType
in class XMLType
baseType
- the base type which this datatype inherits frompublic void setDerivationMethod(java.lang.String derivationMethod)
setDerivationMethod
in class XMLType
derivationMethod
- the derivation method.public void setId(java.lang.String id)
public void validate() throws ValidationException
validate
in class Structure
ValidationException
- when this Schema definition
is invalid.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com