| Generates the schema documents from the model.
The caller can use the additionalElementDecls parameter to
add element declarations to the generate schema.
For example, if the JAX-RPC passes in the following entry:
{foo}bar -> DeclaredType for java.lang.String
then JAXB generates the following element declaration (in the schema
document for the namespace "foo")"
<xs:element name="bar" type="xs:string" />
This can be used for generating schema components necessary for WSDL.
Parameters: outputResolver - this object controls the output to which schemaswill be sent. throws: IOException - if SchemaOutputResolver throws an IOException. |