Top Description Fields Constructors Methods
com.thoughtworks.xstream.security

public Class NullPermission

extends Object
implements TypePermission
Class Inheritance
All Implemented Interfaces
com.thoughtworks.xstream.security.TypePermission
Imports
com.thoughtworks.xstream.mapper.Mapper

Permission for null or XStream's null replacement type.
Author
Jörg Schaible
Since
1.4.7

Field Summary

Modifier and TypeField and Description
public static final TypePermission

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
allows(Class<T>
the type to check
type
)

Implements com.thoughtworks.xstream.security.TypePermission.allows.

Check permission for a provided type.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

NULLback to summary
public static final TypePermission NULL
Since
1.4.7

Constructor Detail

NullPermissionback to summary
public NullPermission()

Method Detail

allowsback to summary
public boolean allows(Class<T> type)

Implements com.thoughtworks.xstream.security.TypePermission.allows.

Doc from com.thoughtworks.xstream.security.TypePermission.allows.

Check permission for a provided type.

Parameters
type:Class<T>

the type to check

Returns:boolean

true if provided type is allowed, false if permission does not handle the type