public class LensJAXBContext extends JAXBContext
JAXB_CONTEXT_FACTORY| Constructor and Description |
|---|
LensJAXBContext(Class... classesToBeBoundArray) |
| Modifier and Type | Method and Description |
|---|---|
Marshaller |
createMarshaller() |
Unmarshaller |
createUnmarshaller() |
Validator |
createValidator() |
LensJAXBContext |
getInstance() |
Unmarshaller |
getUnmarshaller() |
static <T> T |
unmarshall(File file) |
static <T> T |
unmarshall(InputStream inputStream) |
static <T> T |
unmarshall(Reader reader) |
static <T> T |
unmarshallFromFile(String filename) |
createBinder, createBinder, createJAXBIntrospector, generateSchema, newInstance, newInstance, newInstance, newInstance, newInstancepublic LensJAXBContext(Class... classesToBeBoundArray) throws JAXBException
JAXBExceptionpublic Unmarshaller createUnmarshaller() throws JAXBException
createUnmarshaller in class JAXBContextJAXBExceptionpublic Marshaller createMarshaller() throws JAXBException
createMarshaller in class JAXBContextJAXBExceptionpublic Validator createValidator() throws JAXBException
createValidator in class JAXBContextJAXBExceptionpublic LensJAXBContext getInstance()
public Unmarshaller getUnmarshaller()
public static <T> T unmarshall(File file) throws JAXBException, IOException
JAXBExceptionIOExceptionpublic static <T> T unmarshall(InputStream inputStream) throws JAXBException, IOException
JAXBExceptionIOExceptionpublic static <T> T unmarshall(Reader reader) throws JAXBException, IOException
JAXBExceptionIOExceptionpublic static <T> T unmarshallFromFile(String filename) throws JAXBException, IOException
JAXBExceptionIOExceptionCopyright © 2014–2018 Apache Software Foundation. All rights reserved.