|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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.IntrospectionException
public java.util.List getComplexTypes()
ComplexType
's not nullpublic void addComplexType(GlobalComplexType complexType)
complexType
- not nullpublic java.util.List getElements()
Element
s not nullpublic void addElement(GlobalElement element)
element
- not nullpublic java.util.List getSimpleTypes()
SimpleType
s 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.IntrospectionException
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 |