java.io.Serializablepublic 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, WILDCARDNULL_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, removeAnnotationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBaseType, getBaseTypeName, getDerivationMethod, getId, getSchema, getType, isAnyType, isComplexType, isSimpleType, setSchemapublic AnyType(Schema schema)
public java.lang.String getName()
public short getStructureType()
getStructureType in class Structurepublic void setName(java.lang.String name)
public void setBaseType(XMLType baseType)
setBaseType in class XMLTypebaseType - the base type which this datatype inherits frompublic void setDerivationMethod(java.lang.String derivationMethod)
setDerivationMethod in class XMLTypederivationMethod - the derivation method.public void setId(java.lang.String id)
public void validate()
throws ValidationException
validate in class StructureValidationException - when this Schema definition
is invalid.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com