Package | Description |
---|---|
com.thoughtworks.xstream | |
com.thoughtworks.xstream.mapper | |
com.thoughtworks.xstream.security |
Modifier and Type | Method and Description |
---|---|
void |
XStream.addPermission(TypePermission permission)
Add a new security permission.
|
void |
XStream.denyPermission(TypePermission permission)
Add security permission denying another one.
|
Modifier and Type | Method and Description |
---|---|
void |
SecurityMapper.addPermission(TypePermission permission)
Add a new permission.
|
Constructor and Description |
---|
SecurityMapper(Mapper wrapped,
TypePermission... permissions)
Construct a SecurityMapper.
|
Modifier and Type | Class and Description |
---|---|
class |
AnyTypePermission
Permission for any type and
null . |
class |
ArrayTypePermission
Permission for any array type.
|
class |
ExplicitTypePermission
Explicit permission for a type with a name matching one in the provided list.
|
class |
NoPermission
Wrapper to negate another type permission.
|
class |
NoTypePermission
No permission for any type.
|
class |
NullPermission
Permission for
null or XStream's null replacement type. |
class |
PrimitiveTypePermission
Permission for any primitive type and its boxed counterpart.
|
class |
RegExpTypePermission
Permission for any type with a name matching one of the provided regular expressions.
|
class |
WildcardTypePermission
Permission for any type with a name matching one of the provided wildcard expressions.
|
Modifier and Type | Field and Description |
---|---|
static TypePermission |
AnyTypePermission.ANY |
static TypePermission |
ArrayTypePermission.ARRAYS |
static TypePermission |
NoTypePermission.NONE |
static TypePermission |
NullPermission.NULL |
static TypePermission |
PrimitiveTypePermission.PRIMITIVES |
Constructor and Description |
---|
NoPermission(TypePermission permission)
Construct a NoPermission.
|
Joe Walnes, http://xstream.codehaus.org/