org.apache.commons.betwixt.schema
Class ComplexType

java.lang.Object
  |
  +--org.apache.commons.betwixt.schema.ComplexType
Direct Known Subclasses:
GlobalComplexType, LocalComplexType

public abstract class ComplexType
extends java.lang.Object

Version:
$Revision: 1.2 $
Author:
Jakarta Commons Team

Field Summary
protected  java.util.List attributes
           
protected  java.util.List elements
           
 
Constructor Summary
ComplexType()
           
ComplexType(TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor, Schema schema)
           
 
Method Summary
 void addAttribute(Attribute attribute)
          Adds an attribute to those contained by this type
 void addElement(ElementReference element)
          Adds an element to those contained by this type
 void addElement(LocalElement element)
          Adds an element to those contained by this type
 java.util.List getAttributes()
          Gets the attributes contained by this type.
 java.util.List getElements()
          Gets the elements contained by this type
protected  void init(TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor, Schema schema)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elements

protected java.util.List elements

attributes

protected java.util.List attributes
Constructor Detail

ComplexType

public ComplexType()

ComplexType

public ComplexType(TranscriptionConfiguration configuration,
                   ElementDescriptor elementDescriptor,
                   Schema schema)
            throws java.beans.IntrospectionException
Method Detail

init

protected void init(TranscriptionConfiguration configuration,
                    ElementDescriptor elementDescriptor,
                    Schema schema)
             throws java.beans.IntrospectionException
java.beans.IntrospectionException

getElements

public java.util.List getElements()
Gets the elements contained by this type

Returns:

addElement

public void addElement(ElementReference element)
Adds an element to those contained by this type

Parameters:
element -

addElement

public void addElement(LocalElement element)
Adds an element to those contained by this type

Parameters:
element -

getAttributes

public java.util.List getAttributes()
Gets the attributes contained by this type.

Returns:

addAttribute

public void addAttribute(Attribute attribute)
Adds an attribute to those contained by this type

Parameters:
attribute -


Copyright © 2002-2004 The Apache Software Foundation. All Rights Reserved.