Public Member Functions | Static Public Attributes | Protected Member Functions

org.exolab.castor.xml.schema.Structure Class Reference

Inheritance diagram for org.exolab.castor.xml.schema.Structure:
org.exolab.castor.xml.schema.Annotated org.exolab.castor.xml.schema.Annotation org.exolab.castor.xml.schema.AnnotationItem org.exolab.castor.xml.schema.UnknownDef org.exolab.castor.xml.schema.AttributeDecl org.exolab.castor.xml.schema.AttributeGroup org.exolab.castor.xml.schema.Facet org.exolab.castor.xml.schema.IdentityConstraint org.exolab.castor.xml.schema.IdentityField org.exolab.castor.xml.schema.IdentitySelector org.exolab.castor.xml.schema.Particle org.exolab.castor.xml.schema.RedefineSchema org.exolab.castor.xml.schema.Schema org.exolab.castor.xml.schema.XMLType org.exolab.castor.xml.schema.AppInfo org.exolab.castor.xml.schema.Documentation

List of all members.

Public Member Functions

boolean isValid ()
abstract short getStructureType ()
abstract void validate () throws ValidationException

Static Public Attributes

static final short ANYTYPE = 0
static final short ANNOTATION = 1
static final short APPINFO = 2
static final short ATTRIBUTE = 3
static final short ATTRIBUTE_GROUP = 4
static final short COMPLEX_CONTENT = 5
static final short COMPLEX_TYPE = 6
static final short DOCUMENTATION = 7
static final short ELEMENT = 8
static final short FACET = 9
static final short GROUP = 10
static final short IDENTITY_FIELD = 11
static final short IDENTITY_SELECTOR = 12
static final short KEY = 13
static final short KEYREF = 14
static final short LIST = 15
static final short MODELGROUP = 16
static final short MODELGROUP_REF = 17
static final short REDEFINE = 18
static final short SCHEMA = 19
static final short SIMPLE_CONTENT = 20
static final short SIMPLE_TYPE = 21
static final short UNION = 22
static final short UNIQUE = 23
static final short WILDCARD = 24
static final short UNKNOWN = -1

Protected Member Functions

 Structure ()

Detailed Description

The base class for all XML Schema stuctures.

Author:
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:09:35

Constructor & Destructor Documentation

org.exolab.castor.xml.schema.Structure.Structure (  )  [protected]

Creates a new XML Schema Structure


Member Function Documentation

abstract short org.exolab.castor.xml.schema.Structure.getStructureType (  )  [pure virtual]

Returns the type of this Schema Structure.

Returns:
the type of this Schema Structure.

Implemented in org.exolab.castor.xml.schema.Annotation, org.exolab.castor.xml.schema.AnnotationItem, org.exolab.castor.xml.schema.AnyType, org.exolab.castor.xml.schema.AppInfo, org.exolab.castor.xml.schema.AttributeDecl, org.exolab.castor.xml.schema.AttributeGroup, org.exolab.castor.xml.schema.AttributeGroupDecl, org.exolab.castor.xml.schema.Documentation, org.exolab.castor.xml.schema.Facet, org.exolab.castor.xml.schema.IdentityConstraint, org.exolab.castor.xml.schema.IdentityField, org.exolab.castor.xml.schema.IdentitySelector, org.exolab.castor.xml.schema.Key, org.exolab.castor.xml.schema.KeyRef, org.exolab.castor.xml.schema.RedefineSchema, org.exolab.castor.xml.schema.Schema, org.exolab.castor.xml.schema.TypeReference, org.exolab.castor.xml.schema.Unique, org.exolab.castor.xml.schema.UnknownDef, and org.exolab.castor.xml.schema.Wildcard.

Referenced by org.exolab.castor.builder.GroupNaming.createClassName(), org.exolab.castor.builder.MemberFactory.createFieldInfo(), org.exolab.castor.builder.binding.XMLBindingComponent.createGroupItem(), org.exolab.castor.builder.SourceFactory.createSourceCode(), org.exolab.castor.xml.schema.Group.enumerate(), org.exolab.castor.builder.binding.ExtendedBinding.getComponentBindingType(), org.exolab.castor.xml.schema.ContentModelGroupImpl.getElementDecl(), org.exolab.castor.builder.binding.XMLBindingComponent.getJavaClassName(), org.exolab.castor.builder.binding.XMLBindingComponent.getJavaMemberName(), org.exolab.castor.xml.schema.Group.getOrder(), org.exolab.castor.xml.schema.Group.getParticle(), org.exolab.castor.xml.schema.Group.getParticleCount(), org.exolab.castor.builder.binding.XMLBindingComponent.getSchema(), org.exolab.castor.xml.schema.Wildcard.getSchema(), org.exolab.castor.xml.schema.SchemaNames.getStructureName(), org.exolab.castor.builder.binding.XMLBindingComponent.getTargetNamespace(), org.exolab.castor.builder.binding.XMLBindingComponent.getUpperBound(), org.exolab.castor.builder.binding.XMLBindingComponent.getValue(), org.exolab.castor.builder.binding.XMLBindingComponent.getXMLName(), org.exolab.castor.builder.binding.XMLBindingComponent.getXMLType(), org.exolab.castor.builder.binding.XMLBindingComponent.isAbstract(), org.exolab.castor.xml.schema.XMLType.isAnyType(), org.exolab.castor.xml.schema.XMLType.isComplexType(), org.exolab.castor.builder.binding.XMLBindingComponent.isFixed(), org.exolab.castor.builder.binding.XMLBindingComponent.isNillable(), org.exolab.castor.xml.schema.XMLType.isSimpleType(), org.exolab.castor.xml.schema.Group.setParent(), org.exolab.castor.xml.schema.ElementDecl.setParent(), org.exolab.castor.xml.schema.ComplexType.setParent(), org.exolab.castor.xml.schema.AttributeDecl.setParent(), org.exolab.castor.builder.binding.XMLBindingComponent.setView(), org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.SimpleTypeListUnmarshaller(), org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.SimpleTypeRestrictionUnmarshaller(), org.exolab.castor.xml.schema.ModelGroup.validate(), and org.exolab.castor.xml.schema.ComplexType.validate().

boolean org.exolab.castor.xml.schema.Structure.isValid (  ) 

Calls validate() to determine if this Schema Definition is valid.

Returns:
true if this Schema definition is valid, otherwise false.

References org.exolab.castor.xml.schema.Structure.validate().


Member Data Documentation

final short org.exolab.castor.xml.schema.Structure.KEY = 13 [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties