Class TMRAP
java.lang.Object
net.ontopia.topicmaps.nav2.portlets.pojos.TMRAP
PUBLIC: A component for including links to relevant pages from
other web sites via TMRAP.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTMRAP(Collection servers) PUBLIC: Creates the component and configures it with a set of servers to query. -
Method Summary
Modifier and TypeMethodDescriptiongetAllPages(Collection model) getPageMap(Collection model) query(Collection psis) PUBLIC: Sends a query, returning a model of the result.PUBLIC: Sends a query, returning a model of the result.
-
Constructor Details
-
TMRAP
PUBLIC: Creates the component and configures it with a set of servers to query.- Parameters:
servers- a collection of TMRAP endpoint URIs as strings
-
-
Method Details
-
query
PUBLIC: Sends a query, returning a model of the result.- Throws:
IOExceptionInvalidQueryException
-
query
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:
IOExceptionInvalidQueryException
-
getAllPages
-
getPageMap
-