public class JaxbTransformer<T> extends Object
| Constructor and Description |
|---|
JaxbTransformer(SAXTransformerFactory transformerFactory,
Templates inputTransformerTemplate,
Templates outputTransformerTemplate,
JAXBContext jaxbContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
marshall(T bindingObject,
OutputStream outputStream) |
T |
unmarshall(InputStream inputStream,
IParameters parameters) |
public JaxbTransformer(SAXTransformerFactory transformerFactory, Templates inputTransformerTemplate, Templates outputTransformerTemplate, JAXBContext jaxbContext)
public void marshall(T bindingObject, OutputStream outputStream) throws JAXBException, TransformerException
JAXBExceptionTransformerExceptionpublic T unmarshall(InputStream inputStream, IParameters parameters) throws JAXBException, TransformerException
JAXBExceptionTransformerExceptionCopyright © 2007–2018 Andreas W. Bartels. All rights reserved.