Package org.nuxeo.ecm.webdav.jaxrs
Class Util
- java.lang.Object
-
- org.nuxeo.ecm.webdav.jaxrs.Util
-
public class Util extends Object
Utility functions.
-
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.xml.bind.JAXBContext
getJaxbContext()
static javax.xml.bind.Unmarshaller
getUnmarshaller()
static Object
unmarshal(InputStream source)
-
-
-
Method Detail
-
getJaxbContext
public static javax.xml.bind.JAXBContext getJaxbContext() throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
-
getUnmarshaller
public static javax.xml.bind.Unmarshaller getUnmarshaller() throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
-
unmarshal
public static Object unmarshal(InputStream source) throws javax.xml.bind.JAXBException, ParserConfigurationException, SAXException
- Throws:
javax.xml.bind.JAXBException
ParserConfigurationException
SAXException
- Since:
- 2023
-
-