public class

GlobalComplexType

extends ComplexType
java.lang.Object
   ↳ org.apache.commons.betwixt.schema.ComplexType
     ↳ org.apache.commons.betwixt.schema.GlobalComplexType

Class Overview

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

Summary

[Expand]
Inherited Fields
From class org.apache.commons.betwixt.schema.ComplexType
Public Constructors
GlobalComplexType()
GlobalComplexType(TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor, Schema schema)
Constructs a new ComplexType from the descriptor given.
Public Methods
boolean equals(Object obj)
String getName()
Gets the name of this type.
int hashCode()
boolean matches(ElementDescriptor elementDescriptor)
Does the given element descriptor match this complex type?
void setName(String string)
Sets the name of this type.
String toString()
Protected Methods
void fill(TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor, Schema schema)
Fills the complex type description.
void init(TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor, Schema schema)
[Expand]
Inherited Methods
From class org.apache.commons.betwixt.schema.ComplexType
From class java.lang.Object

Public Constructors

public GlobalComplexType ()

public GlobalComplexType (TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor, Schema schema)

Constructs a new ComplexType from the descriptor given.

Public Methods

public boolean equals (Object obj)

public String getName ()

Gets the name of this type.

Returns
  • the name of this type

public int hashCode ()

public boolean matches (ElementDescriptor elementDescriptor)

Does the given element descriptor match this complex type?

Returns
  • true if the descriptor matches

public void setName (String string)

Sets the name of this type.

public String toString ()

Protected Methods

protected void fill (TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor, Schema schema)

Fills the complex type description.

protected void init (TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor, Schema schema)