|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.betwixt.schema.ComplexType
Models a complexType. Global (top level) complex types are
represented by GlobalComplexType. Locally defined or referenced
complex types are represented by LocalComplexType.
| Field Summary | |
protected java.util.List |
attributes
|
protected java.util.List |
elements
|
| Constructor Summary | |
ComplexType()
|
|
ComplexType(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
|
|
| Method Summary | |
void |
addAttribute(Attribute attribute)
Adds an attribute to those contained by this type |
void |
addElement(ElementReference element)
Adds an element to those contained by this type |
void |
addElement(LocalElement element)
Adds an element to those contained by this type |
protected ElementDescriptor |
fillDescriptor(ElementDescriptor elementDescriptor,
Schema schema)
Fills the given descriptor |
java.util.List |
getAttributes()
Gets the attributes contained by this type. |
java.util.List |
getElements()
Gets the elements contained by this type |
protected void |
init(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.List elements
protected java.util.List attributes
| Constructor Detail |
public ComplexType()
public ComplexType(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
throws java.beans.IntrospectionException
| Method Detail |
protected ElementDescriptor fillDescriptor(ElementDescriptor elementDescriptor,
Schema schema)
throws java.beans.IntrospectionException
elementDescriptor - schema -
java.beans.IntrospectionException
protected void init(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
throws java.beans.IntrospectionException
java.beans.IntrospectionExceptionpublic java.util.List getElements()
List of contained elements, not nullpublic void addElement(ElementReference element)
element - public void addElement(LocalElement element)
element - public java.util.List getAttributes()
List of attributespublic void addAttribute(Attribute attribute)
attribute -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||