|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.thoughtworks.xstream.security.RegExpTypePermission
public class RegExpTypePermission
Permission for any type with a name matching one of the provided regular expressions.
| Constructor Summary | |
|---|---|
RegExpTypePermission(java.util.regex.Pattern[] patterns)
|
|
RegExpTypePermission(java.lang.String[] patterns)
|
|
| Method Summary | |
|---|---|
boolean |
allows(java.lang.Class type)
Check permission for a provided type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegExpTypePermission(java.lang.String[] patterns)
public RegExpTypePermission(java.util.regex.Pattern[] patterns)
| Method Detail |
|---|
public boolean allows(java.lang.Class type)
TypePermission
allows in interface TypePermissiontype - the type to check
true if provided type is allowed, false if permission does not handle the type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||