public class

CachingMapper

extends MapperWrapper
java.lang.Object
   ↳ com.thoughtworks.xstream.mapper.MapperWrapper
     ↳ com.thoughtworks.xstream.mapper.CachingMapper

Class Overview

Mapper that caches which names map to which classes. Prevents repetitive searching and class loading.

Summary

Public Constructors
CachingMapper(Mapper wrapped)
CachingMapper(ClassMapper wrapped)
This constructor is deprecated. As of 1.2, use CachingMapper(Mapper)
Public Methods
Class realClass(String elementName)
How a serialized class representation should be mapped back to a real class.
[Expand]
Inherited Methods
From class com.thoughtworks.xstream.mapper.MapperWrapper
From class java.lang.Object
From interface com.thoughtworks.xstream.mapper.Mapper

Public Constructors

public CachingMapper (Mapper wrapped)

public CachingMapper (ClassMapper wrapped)

This constructor is deprecated.
As of 1.2, use CachingMapper(Mapper)

Public Methods

public Class realClass (String elementName)

How a serialized class representation should be mapped back to a real class.