public class InterfaceTypePermission extends Object implements TypePermission
| Modifier and Type | Field and Description |
|---|---|
static TypePermission |
INTERFACES |
| Constructor and Description |
|---|
InterfaceTypePermission() |
| 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 INTERFACES
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–2017 XStream. All rights reserved.