public class SLMarschaller extends Object
Constructor and Description |
---|
SLMarschaller() |
Modifier and Type | Method and Description |
---|---|
static void |
marshal(Object obj,
OutputStream os) |
static String |
marshalToString(Object obj) |
static Object |
unmarshal(InputStream is) |
static Object |
unmarshalFromString(String message) |
public static void marshal(Object obj, OutputStream os) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public static String marshalToString(Object obj) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public static Object unmarshal(InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public static Object unmarshalFromString(String message) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException