java.lang.Object | |
↳ | org.apache.commons.betwixt.schema.SchemaTranscriber |
Generates XML Schemas for Betwixt mappings.
The basic idea is that an object model for the schema will be created and Betwixt can be used to output this to xml. This should allow both SAX and text.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | W3C_SCHEMA_INSTANCE_URI | ||||||||||
String | W3C_SCHEMA_URI |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets a | |||||||||||
Gets an | |||||||||||
Generates an XML Schema model from the given XMLBeanInfo
| |||||||||||
Generates an XML Schema model for the given class.
| |||||||||||
Gets the configuration for the XMLBeanInfo to XML schema transcription.
| |||||||||||
Gets the XMLIntrospector used to create XMLInfoBean's.
| |||||||||||
Sets the configuration for the XMLBeanInfo to XML schema transcription.
| |||||||||||
Sets the XMLIntrospector used to create XMLInfoBeans. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Gets a BindingConfiguration
that is suitable for mapping Schema
.
Note: A new instance is created each time this method is called. It can therefore be safely be modified.
Gets an IntrospectionConfiguration
that is suitable
for introspecting Schema
.
Note: A new instance is created each time this method is called. It can therefore be safely be modified.
Generates an XML Schema model from the given XMLBeanInfo
xmlBeanInfo | not null |
---|
IntrospectionException |
---|
Generates an XML Schema model for the given class.
clazz | not null |
---|
IntrospectionException |
---|
Gets the configuration for the XMLBeanInfo to XML schema transcription.
Gets the XMLIntrospector used to create XMLInfoBean's.
Sets the configuration for the XMLBeanInfo to XML schema transcription.
configuration | TranscriptionConfiguration, not null |
---|
Sets the XMLIntrospector used to create XMLInfoBeans.
Note: certain properties will be reconfigured so that the introspection will produce correct results.introspector | XMLIntrospector used to create XMLInfoBean's used to generate schema, not null |
---|