com.ibm.portal.spa.parser
Interface StaticPageFilter

All Superinterfaces:
Disposable
All Known Subinterfaces:
StaticPageDataSourceParser, StaticPageParser, StaticPageURIParser, StaticPageZipParser

public interface StaticPageFilter
extends Disposable

Base interface for the static page parsers that combines the methods to dispose the parser when no longer required and to assign and query a StaticPageContentHandler that receives the static page events.

Since:
6.1.0

Method Summary
 StaticPageContentHandler getStaticPageContentHandler()
          Requests the instance of the StaticPageContentHandler that is currently associated with the filter
 StaticPageContentHandler setStaticPageContentHandler(StaticPageContentHandler aHandler)
          Associate a StaticPageContentHandler as the callback interface to the parser.
 
Methods inherited from interface com.ibm.portal.Disposable
dispose
 

Method Detail

getStaticPageContentHandler

StaticPageContentHandler getStaticPageContentHandler()
Requests the instance of the StaticPageContentHandler that is currently associated with the filter


setStaticPageContentHandler

StaticPageContentHandler setStaticPageContentHandler(StaticPageContentHandler aHandler)
Associate a StaticPageContentHandler as the callback interface to the parser. The parser will then throw events onto this callback that represent the structure of the document

Parameters:
aHandler - callback handler, may be null to remove the handler
Returns:
the handler that was assigned previously