public interface TypePermission
Modifier and Type | Method and Description |
---|---|
boolean |
allows(Class type)
Check permission for a provided type.
|
boolean allows(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 forbiddenCopyright © 2004–2017 XStream. All rights reserved.