org.apache.commons.betwixt.schema
Class GlobalComplexType

java.lang.Object
  |
  +--org.apache.commons.betwixt.schema.ComplexType
        |
        +--org.apache.commons.betwixt.schema.GlobalComplexType

public class GlobalComplexType
extends ComplexType

Models a complexType from an XML schema. A complex type may contain element content and may have attributes.

Version:
$Revision: 1.2.2.1 $
Author:
Apache Commons Team

Field Summary
 
Fields inherited from class org.apache.commons.betwixt.schema.ComplexType
attributes, elements
 
Constructor Summary
GlobalComplexType()
           
GlobalComplexType(TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor, Schema schema)
          Constructs a new ComplexType from the descriptor given.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
          Gets the name of this type.
 int hashCode()
           
protected  void init(TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor, Schema schema)
           
 void setName(java.lang.String string)
          Sets the name of this type.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.commons.betwixt.schema.ComplexType
addAttribute, addElement, addElement, getAttributes, getElements
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlobalComplexType

public GlobalComplexType()

GlobalComplexType

public GlobalComplexType(TranscriptionConfiguration configuration,
                         ElementDescriptor elementDescriptor,
                         Schema schema)
                  throws java.beans.IntrospectionException
Constructs a new ComplexType from the descriptor given.

Parameters:
elementDescriptor -
Method Detail

init

protected void init(TranscriptionConfiguration configuration,
                    ElementDescriptor elementDescriptor,
                    Schema schema)
             throws java.beans.IntrospectionException
Overrides:
init in class ComplexType
java.beans.IntrospectionException

getName

public java.lang.String getName()
Gets the name of this type.

Returns:

setName

public void setName(java.lang.String string)
Sets the name of this type.

Parameters:
string -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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