public class SecurityMapper extends com.thoughtworks.xstream.mapper.MapperWrapper
| Constructor and Description |
|---|
SecurityMapper(com.thoughtworks.xstream.mapper.Mapper wrapped)
Construct a SecurityMapper.
|
SecurityMapper(com.thoughtworks.xstream.mapper.Mapper wrapped,
TypePermission[] permissions)
Construct a SecurityMapper.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPermission(TypePermission permission)
Add a new permission.
|
Class |
realClass(String elementName) |
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isImmutableValueType, lookupMapperOfType, realMember, serializedClass, serializedMember, shouldSerializeMemberpublic SecurityMapper(com.thoughtworks.xstream.mapper.Mapper wrapped)
wrapped - the mapper chainpublic SecurityMapper(com.thoughtworks.xstream.mapper.Mapper wrapped, TypePermission[] permissions)
wrapped - the mapper chainpermissions - the predefined permissionspublic void addPermission(TypePermission permission)
Permissions are evaluated in the added sequence. An instance of NoTypePermission or
AnyTypePermission will implicitly wipe any existing permission.
permission - the permission to add.Copyright © 2005–2017. All rights reserved.