public abstract class JAXBModelFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static com.sun.xml.bind.v2.model.runtime.RuntimeTypeInfoSet |
create(com.sun.xml.bind.v2.runtime.JAXBContextImpl context,
Class... classes)
Creates a new JAXB model from classes represented in
java.lang.reflect.
|
static com.sun.xml.bind.v2.model.runtime.RuntimeTypeInfoSet |
create(com.sun.xml.bind.v2.runtime.JAXBContextImpl context,
com.sun.xml.bind.v2.model.core.ErrorHandler errorHandler,
Class... classes)
Creates a new JAXB model from classes represented in
java.lang.reflect.
|
static com.sun.xml.bind.v2.model.runtime.RuntimeTypeInfoSet |
create(com.sun.xml.bind.v2.runtime.JAXBContextImpl context,
com.sun.xml.bind.v2.model.annotation.RuntimeAnnotationReader reader,
com.sun.xml.bind.v2.model.core.ErrorHandler errorHandler,
Class... classes)
Creates a new JAXB model from classes represented in
java.lang.reflect.
|
public static com.sun.xml.bind.v2.model.runtime.RuntimeTypeInfoSet create(com.sun.xml.bind.v2.runtime.JAXBContextImpl context,
com.sun.xml.bind.v2.model.annotation.RuntimeAnnotationReader reader,
com.sun.xml.bind.v2.model.core.ErrorHandler errorHandler,
Class... classes)
reader - used to read annotations from classes. must not be null.errorHandler - Receives errors found during the processing.public static com.sun.xml.bind.v2.model.runtime.RuntimeTypeInfoSet create(com.sun.xml.bind.v2.runtime.JAXBContextImpl context,
com.sun.xml.bind.v2.model.core.ErrorHandler errorHandler,
Class... classes)
This version reads annotations from the classes directly.
errorHandler - Receives errors found during the processing.public static com.sun.xml.bind.v2.model.runtime.RuntimeTypeInfoSet create(com.sun.xml.bind.v2.runtime.JAXBContextImpl context,
Class... classes)
throws com.sun.xml.bind.v2.runtime.IllegalAnnotationsException
This version reads annotations from the classes directly, and throw any error reported as an exception
com.sun.xml.bind.v2.runtime.IllegalAnnotationsException - if there was any incorrect use of
annotations in the specified set of classes.Copyright © 2007–2021. All rights reserved.