asg.cliche
Class OutputConversionEngine
java.lang.Object
asg.cliche.OutputConversionEngine
public class OutputConversionEngine
- extends java.lang.Object
Output conversion engine is responsible for converting objects after they are returned
by command but before they are sent to the Output.
As with InputConversionEngine, it can automatically retrieve all converters declared inside
an object.
All converters are applied to all objects, first-registered--last-applied.
Used by Shell.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputConversionEngine
public OutputConversionEngine()
addConverter
public void addConverter(OutputConverter converter)
removeConverter
public boolean removeConverter(OutputConverter converter)
convertOutput
public java.lang.Object convertOutput(java.lang.Object anObject)
addDeclaredConverters
public void addDeclaredConverters(java.lang.Object handler)