public class PluginsAwareMapper
extends com.thoughtworks.xstream.mapper.MapperWrapper
Mapper
that is able to load classes from the plugin system.
Must be used on the both ends of the serialization process to work properly.
Modifier and Type | Class and Description |
---|---|
static class |
PluginsAwareMapper.Factory |
Constructor and Description |
---|
PluginsAwareMapper(com.thoughtworks.xstream.mapper.Mapper wrapped,
com.atlassian.plugin.PluginAccessor pluginAccessor) |
PluginsAwareMapper(com.thoughtworks.xstream.mapper.Mapper wrapped,
com.atlassian.plugin.PluginAccessor pluginAccessor,
boolean enforceVersionCompatibility) |
Modifier and Type | Method and Description |
---|---|
Class |
realClass(String elementName) |
String |
serializedClass(Class type) |
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isIgnoredElement, isImmutableValueType, isReferenceable, lookupMapperOfType, realMember, serializedMember, shouldSerializeMember
public PluginsAwareMapper(@NotNull com.thoughtworks.xstream.mapper.Mapper wrapped, com.atlassian.plugin.PluginAccessor pluginAccessor)
public PluginsAwareMapper(@NotNull com.thoughtworks.xstream.mapper.Mapper wrapped, com.atlassian.plugin.PluginAccessor pluginAccessor, boolean enforceVersionCompatibility)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.