|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.schema.Structure
public abstract class Structure
The base class for all XML Schema stuctures.
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short ANYTYPE
public static final short ANNOTATION
public static final short APPINFO
public static final short ATTRIBUTE
public static final short ATTRIBUTE_GROUP
public static final short COMPLEX_CONTENT
public static final short COMPLEX_TYPE
public static final short DOCUMENTATION
public static final short ELEMENT
public static final short FACET
public static final short GROUP
public static final short IDENTITY_FIELD
public static final short IDENTITY_SELECTOR
public static final short KEY
public static final short KEYREF
public static final short LIST
public static final short MODELGROUP
public static final short MODELGROUP_REF
public static final short REDEFINE
public static final short SCHEMA
public static final short SIMPLE_CONTENT
public static final short SIMPLE_TYPE
public static final short UNION
public static final short UNIQUE
public static final short WILDCARD
public static final short UNKNOWN
Constructor Detail |
---|
protected Structure()
Method Detail |
---|
public boolean isValid()
public abstract short getStructureType()
public abstract void validate() throws ValidationException
ValidationException
- when this Schema definition
is invalid.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |