public class NullPermission extends Object implements TypePermission
null or XStream's null replacement type.| Modifier and Type | Field and Description | 
|---|---|
static TypePermission | 
NULL  | 
| Constructor and Description | 
|---|
NullPermission()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
allows(Class type)
Check permission for a provided type. 
 | 
public static final TypePermission NULL
public boolean allows(Class type)
TypePermissionallows in interface TypePermissiontype - the type to checktrue if provided type is allowed, false if permission does not handle the typeCopyright © 2004–2016 XStream. All rights reserved.