|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(java.lang.Object obj)
|
protected void |
fill(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
Fills the complex type description. |
java.lang.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(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, 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 java.beans.IntrospectionException
elementDescriptor
-
java.beans.IntrospectionException
Method Detail |
---|
protected void init(TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor, Schema schema) throws java.beans.IntrospectionException
init
in class ComplexType
java.beans.IntrospectionException
protected void fill(TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor, Schema schema) throws java.beans.IntrospectionException
configuration
- elementDescriptor
- schema
-
java.beans.IntrospectionException
public boolean matches(ElementDescriptor elementDescriptor)
elementDescriptor
-
public java.lang.String getName()
public void setName(java.lang.String string)
string
- public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |