org.exolab.castor.xml.schema
public abstract class Structure extends Object implements Serializable
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:35 $
| Field Summary | |
|---|---|
| static short | ANNOTATION |
| static short | ANYTYPE |
| static short | APPINFO |
| static short | ATTRIBUTE |
| static short | ATTRIBUTE_GROUP |
| static short | COMPLEX_CONTENT |
| static short | COMPLEX_TYPE |
| static short | DOCUMENTATION |
| static short | ELEMENT |
| static short | FACET |
| static short | GROUP |
| static short | IDENTITY_FIELD |
| static short | IDENTITY_SELECTOR |
| static short | KEY |
| static short | KEYREF |
| static short | LIST |
| static short | MODELGROUP |
| static short | MODELGROUP_REF |
| static short | REDEFINE |
| static short | SCHEMA |
| static short | SIMPLE_CONTENT |
| static short | SIMPLE_TYPE |
| static short | UNION |
| static short | UNIQUE |
| static short | UNKNOWN |
| static short | WILDCARD |
| Constructor Summary | |
|---|---|
| protected | Structure()
Creates a new XML Schema Structure
|
| Method Summary | |
|---|---|
| abstract short | getStructureType()
Returns the type of this Schema Structure.
|
| boolean | isValid()
Calls validate() to determine if this Schema Definition
is valid.
|
| abstract void | validate()
Checks the validity of this Schema defintion.
|
Returns: the type of this Schema Structure.
Returns: true if this Schema definition is valid, otherwise false.
Throws: ValidationException when this Schema definition is invalid.