net.ontopia.topicmaps.nav2.portlets.pojos
Class TMRAP
java.lang.Object
net.ontopia.topicmaps.nav2.portlets.pojos.TMRAP
public class TMRAP
- extends Object
PUBLIC: A component for including links to relevant pages from
other web sites via TMRAP.
Constructor Summary |
TMRAP(Collection servers)
PUBLIC: Creates the component and configures it with a set of
servers to query. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TMRAP
public TMRAP(Collection servers)
- PUBLIC: Creates the component and configures it with a set of
servers to query.
- Parameters:
servers
- a collection of TMRAP endpoint URIs as strings
query
public Collection query(TopicIF topic)
throws IOException,
InvalidQueryException
- PUBLIC: Sends a query, returning a model of the result.
- Throws:
IOException
InvalidQueryException
query
public Collection query(Collection psis)
throws IOException,
InvalidQueryException
- PUBLIC: Sends a query, returning a model of the result.
- Parameters:
psis
- a collection of PSIs as strings
- Returns:
- a list of Server objects
- Throws:
IOException
InvalidQueryException
getAllPages
public Collection getAllPages(Collection model)
getPageMap
public Map getPageMap(Collection model)
Copyright © 2000-2012 Ontopia.