|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.jaxb.reflection.JAXBModelFactory
public abstract class JAXBModelFactory
Factory methods to build JAXB models.
Method Summary | ||
---|---|---|
static
|
create(AnnotationReader<T,C,F,M> reader,
Navigator<T,C,F,M> navigator,
ErrorHandler errorHandler,
java.util.Collection<C> classes)
Creates a new JAXB model from classes represented in arbitrary reflection library. |
|
static RuntimeTypeInfoSet |
create(java.lang.Class... classes)
Creates a new JAXB model from classes represented in java.lang.reflect. |
|
static RuntimeTypeInfoSet |
create(ErrorHandler errorHandler,
java.lang.Class... classes)
Creates a new JAXB model from classes represented in java.lang.reflect. |
|
static RuntimeTypeInfoSet |
create(RuntimeAnnotationReader reader,
ErrorHandler errorHandler,
java.lang.Class... classes)
Creates a new JAXB model from classes represented in java.lang.reflect. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <T,C,F,M> TypeInfoSet<T,C,F,M> create(AnnotationReader<T,C,F,M> reader, Navigator<T,C,F,M> navigator, ErrorHandler errorHandler, java.util.Collection<C> classes)
reader
- used to read annotations from classes. must not be null.navigator
- abstraction layer of the underlying Java reflection library.
must not be null.errorHandler
- Receives errors found during the processing.
public static RuntimeTypeInfoSet create(RuntimeAnnotationReader reader, ErrorHandler errorHandler, java.lang.Class... classes)
reader
- used to read annotations from classes. must not be null.errorHandler
- Receives errors found during the processing.
public static RuntimeTypeInfoSet create(ErrorHandler errorHandler, java.lang.Class... classes)
This version reads annotations from the classes directly.
errorHandler
- Receives errors found during the processing.
public static RuntimeTypeInfoSet create(java.lang.Class... classes) throws IllegalAnnotationsException
This version reads annotations from the classes directly, and throw any error reported as an exception
IllegalAnnotationsException
- if there was any incorrect use of annotations in the specified set of classes.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |