public class XMLSerializer<T> extends Object
| Constructor and Description |
|---|
XMLSerializer(Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
protected JAXBElement<T> |
createElement(T value) |
String |
getAsXml(T record) |
protected void |
init() |
protected void init()
throws JAXBException
JAXBExceptionpublic String getAsXml(T record) throws JAXBException
JAXBExceptionprotected JAXBElement<T> createElement(T value)
Copyright © 2025. All rights reserved.