com.raritantechnologies.quickstart.userInterface
Class ExcerptDocumentContentHandler
java.lang.Object
com.raritantechnologies.quickstart.userInterface.DocumentContentHandlerFilter
com.raritantechnologies.quickstart.userInterface.StringFilterDocumentContentHandler
com.raritantechnologies.quickstart.userInterface.ExcerptDocumentContentHandler
- All Implemented Interfaces:
- IConfigurable, IDocumentContentHandler, IProcessDocumentContentHandler
- public class ExcerptDocumentContentHandler
- extends StringFilterDocumentContentHandler
Uses an ExcerptStringFilter to generate a text excerpt from
some content acquired by a delegate {@link com.raritantechnologies.quickstart.userInterface.IDocumentContentHandler.
XML Configuration Template:
<ContentHandler contentType="[Quickstart content type]"
class="com.raritantechnologies.quickstart.userInterface.ExcerptDocumentContentHandler"
keywordParameter="[ http request parameter that contains the keyword(s) used for excerpting ]" >
<ContentHandler class="[ class of com.raritantechnologies.quickstart.userInterface.IDocumentContentHandler ]">
</ContentHandler>
</ContentHandler>
Developed by
Raritan Technologies Inc..
- Author:
- Ted Sullivan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExcerptDocumentContentHandler
public ExcerptDocumentContentHandler()
filterString
protected java.lang.String filterString(RaritanPageContext rpc,
java.lang.String content)
- Overrides:
filterString in class StringFilterDocumentContentHandler
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 StringFilterDocumentContentHandler