public class AnyTypePermission extends java.lang.Object implements TypePermission
null.| Modifier and Type | Field and Description |
|---|---|
static TypePermission |
ANY |
| Constructor and Description |
|---|
AnyTypePermission() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allows(java.lang.Class<?> type)
Check permission for a provided type.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
public static final TypePermission ANY
public boolean allows(java.lang.Class<?> type)
TypePermissionallows in interface TypePermissiontype - the type to checktrue if provided type is allowed, false if permission does not handle the typepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectJoe Walnes, http://xstream.codehaus.org/