public class RegExpTypePermission extends java.lang.Object implements TypePermission
| Constructor and Description |
|---|
RegExpTypePermission(java.util.regex.Pattern... patterns) |
RegExpTypePermission(java.lang.String... patterns) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allows(java.lang.Class<?> type)
Check permission for a provided type.
|
public RegExpTypePermission(java.lang.String... patterns)
public RegExpTypePermission(java.util.regex.Pattern... patterns)
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 typeJoe Walnes, http://xstream.codehaus.org/