public class NoTypePermission extends Object implements TypePermission
Can be used to skip any existing default permission.
| Modifier and Type | Field and Description |
|---|---|
static TypePermission |
NONE |
| Constructor and Description |
|---|
NoTypePermission() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allows(Class type)
Check permission for a provided type.
|
boolean |
equals(Object obj) |
int |
hashCode() |
public static final TypePermission NONE
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.