public final class AnyType extends XMLType
NULL_ARGUMENTANNOTATION, 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| Constructor and Description |
|---|
AnyType(Schema schema)
Creates a new AnyType for the given Schema.
|
| Modifier and Type | Method and 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.
|
getBaseType, getBaseTypeName, getDerivationMethod, getId, getSchema, getType, isAnyType, isComplexType, isSimpleType, setSchemaaddAnnotation, getAnnotations, removeAnnotationpublic 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