Class PrimitiveTypePermission
java.lang.Object
com.thoughtworks.xstream.security.PrimitiveTypePermission
- All Implemented Interfaces:
TypePermission
Permission for any primitive type and its boxed counterpart (excl. void).
- Since:
- 1.4.7
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PRIMITIVES
- Since:
- 1.4.7
-
-
Constructor Details
-
PrimitiveTypePermission
public PrimitiveTypePermission()
-
-
Method Details
-
allows
Description copied from interface:TypePermissionCheck permission for a provided type.- Specified by:
allowsin interfaceTypePermission- Parameters:
type- the type to check- Returns:
trueif provided type is allowed,falseif permission does not handle the type
-
hashCode
-
equals
-