Created
March 19, 2018 11:56
-
-
Save mayurdange/021ae74d7ec0dffca8bffce08ed2cf2b to your computer and use it in GitHub Desktop.
prints the contents of object, [useful in case the toString() is not properly implemented]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| XStream l_xstream = new XStream( new Sun14ReflectionProvider( new FieldDictionary( new ImmutableFieldKeySorter() ) ), new DomDriver("utf-8") ); | |
| trace.error( l_xstream.toXML( instance_here_will_be_converted_into_xml_using_reflection )); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment