com.ibm.portal.spa.parser
Interface ThemeParserFactory


public interface ThemeParserFactory

Factory that instantiates parsers per mime types. These parsers work directly on markup data streams.

Since:
7.0

Method Summary
 ThemeParser createParser(java.lang.String mimeType)
          Instantiates a new parser for the requested mime type
 ErrorHandler setErrorHandler(ErrorHandler aHandler)
          Replaces the handler that decides how exceptions are processed
 

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

createParser

ThemeParser createParser(java.lang.String mimeType)
                         throws java.io.IOException
Instantiates a new parser for the requested mime type

Parameters:
mimeType - the mime type string
Returns:
the parser for the mime-type
Throws:
java.io.IOException