public class PrintablePrintHandler extends ClonePrintHandler
m_printer| Constructor and Description |
|---|
PrintablePrintHandler(ObjectPrinter<java.lang.Object> printer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(java.lang.Object o)
Indicates whether this handler can take care of printing a particular
object.
|
java.lang.Object |
handle(java.lang.Object o)
Prints an object
|
void |
reset()
Resets the internal state of the handler
|
public PrintablePrintHandler(ObjectPrinter<java.lang.Object> printer)
public boolean canHandle(java.lang.Object o)
PrintHandlero - The objectpublic java.lang.Object handle(java.lang.Object o)
throws PrintException
PrintHandlero - The object to be printedPrintException - Thrown if the object cannot be printedpublic void reset()
PrintHandlerCopyright © Sylvain HallĂ©. All Rights Reserved.