com.ibm.portal.spa.parser
Interface ThemeDataSourceParser

All Superinterfaces:
DataSourceParser, Disposable, ThemeFilter

public interface ThemeDataSourceParser
extends ThemeFilter, DataSourceParser

Parses the content of the static page that is identified by the DataSource.

Since:
7.0

Method Summary
 void parse(DataSource ds)
          Parses the content of the data source and throws events to the attacted ThemeContentHandler.
 ErrorHandler setErrorHandler(ErrorHandler aHandler)
          Replaces the handler that decides how exceptions are processed
 
Methods inherited from interface com.ibm.portal.spa.parser.ThemeFilter
getThemeContentHandler, setThemeContentHandler
 
Methods inherited from interface com.ibm.portal.Disposable
dispose
 

Method Detail

setErrorHandler

ErrorHandler setErrorHandler(ErrorHandler aHandler)
Replaces the handler that decides how exceptions are processed

Parameters:
aHandler - the error handler
Returns:
the old handler

parse

void parse(DataSource ds)
           throws java.io.IOException
Parses the content of the data source and throws events to the attacted ThemeContentHandler. The content of the data source is either parsed or served out of a cache.

Specified by:
parse in interface DataSourceParser
Parameters:
ds - data source, not null
Throws:
java.io.IOException