|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface S2JJAXBModel
JAXBModel
that exposes additional information available
only for the schema->java direction.
Method Summary | |
---|---|
com.sun.codemodel.JCodeModel |
generateCode(Plugin[] extensions,
ErrorListener errorListener)
Generates artifacts. |
Mapping |
get(javax.xml.namespace.QName elementName)
Gets a Mapping object for the given global element. |
java.util.List<com.sun.codemodel.JClass> |
getAllObjectFactories()
Gets all the ObjectFactory classes generated by the compilation. |
TypeAndAnnotation |
getJavaType(javax.xml.namespace.QName xmlTypeName)
Returns the fully-qualified name of the Java type that is bound to the specified XML type. |
java.util.Collection<? extends Mapping> |
getMappings()
Gets a read-only view of all the Mapping s. |
Methods inherited from interface com.sun.tools.xjc.api.JAXBModel |
---|
getClassList |
Method Detail |
---|
Mapping get(javax.xml.namespace.QName elementName)
Mapping
object for the given global element.
java.util.List<com.sun.codemodel.JClass> getAllObjectFactories()
This should be used for generating XmlSeeAlso
on the SEI.
java.util.Collection<? extends Mapping> getMappings()
Mapping
s.
TypeAndAnnotation getJavaType(javax.xml.namespace.QName xmlTypeName)
xmlTypeName
- must not be null.
com.sun.codemodel.JCodeModel generateCode(Plugin[] extensions, ErrorListener errorListener)
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.
extensions
- The JAXB RI extensions to run. This can be null or empty
array if the caller wishes not to run any extension.
Plugin.parseArgument(Options, String[], int)
.
JCodeModel.build(CodeWriter)
to write them
to a disk.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |