|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface 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.
Method Summary | |
---|---|
DataSourceHandler |
getDataSourceHandler()
Returns the handler that is currently assigned. |
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 handler. |
DataSourceHandler |
setDataSourceHandler(DataSourceHandler aHandler)
Assigns a content handler that receives a callback for the DataSource that is actually parsed. |
Methods inherited from interface com.ibm.portal.Disposable |
---|
dispose |
Method Detail |
---|
DataSourceHandler getDataSourceHandler()
void parse(java.net.URI uri, java.lang.String mode, java.util.Map<java.lang.String,java.lang.String[]> params) throws java.io.IOException, org.xml.sax.SAXException
DataSource
is either parsed or served
out of a cache.
uri
- POC URI of the contentmode
- the modeparams
- parameter map, not null
but potentially the empty
map.
java.io.IOException
org.xml.sax.SAXException
DataSourceHandler setDataSourceHandler(DataSourceHandler aHandler)
DataSource
that is actually parsed.
aHandler
- the new handler, not null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |