Class Overview
Handler class that can be used to decorate output destinations.
Typical use is to use a filter abstraction (filtered output stream,
writer) around original output destination, and apply additional
processing during write operations.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
OutputDecorator
()
Public Methods
Method called by JsonFactory
instance when
creating generator for given Writer
, when this decorator
has been registered.
Parameters
ctxt
| IO context in use (provides access to declared encoding) |
w
| Original output writer |
Returns
- Writer to use; either passed in argument, or something that calls it
Method called by JsonFactory
instance when
creating generator for given OutputStream
, when this decorator
has been registered.
Parameters
ctxt
| IO context in use (provides access to declared encoding) |
out
| Original output destination |
Returns
- OutputStream to use; either passed in argument, or something that
calls it