IRuntimeRepository.newJAXBContext() instead; that method uses a
IpsJAXBContext that includes all necessary adapters.@Deprecated public final class JAXBContextFactory extends Object
JAXBContext,
IRuntimeRepository| Modifier and Type | Method and Description |
|---|---|
static JAXBContext |
newContext(IRuntimeRepository repository)
Deprecated.
Creates a new JAXBContext that can marshal / unmarshal all model classes defined in the given
repository.
|
static JAXBContext |
newContext(IRuntimeRepository repository,
ClassLoader cl)
Deprecated.
Creates a new JAXBContext that can marshal / unmarshal all model classes defined in the given
repository.
|
public static JAXBContext newContext(IRuntimeRepository repository) throws JAXBException, ClassNotFoundException
repository - The repository that contains the information about the model classesClassNotFoundException - If one of the model classes was not found.JAXBException - The exception thrown by JAXBContext.newInstance(Class...)NullPointerException - if repository is null.public static JAXBContext newContext(IRuntimeRepository repository, ClassLoader cl) throws JAXBException, ClassNotFoundException
repository - The repository that contains the information about the model classescl - The class loader to load the model classes.ClassNotFoundException - If one of the model classes was not found.JAXBException - The exception thrown by JAXBContext.newInstance(Class...)NullPointerException - if one of the parameters is null.Copyright © 2020. All rights reserved.