com.raritantechnologies.quickstart.userInterface
Class WatermarkingDocumentContentHandler
java.lang.Object
com.raritantechnologies.quickstart.userInterface.DocumentContentHandlerFilter
com.raritantechnologies.quickstart.userInterface.WatermarkingDocumentContentHandler
- All Implemented Interfaces:
- IConfigurable, IDocumentContentHandler, IProcessDocumentContentHandler
- public class WatermarkingDocumentContentHandler
- extends DocumentContentHandlerFilter
DocumentContentHandlerFilter that applies a
watermark to the content retrieved by
its proxy IDocumentContentHandler.
XML Configuration Template:
<ContentHandler
contentType="[Quickstart content type]"
class="com.raritantechnologies.quickstart.userInterface.WatermarkingDocumentContentHandler" >
<ContentHandler class="real content handler class" .../>
</ContentHandler>
Developed by
Raritan Technologies Inc..
- Author:
- Ted Sullivan
|
Method Summary |
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
protected byte[] |
processContent(java.io.ByteArrayOutputStream baos,
RaritanPageContext rpc,
java.lang.Integer queryID)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WatermarkingDocumentContentHandler
public WatermarkingDocumentContentHandler()
processContent
protected byte[] processContent(java.io.ByteArrayOutputStream baos,
RaritanPageContext rpc,
java.lang.Integer queryID)
- Overrides:
processContent in class DocumentContentHandlerFilter
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from interface:
IConfigurable
- Initializes the object from an XML tag or element.
This method is called by the Framework as part of the application initializtion.
see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory.
Configurable objects that are owned or contained by other configurable objects will be initialized
in by the parent object.
- Specified by:
initialize in interface IDocumentContentHandler- Overrides:
initialize in class DocumentContentHandlerFilter