The class provides an implementation of an
InvocationHandler interface
that handles requests of
XMLStreamWriter proxy instances.
This
InvocationHandler implementation adds additional feature or enhancement
to the underlying
XMLStreamWriter instance. The new enhancement or feature is
defined by an
InvocationProcessor implementation.
The class also contains a static factory method for creating such 'enhanced'
XMLStreamWriter proxies.
author: Marek Potociar (marek.potociar at sun.com)
Creates a wrapper
XMLStreamWriter proxy that adds enhanced feature
to the
writer instance.
Parameters: writer - XMLStreamWriter instance that should be enhanced withcontent filtering feature. Parameters: processorFactory - InvocationProcessorFactory instance thatis used to create InvocationProcessor which implements new enhancementor feature. new enhanced {XMLStreamWriter} (proxy) instance throws: XMLStreamException - in case of any problems with creating the proxy