com.ibm.portal.spa.parser
Interface StaticPageURIParser

All Superinterfaces:
Disposable, StaticPageFilter, URIParser

public interface StaticPageURIParser
extends StaticPageFilter, URIParser

Parses the content of the static page that is identified by the URI. This parser makes use of the DataSource APIs to locate a data source for the URI and parses the content of this data source. It can e.g. be used in conjunction with SpaURI type URIs to parse the content of static pages inside ZIP files.

Since:
6.1.0

Method Summary
 void parse(java.net.URI uri, java.lang.String mode, java.util.Map<java.lang.String,java.lang.String[]> params)
          Parses the content of the data source and throws events to the attacted StaticPageContentHandler.
 
Methods inherited from interface com.ibm.portal.spa.parser.StaticPageFilter
getStaticPageContentHandler, setStaticPageContentHandler
 
Methods inherited from interface com.ibm.portal.resolver.data.URIParser
getDataSourceHandler, setDataSourceHandler
 
Methods inherited from interface com.ibm.portal.Disposable
dispose
 

Method Detail

parse

void parse(java.net.URI uri,
           java.lang.String mode,
           java.util.Map<java.lang.String,java.lang.String[]> params)
           throws java.io.IOException
Parses the content of the data source and throws events to the attacted StaticPageContentHandler. The content of the DataSource is either parsed or served out of a cache.

Specified by:
parse in interface URIParser
Parameters:
uri - POC URI of the content
mode - the access mode
params - parameter map, not null but potentially the empty map.
Throws:
java.io.IOException