public class TMRAP extends Object
Modifier and Type | Class and Description |
---|---|
class |
TMRAP.Page |
class |
TMRAP.Server |
class |
TMRAP.TopicMap |
Constructor and Description |
---|
TMRAP(Collection servers)
PUBLIC: Creates the component and configures it with a set of
servers to query.
|
Modifier and Type | Method and Description |
---|---|
Collection |
getAllPages(Collection model) |
Map |
getPageMap(Collection model) |
Collection |
query(Collection psis)
PUBLIC: Sends a query, returning a model of the result.
|
Collection |
query(TopicIF topic)
PUBLIC: Sends a query, returning a model of the result.
|
public TMRAP(Collection servers)
servers
- a collection of TMRAP endpoint URIs as stringspublic Collection query(TopicIF topic) throws IOException, InvalidQueryException
IOException
InvalidQueryException
public Collection query(Collection psis) throws IOException, InvalidQueryException
psis
- a collection of PSIs as stringsIOException
InvalidQueryException
public Collection getAllPages(Collection model)
public Map getPageMap(Collection model)