public final class JAXB extends Object
Modifier and Type | Method and Description |
---|---|
static void |
marshal(Object object,
File file) |
static void |
marshal(Object object,
OutputStream os) |
static void |
marshal(Object object,
Result result) |
static void |
marshal(Object object,
String str) |
static void |
marshal(Object object,
URI uri) |
static void |
marshal(Object object,
URL url) |
static void |
marshal(Object object,
Writer writer) |
static <T> T |
unmarshal(File file,
Class<T> type) |
static <T> T |
unmarshal(InputStream is,
Class<T> type) |
static <T> T |
unmarshal(Reader reader,
Class<T> type) |
static <T> T |
unmarshal(Source source,
Class<T> type) |
static <T> T |
unmarshal(String str,
Class<T> type) |
static <T> T |
unmarshal(URI uri,
Class<T> type) |
static <T> T |
unmarshal(URL url,
Class<T> type) |
public static void marshal(Object object, OutputStream os)
public static <T> T unmarshal(InputStream is, Class<T> type)
Copyright © 2013. All Rights Reserved.