|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.betwixt.schema.Schema
public class Schema
Model for top level element in an XML Schema
| Constructor Summary | |
|---|---|
Schema()
|
|
Schema(XMLIntrospector introspector)
|
|
| Method Summary | |
|---|---|
void |
addComplexType(GlobalComplexType complexType)
Adds a new complex type to those defined |
void |
addElement(GlobalElement element)
Adds a new element to those defined. |
GlobalComplexType |
addGlobalComplexType(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor)
Adds a new global complex type definition matching the given element descriptor. |
void |
addGlobalElementType(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor)
Adds global (top level) element and type declarations matching the given descriptor. |
void |
addSimpleType(SimpleType simpleType)
Adds a new simple type to those defined. |
boolean |
equals(java.lang.Object obj)
|
java.util.List |
getComplexTypes()
Gets the complex types defined |
java.util.List |
getElements()
Gets the elements definied |
java.util.List |
getSimpleTypes()
Gets the simple types defined. |
int |
hashCode()
|
XMLBeanInfo |
introspect(java.lang.Class type)
Introspects the given type giving an XMLBeanInfo. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Schema()
public Schema(XMLIntrospector introspector)
| Method Detail |
|---|
public XMLBeanInfo introspect(java.lang.Class type)
throws java.beans.IntrospectionException
XMLBeanInfo.
type - Class to introspect, not null
XMLBeanInfo, not null
java.beans.IntrospectionExceptionpublic java.util.List getComplexTypes()
ComplexType's not nullpublic void addComplexType(GlobalComplexType complexType)
complexType - not nullpublic java.util.List getElements()
Elements not nullpublic void addElement(GlobalElement element)
element - not nullpublic java.util.List getSimpleTypes()
SimpleTypes not nullpublic void addSimpleType(SimpleType simpleType)
simpleType -
public void addGlobalElementType(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor)
throws java.beans.IntrospectionException
elementDescriptor - ElementDescriptor not null
java.beans.IntrospectionException
public GlobalComplexType addGlobalComplexType(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor)
throws java.beans.IntrospectionException
configuration - TranscriptionConfiguration, not nullelementDescriptor - ElementDescriptor, not null
GlobalComplexType
java.beans.IntrospectionExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic 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 | |||||||||