net.ontopia.topicmaps.utils.tmrap
Class TMRAPImplementation
java.lang.Object
net.ontopia.topicmaps.utils.tmrap.TMRAPImplementation
public class TMRAPImplementation
- extends java.lang.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
Method Summary |
static void |
addFragment(NavigatorApplicationIF navapp,
java.lang.String fragment,
java.lang.String syntax,
java.lang.String tmid)
|
static java.lang.String |
deleteTopic(NavigatorApplicationIF navapp,
java.util.Collection items,
java.util.Collection subjects,
java.util.Collection identifiers,
java.lang.String[] tmids)
|
static void |
getTolog(NavigatorApplicationIF navapp,
java.lang.String tolog,
java.lang.String tmid,
java.lang.String syntax,
java.lang.String view,
org.xml.sax.DocumentHandler handler)
|
static void |
getTopic(NavigatorApplicationIF navapp,
java.util.Collection items,
java.util.Collection subjects,
java.util.Collection indicators,
java.lang.String[] tmids,
java.lang.String syntax,
java.lang.String view,
org.xml.sax.DocumentHandler handler)
|
static TopicMapIF |
getTopicPage(NavigatorApplicationIF navapp,
TMRAPConfiguration config,
java.util.Collection items,
java.util.Collection subjects,
java.util.Collection indicators,
java.lang.String[] tmids)
|
static void |
makeFullName(TopicIF topic,
org.xml.sax.DocumentHandler handler)
|
static void |
makeStub(TopicIF topic,
org.xml.sax.DocumentHandler handler)
|
static int |
tologUpdate(NavigatorApplicationIF navapp,
java.lang.String tmid,
java.lang.String statement)
|
static void |
updateTopic(NavigatorApplicationIF navapp,
java.lang.String fragment,
java.lang.String syntax,
java.lang.String tmid,
java.util.Collection indicators,
java.util.Collection items,
java.util.Collection subjects)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TMRAPImplementation
public TMRAPImplementation()
getTopic
public static void getTopic(NavigatorApplicationIF navapp,
java.util.Collection items,
java.util.Collection subjects,
java.util.Collection indicators,
java.lang.String[] tmids,
java.lang.String syntax,
java.lang.String view,
org.xml.sax.DocumentHandler handler)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTolog
public static void getTolog(NavigatorApplicationIF navapp,
java.lang.String tolog,
java.lang.String tmid,
java.lang.String syntax,
java.lang.String view,
org.xml.sax.DocumentHandler handler)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteTopic
public static java.lang.String deleteTopic(NavigatorApplicationIF navapp,
java.util.Collection items,
java.util.Collection subjects,
java.util.Collection identifiers,
java.lang.String[] tmids)
throws java.lang.Exception
- Throws:
java.lang.Exception
addFragment
public static void addFragment(NavigatorApplicationIF navapp,
java.lang.String fragment,
java.lang.String syntax,
java.lang.String tmid)
throws NavigatorRuntimeException,
java.io.IOException,
TMRAPException
- Throws:
NavigatorRuntimeException
java.io.IOException
TMRAPException
updateTopic
public static void updateTopic(NavigatorApplicationIF navapp,
java.lang.String fragment,
java.lang.String syntax,
java.lang.String tmid,
java.util.Collection indicators,
java.util.Collection items,
java.util.Collection subjects)
throws NavigatorRuntimeException,
java.io.IOException,
TMRAPException
- Throws:
NavigatorRuntimeException
java.io.IOException
TMRAPException
getTopicPage
public static TopicMapIF getTopicPage(NavigatorApplicationIF navapp,
TMRAPConfiguration config,
java.util.Collection items,
java.util.Collection subjects,
java.util.Collection indicators,
java.lang.String[] tmids)
throws java.io.IOException,
NavigatorRuntimeException
- Throws:
java.io.IOException
NavigatorRuntimeException
tologUpdate
public static int tologUpdate(NavigatorApplicationIF navapp,
java.lang.String tmid,
java.lang.String statement)
throws java.io.IOException,
NavigatorRuntimeException,
InvalidQueryException
- Throws:
java.io.IOException
NavigatorRuntimeException
InvalidQueryException
makeStub
public static void makeStub(TopicIF topic,
org.xml.sax.DocumentHandler handler)
throws TMRAPException,
org.xml.sax.SAXException
- Throws:
TMRAPException
org.xml.sax.SAXException
makeFullName
public static void makeFullName(TopicIF topic,
org.xml.sax.DocumentHandler handler)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
Copyright © 2000-2012 Ontopia.