public class RegExpTypePermission extends Object implements TypePermission
Constructor and Description |
---|
RegExpTypePermission(Pattern[] patterns) |
RegExpTypePermission(String[] patterns) |
public RegExpTypePermission(String[] patterns)
public RegExpTypePermission(Pattern[] patterns)
public boolean allows(Class type)
TypePermission
allows
in interface TypePermission
type
- the type to checktrue
if provided type is allowed, false
if permission does not handle the typeCopyright © 2004–2015 XStream. All rights reserved.