public class RegExpTypePermission extends Object implements TypePermission
| Constructor and Description |
|---|
RegExpTypePermission(Pattern[] patterns) |
RegExpTypePermission(String[] patterns) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allows(Class type)
Check permission for a provided type.
|
public RegExpTypePermission(String[] patterns)
public RegExpTypePermission(Pattern[] patterns)
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.