com.taco.text
Class CompositeConverter.DelayedConvertedResult

java.lang.Object
  extended by com.taco.util.CachedDelayedResult
      extended by com.taco.text.CompositeConverter.DelayedConvertedResult
All Implemented Interfaces:
IDelayedResult, java.io.Serializable
Enclosing class:
CompositeConverter

public static class CompositeConverter.DelayedConvertedResult
extends CachedDelayedResult

A delayed result that evaluates another delayed result and converts it.

See Also:
Serialized Form

Field Summary
protected  IObjectMapper _converter
           
protected  IDelayedResult _delayedResult
           
 
Fields inherited from class com.taco.util.CachedDelayedResult
_cachedResult, _lastException
 
Constructor Summary
CompositeConverter.DelayedConvertedResult(IDelayedResult delayedResult, IObjectMapper converter)
           
 
Method Summary
protected  java.lang.Object _computeResult()
          Compute the result.
 
Methods inherited from class com.taco.util.CachedDelayedResult
force, hasBeenForced
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_delayedResult

protected transient IDelayedResult _delayedResult

_converter

protected transient IObjectMapper _converter
Constructor Detail

CompositeConverter.DelayedConvertedResult

public CompositeConverter.DelayedConvertedResult(IDelayedResult delayedResult,
                                                 IObjectMapper converter)
Method Detail

_computeResult

protected java.lang.Object _computeResult()
Description copied from class: CachedDelayedResult
Compute the result. If an exception occurs, catch it and save it in _lastException.

Specified by:
_computeResult in class CachedDelayedResult