Class InterfaceTypePermission
java.lang.Object
com.thoughtworks.xstream.security.InterfaceTypePermission
- All Implemented Interfaces:
TypePermission
Permission for any interface type.
- Since:
- 1.4.7
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INTERFACES
- Since:
- 1.4.7
-
-
Constructor Details
-
InterfaceTypePermission
public InterfaceTypePermission()
-
-
Method Details
-
allows
Description copied from interface:TypePermission
Check permission for a provided type.- Specified by:
allows
in interfaceTypePermission
- Parameters:
type
- the type to check- Returns:
true
if provided type is allowed,false
if permission does not handle the type
-
hashCode
public int hashCode() -
equals
-