| Modifier and Type | Method | Description |
|---|---|---|
void |
generateEpisodeFile(javax.xml.transform.Result output) |
Generates the episode file from the model.
|
void |
generateSchema(javax.xml.bind.SchemaOutputResolver outputResolver,
ErrorListener errorListener) |
Generates the schema documents from the model.
|
javax.xml.namespace.QName |
getXmlTypeName(Reference javaType) |
Returns the name of the XML Type bound to the
specified Java type.
|
getClassListjavax.xml.namespace.QName getXmlTypeName(Reference javaType)
javaType - must not be null. This must be one of the References specified
in the JavaCompiler.bind(java.util.Collection<com.sun.tools.xjc.api.Reference>, java.util.Map<javax.xml.namespace.QName, com.sun.tools.xjc.api.Reference>, java.lang.String, javax.annotation.processing.ProcessingEnvironment) method.JavaCompiler.bind(java.util.Collection<com.sun.tools.xjc.api.Reference>, java.util.Map<javax.xml.namespace.QName, com.sun.tools.xjc.api.Reference>, java.lang.String, javax.annotation.processing.ProcessingEnvironment).java.lang.IllegalArgumentException - if the parameter is nullvoid generateSchema(javax.xml.bind.SchemaOutputResolver outputResolver,
ErrorListener errorListener)
throws java.io.IOException
outputResolver - this object controls the output to which schemas
will be sent.java.io.IOException - if SchemaOutputResolver throws an IOException.void generateEpisodeFile(javax.xml.transform.Result output)
The "episode file" is really just a JAXB customization file (but with vendor extensions, at this point), that can be used later with a schema compilation to support separate compilation.
output - This receives the generated episode file.Copyright © 2017 Oracle Corporation. All rights reserved.