o adding a feature whereby a specified attribute which identifies class to
use for a particular element is adhered to. Previous the "class" attribute
was only being honoured in the ObjectWithFieldsConverter.
Now you can specify the class to use for the outter element (change
performed in XStream), collections (changes made only to readItem)
and fields. You can also optionally specify what you want to use
as the identifier. The default is "class".
38 lines of code changed in:
o a test for a new feature whereby a specified class is used in any place
in the xml.
19 lines of code changed in:
o updating for changes made to the mapping mechanism
29 lines of code changed in:
o making fields protected to allow for easy subclassing. using the new
class mapper that takes a name mapper.
32 lines of code changed in:
o i have changed ElementMapper to a general NameMapper that can eventually
be used for attributes as well.
o i have changed the class mapper to take a name mapper in the constructor
as the class mapper seems to be the thing readily available, maybe this
isn't the best place for it but i will refactor given any suggestions
to make it better. Currently I am only mapping element names but
attribute mapping can be added.
o changed names from toXml/fromXML to toXML/fromXML to be more conformant
with the existing naming.
29 lines of code changed in:
o removing ${basedir}, no longer required.
1 lines of code changed in:
o adding a touch of documentation
o moving the creation of the child map and list to the constructor, the addition
of a child before any other operation was causing an NPE.
The additions made here make the baby dom more complete and i've moved it
here so that I could offload as much as possible to xstream where I
previously had it in plexus. But the little dom package might be
useful separately, but it's in xstream for now.
72 lines of code changed in:
o restoring project source formatting
6 lines of code changed in:
o i think we're getting close to 1.0.
1 lines of code changed in:
o preparing to release 0.4
1 lines of code changed in:
o http://jira.codehaus.org/secure/ViewIssue.jspa?key=XSTR-17
57 lines of code changed in:
o applying patch supplied in:
http://jira.codehaus.org/secure/ViewIssue.jspa?id=12765
Thanks to Dan Brown :-)
48 lines of code changed in:
o add a test that causes a failure when deserializing objects which
container primitive arrays.
23 lines of code changed in:
o added change
4 lines of code changed in:
o fixing POM <id/>
o reformatted to joe style (sorry 'bout that joe.)
221 lines of code changed in:
o allow the specification of the xml reader driver in the constructor.
4 lines of code changed in:
o adding a copy of the xstream test but using an xpp3 reader driver.
131 lines of code changed in:
*** empty log message ***
19 lines of code changed in:
o adding xpp3 dep
8 lines of code changed in:
o adding xpp3 implementation
158 lines of code changed in:
(22 more)