Uses of Interface
com.thoughtworks.xstream.security.TypePermission
Packages that use TypePermission
Package
Description
-
Uses of TypePermission in com.thoughtworks.xstream
Fields in com.thoughtworks.xstream declared as TypePermissionMethods in com.thoughtworks.xstream that return TypePermissionModifier and TypeMethodDescriptionstatic TypePermission[]
XStreamer.getDefaultPermissions()
Retrieve the default permissions to unmarshal an XStream instance.Methods in com.thoughtworks.xstream with parameters of type TypePermissionModifier and TypeMethodDescriptionvoid
XStream.addPermission
(TypePermission permission) Add a new security permission.void
XStream.denyPermission
(TypePermission permission) Add security permission denying another one.XStreamer.fromXML
(HierarchicalStreamDriver driver, Reader xml, TypePermission[] permissions) Deserialize a self-contained XStream with object from an XML Reader.XStreamer.fromXML
(HierarchicalStreamDriver driver, String xml, TypePermission[] permissions) Deserialize a self-contained XStream with object from a String.XStreamer.fromXML
(Reader xml, TypePermission[] permissions) Deserialize a self-contained XStream with object from an XML Reader.XStreamer.fromXML
(String xml, TypePermission[] permissions) Deserialize a self-contained XStream with object from a String. -
Uses of TypePermission in com.thoughtworks.xstream.mapper
Methods in com.thoughtworks.xstream.mapper with parameters of type TypePermissionModifier and TypeMethodDescriptionvoid
SecurityMapper.addPermission
(TypePermission permission) Add a new permission.Constructors in com.thoughtworks.xstream.mapper with parameters of type TypePermissionModifierConstructorDescriptionSecurityMapper
(Mapper wrapped, TypePermission[] permissions) Construct a SecurityMapper. -
Uses of TypePermission in com.thoughtworks.xstream.security
Classes in com.thoughtworks.xstream.security that implement TypePermissionModifier and TypeClassDescriptionclass
Permission for any type andnull
.class
Permission for any array type.class
Permission for any array type.class
Explicit permission for a type with a name matching one in the provided list.class
Permission for any interface type.class
Wrapper to negate another type permission.class
No permission for any type.class
Permission fornull
or XStream's null replacement type.class
Permission for any primitive type and its boxed counterpart (excl.class
Permission for any array type.class
Permission for any type with a name matching one of the provided regular expressions.class
Permission for a type hierarchy with a name matching one in the provided list.class
Permission for any type with a name matching one of the provided wildcard expressions.Fields in com.thoughtworks.xstream.security declared as TypePermissionModifier and TypeFieldDescriptionstatic final TypePermission
AnyTypePermission.ANY
static final TypePermission
ArrayTypePermission.ARRAYS
static final TypePermission
InterfaceTypePermission.INTERFACES
static final TypePermission
NoTypePermission.NONE
static final TypePermission
NullPermission.NULL
private final TypePermission
NoPermission.permission
static final TypePermission
PrimitiveTypePermission.PRIMITIVES
static final TypePermission
CGLIBProxyTypePermission.PROXIES
static final TypePermission
ProxyTypePermission.PROXIES
Constructors in com.thoughtworks.xstream.security with parameters of type TypePermission