Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.thoughtworks.xstream.tools.benchmark.products
Class XStreamXpp

    java.lang.Object
      com.thoughtworks.xstream.tools.benchmark.products.XStreamXpp

All Implemented Interfaces:
  Product

    public class XStreamXpp

extends Object
implements Product

Uses XStream with the XPP driver for parsing XML.

Author:
  Joe Walnes
See Also:
  `Harness`, `Product`, `XStream`, `XppDriver`

Constructor Summary
`XStreamXpp()`

Method Summary
`Object` | `deserialize(InputStream input)` Deserialize an object from a stream.
`void` | `serialize(Object object, OutputStream output)` Serialize an object to a stream.
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### XStreamXpp

    public XStreamXpp()

Method Detail

### serialize

    public void serialize(Object object,
                          OutputStream output)
                   throws Exception

  Description copied from interface: `Product`
  Serialize an object to a stream.

  Specified by:
    `serialize` in interface `Product`
  Throws:
    `Exception`

### deserialize

    public Object deserialize(InputStream input)
                       throws Exception

  Description copied from interface: `Product`
  Deserialize an object from a stream.

  Specified by:
    `deserialize` in interface `Product`
  Throws:
    `Exception`

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2008 XStream. All Rights Reserved.