Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.exolab.castor.xml.schema.Structure
public abstract class Structure
extends java.lang.Object
implements java.io.Serializable
Field Summary | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short | |
static short |
Constructor Summary | |
|
Method Summary | |
abstract short |
|
boolean |
|
abstract void |
|
public static final short ANNOTATION
- Field Value:
- 1
public static final short ANYTYPE
- Field Value:
- 0
public static final short APPINFO
- Field Value:
- 2
public static final short ATTRIBUTE
- Field Value:
- 3
public static final short ATTRIBUTE_GROUP
- Field Value:
- 4
public static final short COMPLEX_CONTENT
- Field Value:
- 5
public static final short COMPLEX_TYPE
- Field Value:
- 6
public static final short DOCUMENTATION
- Field Value:
- 7
public static final short ELEMENT
- Field Value:
- 8
public static final short FACET
- Field Value:
- 9
public static final short GROUP
- Field Value:
- 10
public static final short IDENTITY_FIELD
- Field Value:
- 11
public static final short IDENTITY_SELECTOR
- Field Value:
- 12
public static final short KEY
- Field Value:
- 13
public static final short KEYREF
- Field Value:
- 14
public static final short LIST
- Field Value:
- 15
public static final short MODELGROUP
- Field Value:
- 16
public static final short MODELGROUP_REF
- Field Value:
- 17
public static final short REDEFINE
- Field Value:
- 18
public static final short SCHEMA
- Field Value:
- 19
public static final short SIMPLE_CONTENT
- Field Value:
- 20
public static final short SIMPLE_TYPE
- Field Value:
- 21
public static final short UNION
- Field Value:
- 22
public static final short UNIQUE
- Field Value:
- 23
public static final short UNKNOWN
- Field Value:
- -1
public static final short WILDCARD
- Field Value:
- 24
public abstract short getStructureType()
Returns the type of this Schema Structure.
- Returns:
- the type of this Schema Structure.
public boolean isValid()
Calls validate() to determine if this Schema Definition is valid.
- Returns:
- true if this Schema definition is valid, otherwise false.
public abstract void validate() throws ValidationException
Checks the validity of this Schema defintion.
- Throws:
ValidationException
- when this Schema definition is invalid.