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)
Deprecated.
As of 1.4.18
|
java.lang.String |
XStreamer.toXML(XStream xstream,
java.lang.Object obj)
Serialize an object including the XStream to a pretty-printed XML String.
|
void |
XStreamer.toXML(XStream xstream,
java.lang.Object obj,
java.io.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,
java.lang.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(java.util.List source,
XStream xstream)
Creates a XStream TrAX source, setting the objects to marshal and a configured (with
aliases) XStream facade.
|
TraxSource(java.lang.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(java.io.File baseDirectory,
XStream xstream,
java.lang.String encoding) |
FilePersistenceStrategy(java.io.File baseDirectory,
XStream xstream)
Create a new FilePersistenceStrategy with a provided XStream instance.
|
FilePersistenceStrategy(java.io.File baseDirectory,
XStream xstream,
java.lang.String encoding,
java.lang.String illegalChars)
Create a new FilePersistenceStrategy with a provided XStream instance and the characters to encode.
|
FileStreamStrategy(java.io.File baseDirectory,
XStream xstream)
Deprecated.
|
Copyright © 2004–2024 XStream. All rights reserved.