|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.betwixt.schema.ComplexType
org.apache.commons.betwixt.schema.GlobalComplexType
public class GlobalComplexType
Models a complexType from an XML schema.
A complex type may contain element content and may have attributes.
| 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(Object obj)
|
protected void |
fill(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
Fills the complex type description. |
String |
getName()
Gets the name of this type. |
int |
hashCode()
|
protected void |
init(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
|
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()
|
| Methods inherited from class org.apache.commons.betwixt.schema.ComplexType |
|---|
addAttribute, addElement, addElement, fillDescriptor, getAttributes, getElements |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GlobalComplexType()
public GlobalComplexType(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
throws IntrospectionException
elementDescriptor -
IntrospectionException| Method Detail |
|---|
protected void init(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
throws IntrospectionException
init in class ComplexTypeIntrospectionException
protected void fill(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
throws IntrospectionException
configuration - elementDescriptor - schema -
IntrospectionExceptionpublic boolean matches(ElementDescriptor elementDescriptor)
elementDescriptor -
public String getName()
public void setName(String string)
string - public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||