public class SecureXStreamFactory extends Object implements XStreamFactory
Constructor and Description |
---|
SecureXStreamFactory(XStreamFactory xStreamFactory,
com.thoughtworks.xstream.security.TypePermission securityProvider) |
SecureXStreamFactory(XStreamFactory xStreamFactory,
com.thoughtworks.xstream.security.TypePermission securityProvider,
List<ConverterFactory> customConverters) |
Modifier and Type | Method and Description |
---|---|
com.thoughtworks.xstream.XStream |
createCompactXStream()
Create
XStream backed by given classLoader and driver. |
com.thoughtworks.xstream.XStream |
createXStream()
Create default instance of XStream.
|
com.thoughtworks.xstream.XStream |
createXStream(ClassLoader classLoader)
Create
XStream backed by given classLoader. |
public SecureXStreamFactory(XStreamFactory xStreamFactory, com.thoughtworks.xstream.security.TypePermission securityProvider)
public SecureXStreamFactory(XStreamFactory xStreamFactory, com.thoughtworks.xstream.security.TypePermission securityProvider, List<ConverterFactory> customConverters)
@NotNull public com.thoughtworks.xstream.XStream createXStream()
XStreamFactory
createXStream
in interface XStreamFactory
@NotNull public com.thoughtworks.xstream.XStream createXStream(@Nullable ClassLoader classLoader)
XStreamFactory
XStream
backed by given classLoader.createXStream
in interface XStreamFactory
classLoader
- class loader to use by the created XStream, if null
, the default classloader will
be used@NotNull public com.thoughtworks.xstream.XStream createCompactXStream()
XStreamFactory
XStream
backed by given classLoader and driver.createCompactXStream
in interface XStreamFactory
HierarchicalStreamDriver
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.