Skip to content

Instantly share code, notes, and snippets.

@godgav
Last active January 12, 2017 18:31
Show Gist options
  • Save godgav/f09a133ed890b2a43c9daa4cef67f9e0 to your computer and use it in GitHub Desktop.
Save godgav/f09a133ed890b2a43c9daa4cef67f9e0 to your computer and use it in GitHub Desktop.
JAXB marshalled object
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<testAdhocState paperSize="letter" pageOrientation="a4" id="111">
<columnList>
<column xsi:type="testAdhocColumn" width="0" type="java.lang.Whatever" name="col1" mask="####"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<label>Column 1</label>
</column>
<column xsi:type="testAdhocColumn" width="0" type="java.lang.YadaYada" name="col2" mask="####.##"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<label>Column 2</label>
</column>
</columnList>
<propertyMap>
<entry>
<key xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">key1
</key>
<value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">value1
</value>
</entry>
<entry>
<key xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">key2
</key>
<value xsi:type="xs:int" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">2
</value>
</entry>
<entry>
<key xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">classkey
</key>
<value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">java.math.BigDecimal
</value>
</entry>
</propertyMap>
<theme>doeth thith theme right?</theme>
<title>The state</title>
</testAdhocState>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment