public class JAXBContextHelper extends Object
| Constructor and Description |
|---|
JAXBContextHelper() |
| Modifier and Type | Method and Description |
|---|---|
JAXBContext |
get(Class<?>... classes)
Returns a JAXBContext bound to the supplied classes.
|
static JAXBContextHelper |
instance()
Provides access to the singleton instance of this class.
|
public static JAXBContextHelper instance()
public JAXBContext get(Class<?>... classes) throws JAXBException
classes - The classes associated with the JAXBContext.JAXBException - Thrown if JAXBContext creation fails.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.