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 |
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 unmarshallFromFile(String filename) throws JAXBException, IOException
JAXBException
IOException
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.