XStream

XStream is a simple library to serialize objects to XML and back again.
Download

XStream Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Joe Walnes
  • Publisher web site:
  • http://xstream.codehaus.org/

XStream Tags


XStream Description

XStream is a simple library to serialize objects to XML and back again. XStream is a simple library to serialize objects to XML and back again. It is easy to use, is not requiring the definition of mappings, is fast, and integrates with other XML APIs.Here are some key features of "XStream":· Ease of use. A high level facade is supplied that simplifies common use cases.· No mappings required. Most objects can be serialized without need for specifying mappings.· Performance. Speed and low memory footprint are a crucial part of the design, making it suitable for large object graphs or systems with high message throughput.· Clean XML. No information is duplicated that can be obtained via reflection. This results in XML that is easier to read for humans and more compact than native Java serialization.· Requires no modifications to objects. Serializes internal fields, including private and final. Supports non-public and inner classes. Classes are not required to have default constructor.· Full object graph support. Duplicate references encountered in the object-model will be maintained. Supports circular references.· Integrates with other XML APIs. By implementing an interface, XStream can serialize directly to/from any tree structure (not just XML).· Customizable conversion stategies. Strategies can be registered allowing customization of how particular types are represented as XML.· Error messages. When an exception occurs due to malformed XML, detailed diagnostics are provided to help isolate and fix the problemWhat's New in This Release:· Annotation support is now implemented as Mapper.· Improved encoding support for JSON and XML. Dedicated converters can now be configured for individual fields also using the XStream facade.· New converters for StringBuilder, UUID, Duration, and LookAndFeel.· A new generic converter for types using a PropertyEditor.· Support for enum values as attributes.· XML elements are by default sorted to support for type hierarchies in XML schemata.· Many bugfixes to improve JSON.· An additional section in the FAQ.· Native support for SAP VM.


XStream Related Software