|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.thoughtworks.xstream.security.ExplicitTypePermission
public class ExplicitTypePermission
Explicit permission for a type with a name matching one in the provided list.
| Constructor Summary | |
|---|---|
ExplicitTypePermission(java.lang.Class[] types)
|
|
ExplicitTypePermission(java.lang.String[] names)
|
|
| 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 ExplicitTypePermission(java.lang.Class[] types)
public ExplicitTypePermission(java.lang.String[] names)
| 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 | |||||||||