
| Key: |
XSTR-269
|
| Type: |
New Feature
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Assignee: |
Unassigned
|
| Reporter: |
Paul Hammant
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
XStream
Created: 09/Feb/06 10:03 AM
Updated: 07/Aug/06 09:15 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
None
|
| Fix Version/s: |
1.2
|
|
|
This is pretty important for RESTful SoA and interop with .Net.
Paired, TDD with Ian Cartwright.
|
|
Description
|
This is pretty important for RESTful SoA and interop with .Net.
Paired, TDD with Ian Cartwright. |
Show » |
|
the reuse of all the converters already developed.
Rather, a new interface SingleValueConverter has been extracted (which most converters already implemented)
and promoted to top-level user API. Implementations of this interface can be serialised to a single String value
and hence be potentially used as attribute.
In addition, attribute aliases need to be registered just like other aliases,
xstream.aliasAttribute("date", Date.class)
where date is the attribute name.
Still todo is the ability to choose the field name.
xstream.aliasAttribute("date", "m_date", Date.class)