Uses of Interface
com.thoughtworks.xstream.security.TypePermission
-
Packages that use TypePermission Package Description com.thoughtworks.xstream com.thoughtworks.xstream.mapper com.thoughtworks.xstream.security -
-
Uses of TypePermission in com.thoughtworks.xstream
Fields in com.thoughtworks.xstream declared as TypePermission Modifier and Type Field Description private static TypePermission[]
XStreamer. PERMISSIONS
Methods in com.thoughtworks.xstream that return TypePermission Modifier and Type Method Description static TypePermission[]
XStreamer. getDefaultPermissions()
Retrieve the default permissions to unmarshal an XStream instance.Methods in com.thoughtworks.xstream with parameters of type TypePermission Modifier and Type Method Description void
XStream. addPermission(TypePermission permission)
Add a new security permission.void
XStream. denyPermission(TypePermission permission)
Add security permission denying another one.java.lang.Object
XStreamer. fromXML(HierarchicalStreamDriver driver, java.io.Reader xml, TypePermission[] permissions)
Deserialize a self-contained XStream with object from an XML Reader.java.lang.Object
XStreamer. fromXML(HierarchicalStreamDriver driver, java.lang.String xml, TypePermission[] permissions)
Deserialize a self-contained XStream with object from a String.java.lang.Object
XStreamer. fromXML(java.io.Reader xml, TypePermission[] permissions)
Deserialize a self-contained XStream with object from an XML Reader.java.lang.Object
XStreamer. fromXML(java.lang.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 TypePermission Modifier and Type Method Description void
SecurityMapper. addPermission(TypePermission permission)
Add a new permission.Constructors in com.thoughtworks.xstream.mapper with parameters of type TypePermission Constructor Description SecurityMapper(Mapper wrapped, TypePermission[] permissions)
Construct a SecurityMapper. -
Uses of TypePermission in com.thoughtworks.xstream.security
Classes in com.thoughtworks.xstream.security that implement TypePermission Modifier and Type Class Description class
AnyTypePermission
Permission for any type andnull
.class
ArrayTypePermission
Permission for any array type.class
CGLIBProxyTypePermission
Permission for any array type.class
ExplicitTypePermission
Explicit permission for a type with a name matching one in the provided list.class
InterfaceTypePermission
Permission for any interface type.class
NoPermission
Wrapper to negate another type permission.class
NoTypePermission
No permission for any type.class
NullPermission
Permission fornull
or XStream's null replacement type.class
PrimitiveTypePermission
Permission for any primitive type and its boxed counterpart (excl.class
ProxyTypePermission
Permission for any array type.class
RegExpTypePermission
Permission for any type with a name matching one of the provided regular expressions.class
TypeHierarchyPermission
Permission for a type hierarchy with a name matching one in the provided list.class
WildcardTypePermission
Permission for any type with a name matching one of the provided wildcard expressions.Fields in com.thoughtworks.xstream.security declared as TypePermission Modifier and Type Field Description static TypePermission
AnyTypePermission. ANY
static TypePermission
ArrayTypePermission. ARRAYS
static TypePermission
InterfaceTypePermission. INTERFACES
static TypePermission
NoTypePermission. NONE
static TypePermission
NullPermission. NULL
private TypePermission
NoPermission. permission
static TypePermission
PrimitiveTypePermission. PRIMITIVES
static TypePermission
CGLIBProxyTypePermission. PROXIES
static TypePermission
ProxyTypePermission. PROXIES
Constructors in com.thoughtworks.xstream.security with parameters of type TypePermission Constructor Description NoPermission(TypePermission permission)
Construct a NoPermission.
-