|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.betwixt.schema.ComplexType
public abstract class 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 List |
attributes
|
protected 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 |
List |
getAttributes()
Gets the attributes contained by this type. |
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 List elements
protected List attributes
| Constructor Detail |
|---|
public ComplexType()
public ComplexType(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
throws IntrospectionException
IntrospectionException| Method Detail |
|---|
protected ElementDescriptor fillDescriptor(ElementDescriptor elementDescriptor,
Schema schema)
throws IntrospectionException
elementDescriptor - schema -
IntrospectionException
protected void init(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
throws IntrospectionException
IntrospectionExceptionpublic List getElements()
List of contained elements, not nullpublic void addElement(ElementReference element)
element - public void addElement(LocalElement element)
element - public 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 | |||||||||