Public Member Functions

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

Inheritance diagram for org.exolab.castor.xml.schema.AttributeGroup:
org.exolab.castor.xml.schema.Annotated org.exolab.castor.xml.schema.Structure org.exolab.castor.xml.schema.AttributeGroupDecl org.exolab.castor.xml.schema.AttributeGroupReference

List of all members.

Public Member Functions

abstract Wildcard getAnyAttribute ()
abstract AttributeDecl getAttribute (String name)
abstract Enumeration getAttributes ()
String getId ()
abstract boolean isEmpty ()
short getStructureType ()
void setId (String id)
void validate () throws ValidationException

Detailed Description

An XML Schema Attribute Group Definition

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

Member Function Documentation

abstract Wildcard org.exolab.castor.xml.schema.AttributeGroup.getAnyAttribute (  )  [pure virtual]

Returns the anyAttribute set in this attribute group if any.

Returns:
the anyAttribute set in this attribute group if any.

Implemented in org.exolab.castor.xml.schema.AttributeGroupDecl, and org.exolab.castor.xml.schema.AttributeGroupReference.

Referenced by org.exolab.castor.xml.schema.AttributeGroupReference.getAnyAttribute().

abstract AttributeDecl org.exolab.castor.xml.schema.AttributeGroup.getAttribute ( String  name  )  [pure virtual]

Returns the AttributeDecl associated with the given name

Returns:
the AttributeDecl associated with the given name, or null if no AttributeDecl with the given name was found.

Implemented in org.exolab.castor.xml.schema.AttributeGroupDecl, and org.exolab.castor.xml.schema.AttributeGroupReference.

Referenced by org.exolab.castor.xml.schema.AttributeGroupReference.getAttribute().

abstract Enumeration org.exolab.castor.xml.schema.AttributeGroup.getAttributes (  )  [pure virtual]

Returns an Enumeration of all the attributes of this attribute group. The enumeration includes attributes from all AttributeGroupReferences contained in this AttributeGroup.

Returns:
an Enumeration of all the attributes of this attribute group.

Implemented in org.exolab.castor.xml.schema.AttributeGroupDecl, and org.exolab.castor.xml.schema.AttributeGroupReference.

Referenced by org.exolab.castor.xml.schema.AttributeGroupReference.getAttributes().

String org.exolab.castor.xml.schema.AttributeGroup.getId (  ) 

Returns the id of this AttributeGroup

Returns:
the id of this AttributeGroup, or null, if no id was defined.
short org.exolab.castor.xml.schema.AttributeGroup.getStructureType (  )  [virtual]

Returns the type of this Schema Structure

Returns:
the type of this Schema Structure

Implements org.exolab.castor.xml.schema.Structure.

Reimplemented in org.exolab.castor.xml.schema.AttributeGroupDecl.

abstract boolean org.exolab.castor.xml.schema.AttributeGroup.isEmpty (  )  [pure virtual]

Returns true if this AttributeGroup does not contain any AttributeDecls or any non-empty AttributeGroupReferences

Returns:
true if this AttributeGroup does not contain any AttributeDecls or any non-empty AttributeGroupReferences

Implemented in org.exolab.castor.xml.schema.AttributeGroupDecl, and org.exolab.castor.xml.schema.AttributeGroupReference.

Referenced by org.exolab.castor.xml.schema.AttributeGroupReference.isEmpty().

void org.exolab.castor.xml.schema.AttributeGroup.setId ( String  id  ) 
void org.exolab.castor.xml.schema.AttributeGroup.validate (  )  throws ValidationException [virtual]

Checks the validity of this Attribute declaration

Exceptions:
ValidationException when this Attribute declaration is invalid

Implements org.exolab.castor.xml.schema.Structure.

Reimplemented in org.exolab.castor.xml.schema.AttributeGroupDecl.


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