Package | Description |
---|---|
com.thoughtworks.xstream | |
com.thoughtworks.xstream.annotations | |
com.thoughtworks.xstream.io.xml | |
com.thoughtworks.xstream.persistence |
Modifier and Type | Method and Description |
---|---|
static void |
XStream.setupDefaultSecurity(XStream xstream)
Setup the security framework of a XStream instance.
|
String |
XStreamer.toXML(XStream xstream,
Object obj)
Serialize an object including the XStream to a pretty-printed XML String.
|
void |
XStreamer.toXML(XStream xstream,
Object obj,
Writer out)
Serialize an object including the XStream to the given Writer as pretty-printed XML.
|
Modifier and Type | Method and Description |
---|---|
static void |
Annotations.configureAliases(XStream xstream,
Class<?>... topLevelClasses)
Deprecated.
As of 1.3, use
processAnnotations(Class[]) |
Modifier and Type | Method and Description |
---|---|
void |
TraxSource.setXStream(XStream xstream)
Sets the XStream facade to use when marshalling objects.
|
Constructor and Description |
---|
TraxSource(List source,
XStream xstream)
Creates a XStream TrAX source, setting the objects to marshal and a configured (with
aliases) XStream facade.
|
TraxSource(Object source,
XStream xstream)
Creates a XStream TrAX source, specifying the object to marshal and a configured (with
aliases) XStream facade.
|
Constructor and Description |
---|
AbstractFilePersistenceStrategy(File baseDirectory,
XStream xstream,
String encoding) |
FilePersistenceStrategy(File baseDirectory,
XStream xstream)
Create a new FilePersistenceStrategy with a provided XStream instance.
|
FilePersistenceStrategy(File baseDirectory,
XStream xstream,
String encoding,
String illegalChars)
Create a new FilePersistenceStrategy with a provided XStream instance and the characters to encode.
|
FileStreamStrategy(File baseDirectory,
XStream xstream)
Deprecated.
|
Copyright © 2004–2017 XStream. All rights reserved.