Package com.sun.tools.xjc.api
Interface J2SJAXBModel
- All Superinterfaces:
JAXBModel
- All Known Subinterfaces:
J2SJAXBModel
Deprecated, for removal: This API element is subject to removal in a future version.
JAXBModel that exposes additional information available
only for the java -> schema direction.- Author:
- Kohsuke Kawaguchi
-
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateEpisodeFile(Result output) Deprecated, for removal: This API element is subject to removal in a future version.Generates the episode file from the model.voidgenerateSchema(SchemaOutputResolver outputResolver, ErrorListener errorListener) Deprecated, for removal: This API element is subject to removal in a future version.Generates the schema documents from the model.getXmlTypeName(Reference javaType) Deprecated, for removal: This API element is subject to removal in a future version.Returns the name of the XML Type bound to the specified Java type.Methods inherited from interface com.sun.tools.xjc.api.JAXBModel
getClassList
-
Method Details
-
getXmlTypeName
Deprecated, for removal: This API element is subject to removal in a future version.Returns the name of the XML Type bound to the specified Java type.- Parameters:
javaType- must not be null. This must be one of theReferences specified in theJavaCompiler.bind(Collection, Map, String, ProcessingEnvironment)method.- Returns:
- null if it is not a part of the input to
JavaCompiler.bind(Collection, Map, String, ProcessingEnvironment). - Throws:
IllegalArgumentException- if the parameter is null
-
generateSchema
void generateSchema(SchemaOutputResolver outputResolver, ErrorListener errorListener) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.Generates the schema documents from the model.- Parameters:
outputResolver- this object controls the output to which schemas will be sent.- Throws:
IOException- ifSchemaOutputResolverthrows anIOException.
-
generateEpisodeFile
Deprecated, for removal: This API element is subject to removal in a future version.Generates the episode file from the model.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.
- Parameters:
output- This receives the generated episode file.- Since:
- 2.1
-
com.sun.tools.jxc.api.J2SJAXBModelinstead.