Package org.apache.openejb.jee.wls
Class JaxbWls
- java.lang.Object
-
- org.apache.openejb.jee.wls.JaxbWls
-
public class JaxbWls extends Object
- Version:
- $Rev$ $Date$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJaxbWls.NamespaceFilter
-
Field Summary
Fields Modifier and Type Field Description static ThreadLocal<Set<String>>currentPublicId
-
Constructor Summary
Constructors Constructor Description JaxbWls()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Stringmarshal(Class<T> type, Object object)static <T> voidmarshal(Class<T> type, Object object, OutputStream out)static <T> Objectunmarshal(Class<T> type, InputStream in)
-
-
-
Field Detail
-
currentPublicId
public static final ThreadLocal<Set<String>> currentPublicId
-
-
Method Detail
-
marshal
public static <T> String marshal(Class<T> type, Object object) throws jakarta.xml.bind.JAXBException
- Throws:
jakarta.xml.bind.JAXBException
-
marshal
public static <T> void marshal(Class<T> type, Object object, OutputStream out) throws jakarta.xml.bind.JAXBException
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
public static <T> Object unmarshal(Class<T> type, InputStream in) throws ParserConfigurationException, SAXException, jakarta.xml.bind.JAXBException
- Throws:
ParserConfigurationExceptionSAXExceptionjakarta.xml.bind.JAXBException
-
-