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: 190515 $
- Author:
- Jakarta Commons Team
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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 -
init
protected void init(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
throws java.beans.IntrospectionException
- Overrides:
init in class ComplexType
fill
protected void fill(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
throws java.beans.IntrospectionException
- Fills the complex type description.
- Parameters:
configuration - elementDescriptor - schema - - Throws:
java.beans.IntrospectionException - - Since:
- 0.7
matches
public boolean matches(ElementDescriptor elementDescriptor)
- Does the given element descriptor match this complex type?
- Parameters:
elementDescriptor - - Returns:
- true if the descriptor matches
- Since:
- 0.7
getName
public java.lang.String getName()
- Gets the name of this type.
- Returns:
- the name of this type
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-2005 The Apache Software Foundation. All Rights Reserved.