Class XMLUtils
java.lang.Object
net.finmath.decryptionoracle.decryption.xml.XMLUtils
XML Utilities. marshal and unmarshal to/form XML.
- Author:
- Christian Fries
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> StringGeneric object-to-XML-string converter for all annotated classesstatic <T> TunmarshalXml(String xml, Class<T> t) unmarshalXml.
-
Method Details
-
unmarshalXml
unmarshalXml.
-
marshalClassToXMLString
Generic object-to-XML-string converter for all annotated classes- Type Parameters:
T- generic Type, which has the correct XML bind annotations- Parameters:
t- object to be converted to an XML string- Returns:
- XML formatted String
-