|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.schema.Structure
org.exolab.castor.xml.schema.Annotated
org.exolab.castor.xml.schema.XMLType
org.exolab.castor.xml.schema.AnyType
public final class AnyType
A Class which represents the XML Schema AnyType.
| Field Summary |
|---|
| Fields inherited from class org.exolab.castor.xml.schema.XMLType |
|---|
NULL_ARGUMENT |
| Fields inherited from class org.exolab.castor.xml.schema.Structure |
|---|
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 |
| 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. |
| Methods inherited from class org.exolab.castor.xml.schema.XMLType |
|---|
getBaseType, getBaseTypeName, getDerivationMethod, getId, getSchema, isAnyType, isComplexType, isSimpleType, setSchema |
| Methods inherited from class org.exolab.castor.xml.schema.Annotated |
|---|
addAnnotation, getAnnotations, removeAnnotation |
| Methods inherited from class org.exolab.castor.xml.schema.Structure |
|---|
isValid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnyType(Schema schema)
| Method Detail |
|---|
public String getName()
getName in class XMLTypepublic short getStructureType()
getStructureType in class Structurepublic void setName(String name)
setName in class XMLTypename - of the typepublic void setBaseType(XMLType baseType)
setBaseType in class XMLTypebaseType - the base type which this datatype inherits frompublic void setDerivationMethod(String derivationMethod)
setDerivationMethod in class XMLTypederivationMethod - the derivation method.public void setId(String id)
setId in class XMLTypeid - the unique Id for this XMLType
public void validate()
throws ValidationException
validate in class StructureValidationException - when this Schema definition
is invalid.protected void setParent(Structure parent)
setParent in class XMLTypeparent - the parent Structure for this XMLType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||