public interface TypePermission
Modifier and Type | Method and Description |
---|---|
boolean |
allows(java.lang.Class<?> type)
Check permission for a provided type.
|
boolean allows(java.lang.Class<?> type)
type
- the type to checktrue
if provided type is allowed, false
if permission does not handle the typeForbiddenClassException
- if provided type is explicitly forbiddenJoe Walnes, http://xstream.codehaus.org/