|
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.jaxb.compiler.Generator
public class Generator
INTERNAL:
Purpose:The purpose of this class is to act as an entry point into the TopLink JAXB 2.0 Generation framework
Responsibilities:
This class acts as an entry point into JAXB 2.0 Generation. A Generator is created with a specific set of JAXB 2.0 Annotated classes and then performs actions on those, such as generating schema files, or generating TopLink Projects. Additional information is returned from the schema generation methods as a means of integration with WebServices.
AnnotationsProcessor
,
MappingsGenerator
,
SchemaGenerator
Constructor Summary | |
---|---|
Generator(JavaModelInput jModelInput)
This is the preferred constructor. |
Method Summary | |
---|---|
SchemaTypeInfo |
addClass(JavaClass javaClass)
INTERNAL: |
Project |
generateProject()
|
java.util.Collection<org.eclipse.persistence.internal.oxm.schema.model.Schema> |
generateSchema()
|
java.util.HashMap<java.lang.String,SchemaTypeInfo> |
generateSchemaFiles(javax.xml.bind.SchemaOutputResolver outputResolver,
java.util.HashMap<javax.xml.namespace.QName,java.lang.String> additonalGlobalElements)
|
java.util.HashMap<java.lang.String,SchemaTypeInfo> |
generateSchemaFiles(java.lang.String schemaPath,
java.util.HashMap<javax.xml.namespace.QName,java.lang.String> additionalElements)
|
MappingsGenerator |
getMappingsGenerator()
|
java.util.HashMap |
getMarshalCallbacks()
|
java.util.HashMap |
getUnmarshalCallbacks()
|
boolean |
hasMarshalCallbacks()
|
boolean |
hasUnmarshalCallbacks()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Generator(JavaModelInput jModelInput)
jModelInput
- Method Detail |
---|
public boolean hasMarshalCallbacks()
public boolean hasUnmarshalCallbacks()
public SchemaTypeInfo addClass(JavaClass javaClass)
javaClass
-
public Project generateProject() throws java.lang.Exception
java.lang.Exception
public java.util.Collection<org.eclipse.persistence.internal.oxm.schema.model.Schema> generateSchema()
public java.util.HashMap<java.lang.String,SchemaTypeInfo> generateSchemaFiles(java.lang.String schemaPath, java.util.HashMap<javax.xml.namespace.QName,java.lang.String> additionalElements) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public java.util.HashMap<java.lang.String,SchemaTypeInfo> generateSchemaFiles(javax.xml.bind.SchemaOutputResolver outputResolver, java.util.HashMap<javax.xml.namespace.QName,java.lang.String> additonalGlobalElements)
public java.util.HashMap getUnmarshalCallbacks()
public java.util.HashMap getMarshalCallbacks()
public MappingsGenerator getMappingsGenerator()
|
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |