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, newInstance
public LensJAXBContext(Class... classesToBeBoundArray) throws JAXBException
JAXBException
public Unmarshaller createUnmarshaller() throws JAXBException
createUnmarshaller
in class JAXBContext
JAXBException
public Marshaller createMarshaller() throws JAXBException
createMarshaller
in class JAXBContext
JAXBException
public Validator createValidator() throws JAXBException
createValidator
in class JAXBContext
JAXBException
public LensJAXBContext getInstance()
public Unmarshaller getUnmarshaller()
public static <T> T unmarshall(File file) throws JAXBException, IOException
JAXBException
IOException
public static <T> T unmarshall(InputStream inputStream) throws JAXBException, IOException
JAXBException
IOException
public static <T> T unmarshall(Reader reader) throws JAXBException, IOException
JAXBException
IOException
public static <T> T unmarshallFromFile(String filename) throws JAXBException, IOException
JAXBException
IOException
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.