JAXBModel that exposes additional information available
only for the schema -> java direction.
| Modifier and Type | Method and Description |
|---|---|
| public JCodeModel | Returns: object filled with the generated code. UseJCodeModel#build(CodeWriter) to write them
to a disk.The JAXB RI extensions to run. This can be null or empty
array if the caller wishes not to run any extension.
extensions, ErrorListener errorListener)Those specified extensions will participate in the code generation. Specifying an extension in this list has the same effect of turning that extension on via command line. It is the caller's responsibility to configure each augmenter properly by using Plugin#parseArgument(Options, String[], int).Generates artifacts. |
| public Mapping | |
| public List | |
| public TypeAndAnnotation | Returns: null if the XML type is not bound to any Java type.must not be null. xmlTypeName)Returns the fully-qualified name of the Java type that is bound to the specified XML type. |
| public Collection |
| generateCode | back to summary |
|---|---|
| public JCodeModel generateCode(Plugin[] extensions, ErrorListener errorListener) Generates artifacts. Todo if JAXB supports various modes of code generations (such as public interface only or implementation only or etc), we should define bit flags to control those. This operation is only supported for a model built from a schema.
| |
| get | back to summary |
|---|---|
| public Mapping get(QName elementName) Gets a
| |
| getAllObjectFactories | back to summary |
|---|---|
| public List Gets all the
This should be used for generating | |
| getJavaType | back to summary |
|---|---|
| public TypeAndAnnotation getJavaType(QName xmlTypeName) Returns the fully-qualified name of the Java type that is bound to the specified XML type.
| |
| getMappings | back to summary |
|---|---|
| public Collection Gets a read-only view of all the | |