| Modifier and Type | Field and Description |
|---|---|
| private static final TypePermission[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public Object | fromXML(final String
the XML data xml, final TypePermission[] the permissions to use (ensure that they include the defaults) permissions)Deserialize a self-contained XStream with object from a String. |
| public Object | fromXML(final HierarchicalStreamDriver
the implementation to use driver, final String the XML data xml)Deserialize a self-contained XStream with object from a String. |
| public Object | fromXML(final HierarchicalStreamDriver
the implementation to use driver, final String the XML data xml, final TypePermission[] the permissions to use (ensure that they include the defaults) permissions)Deserialize a self-contained XStream with object from a String. |
| public Object | |
| public Object | fromXML(final Reader
the xml, final TypePermission[] Reader providing the XML datathe permissions to use (ensure that they include the defaults) permissions)Deserialize a self-contained XStream with object from an XML Reader. |
| public Object | fromXML(final HierarchicalStreamDriver
the implementation to use driver, final Reader the xml)Reader providing the XML dataDeserialize a self-contained XStream with object from an XML Reader. |
| public Object | fromXML(final HierarchicalStreamDriver
the implementation to use driver, final Reader the xml, final TypePermission[] Reader providing the XML datathe permissions to use (ensure that they include the defaults) permissions)Deserialize a self-contained XStream with object from an XML Reader. |
| public static TypePermission[] | |
| public String | |
| public void |
| PERMISSIONS | back to summary |
|---|---|
| private static final TypePermission[] PERMISSIONS | |
| XStreamer | back to summary |
|---|---|
| public XStreamer() | |
| fromXML | back to summary |
|---|---|
| public Object fromXML(final String xml) throws ClassNotFoundException, ObjectStreamException Deserialize a self-contained XStream with object from a String. The method will use internally an XppDriver to load the contained XStream instance with default permissions.
| |
| fromXML | back to summary |
|---|---|
| public Object fromXML(final String xml, final TypePermission[] permissions) throws ClassNotFoundException, ObjectStreamException Deserialize a self-contained XStream with object from a String. The method will use internally an XppDriver to load the contained XStream instance.
| |
| fromXML | back to summary |
|---|---|
| public Object fromXML(final HierarchicalStreamDriver driver, final String xml) throws ClassNotFoundException, ObjectStreamException Deserialize a self-contained XStream with object from a String.
| |
| fromXML | back to summary |
|---|---|
| public Object fromXML(final HierarchicalStreamDriver driver, final String xml, final TypePermission[] permissions) throws ClassNotFoundException, ObjectStreamException Deserialize a self-contained XStream with object from a String.
| |
| fromXML | back to summary |
|---|---|
| public Object fromXML(final Reader xml) throws IOException, ClassNotFoundException Deserialize a self-contained XStream with object from an XML Reader. The method will use internally an XppDriver to load the contained XStream instance with default permissions.
| |
| fromXML | back to summary |
|---|---|
| public Object fromXML(final Reader xml, final TypePermission[] permissions) throws IOException, ClassNotFoundException Deserialize a self-contained XStream with object from an XML Reader. The method will use internally an XppDriver to load the contained XStream instance.
| |
| fromXML | back to summary |
|---|---|
| public Object fromXML(final HierarchicalStreamDriver driver, final Reader xml) throws IOException, ClassNotFoundException Deserialize a self-contained XStream with object from an XML Reader.
| |
| fromXML | back to summary |
|---|---|
| public Object fromXML(final HierarchicalStreamDriver driver, final Reader xml, final TypePermission[] permissions) throws IOException, ClassNotFoundException Deserialize a self-contained XStream with object from an XML Reader.
| |
| getDefaultPermissions | back to summary |
|---|---|
| public static TypePermission[] getDefaultPermissions() Retrieve the default permissions to unmarshal an XStream instance. The returned list will only cover permissions for XStream's own types. If your custom converters or mappers keep references to other types, you will have to add permission for those types on your own.
| |
| toXML | back to summary |
|---|---|
| public String toXML(final XStream xstream, final Object obj) throws ObjectStreamException Serialize an object including the XStream to a pretty-printed XML String.
| |
| toXML | back to summary |
|---|---|
| public void toXML(final XStream xstream, final Object obj, final Writer out) throws IOException Serialize an object including the XStream to the given Writer as pretty-printed XML. Warning XStream will serialize itself into this XML stream. To read such an XML code, you
should use
| |