public class JAXBContextUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static JAXBContext |
jaxbContext |
| Constructor and Description |
|---|
JAXBContextUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
marshal(JAXBContext context,
Object objectToMarshall,
OutputStream outputStream) |
static <T> T |
unmarshal(JAXBContext context,
InputStream inputStream,
Class<T> type) |
public static final JAXBContext jaxbContext
public static void marshal(JAXBContext context, Object objectToMarshall, OutputStream outputStream)
public static <T> T unmarshal(JAXBContext context, InputStream inputStream, Class<T> type)
Copyright © 2019 Digipost. All rights reserved.