public abstract class JaxbUnmarshaller extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JaxbUnmarshaller.UnmarshallException |
Constructor and Description |
---|
JaxbUnmarshaller() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
unmarshallXml(String inputFile,
Class type)
Unmarshall xml to specified type using JAXB.
|
public static <T> T unmarshallXml(String inputFile, Class type) throws JaxbUnmarshaller.UnmarshallException
inputFile
- source xml file with object descriptiontype
- declared object type to unmarshallJAXBException
JaxbUnmarshaller.UnmarshallException
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.