public class Schema extends Object
| Constructor and Description |
|---|
Schema() |
Schema(XMLIntrospector introspector) |
| Modifier and Type | Method and Description |
|---|---|
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(Object obj) |
List |
getComplexTypes()
Gets the complex types defined
|
List |
getElements()
Gets the elements definied
|
List |
getSimpleTypes()
Gets the simple types defined.
|
int |
hashCode() |
XMLBeanInfo |
introspect(Class type)
Introspects the given type giving an
XMLBeanInfo. |
String |
toString() |
public Schema()
public Schema(XMLIntrospector introspector)
public XMLBeanInfo introspect(Class type) throws IntrospectionException
XMLBeanInfo.type - Class to introspect, not nullXMLBeanInfo, not nullIntrospectionExceptionpublic List getComplexTypes()
ComplexType's not nullpublic void addComplexType(GlobalComplexType complexType)
complexType - not nullpublic List getElements()
Elements not nullpublic void addElement(GlobalElement element)
element - not nullpublic List getSimpleTypes()
SimpleTypes not nullpublic void addSimpleType(SimpleType simpleType)
simpleType - public void addGlobalElementType(TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor) throws IntrospectionException
elementDescriptor - ElementDescriptor not nullIntrospectionExceptionpublic GlobalComplexType addGlobalComplexType(TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor) throws IntrospectionException
configuration - TranscriptionConfiguration, not nullelementDescriptor - ElementDescriptor, not nullGlobalComplexTypeIntrospectionExceptionCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.