Class TMRAPImplementation
- java.lang.Object
-
- net.ontopia.topicmaps.utils.tmrap.TMRAPImplementation
-
public class TMRAPImplementation extends Object
PRIVATE: A generic implementation of the TMRAP protocol, independent of any particular way of invoking the services. It is used by both the plain HTTP and SOAP interfaces to TMRAP to provide their TMRAP functionality.- Since:
- 3.1
-
-
Constructor Summary
Constructors Constructor Description TMRAPImplementation()
-
Method Summary
-
-
-
Method Detail
-
getTopic
public static void getTopic(NavigatorApplicationIF navapp, Collection<LocatorIF> items, Collection<LocatorIF> subjects, Collection<LocatorIF> indicators, String[] tmids, String syntax, String view, ContentHandler handler) throws Exception
- Throws:
Exception
-
getTolog
public static void getTolog(NavigatorApplicationIF navapp, String tolog, String tmid, String syntax, String view, ContentHandler handler) throws Exception
- Throws:
Exception
-
deleteTopic
public static String deleteTopic(NavigatorApplicationIF navapp, Collection<LocatorIF> items, Collection<LocatorIF> subjects, Collection<LocatorIF> identifiers, String[] tmids) throws Exception
- Throws:
Exception
-
addFragment
public static void addFragment(NavigatorApplicationIF navapp, String fragment, String syntax, String tmid) throws NavigatorRuntimeException, IOException, TMRAPException
-
updateTopic
public static void updateTopic(NavigatorApplicationIF navapp, String fragment, String syntax, String tmid, Collection<LocatorIF> indicators, Collection<LocatorIF> items, Collection<LocatorIF> subjects) throws NavigatorRuntimeException, IOException, TMRAPException
-
getTopicPage
public static TopicMapIF getTopicPage(NavigatorApplicationIF navapp, TMRAPConfiguration config, Collection<LocatorIF> items, Collection<LocatorIF> subjects, Collection<LocatorIF> indicators, String[] tmids) throws IOException, NavigatorRuntimeException
- Throws:
IOException
NavigatorRuntimeException
-
tologUpdate
public static int tologUpdate(NavigatorApplicationIF navapp, String tmid, String statement) throws IOException, NavigatorRuntimeException, InvalidQueryException
-
makeStub
public static void makeStub(TopicIF topic, ContentHandler handler) throws TMRAPException, SAXException
- Throws:
TMRAPException
SAXException
-
makeFullName
public static void makeFullName(TopicIF topic, ContentHandler handler) throws SAXException
- Throws:
SAXException
-
-