edu.princeton.wordnet.interfaces
Interface WordNet

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface WordNet
extends javax.ejb.EJBObject

Remote interface for WordNet.

Author:
Bernard Bou

Method Summary
 org.w3c.dom.Document queryDoc(java.lang.String thisWord, boolean withLinks, boolean recurse)
          Business method that returns WordNet data as a Document
 org.w3c.dom.Document queryDoc(java.lang.String thisWord, java.lang.String thisPosName, java.lang.String thisCategoryName, java.lang.String thisLinkName, boolean withLinks, boolean recurse)
          Business method that returns WordNet overview data as DOM document
 org.w3c.dom.Document queryDocVn(long thisWordId, long thisSynsetId)
          Business method that returns VerbNet data as DOM document
 org.w3c.dom.Document queryDocWnVn(java.lang.String thisWord)
          Business method the returns VerbNet overview data as DOM document
 org.w3c.dom.Document queryDocWnXWn(java.lang.String thisWord)
          Business method that returns XWordNet overview data as DOM document
 org.w3c.dom.Document queryDocXWn(long thisSynsetId)
          Business method that returns XWordNet data as DOM document
 org.w3c.dom.Document queryOverviewDoc(java.lang.String thisWord)
          Business method that returns WordNet overview data as DOM document
 java.lang.String queryOverviewXML(java.lang.String thisWord)
          Business method that returns WordNet overview data as XML
 java.lang.String queryXML(java.lang.String thisWord, boolean withLinks, boolean recurse)
          Business method that returns complete data as XML
 java.lang.String queryXML(java.lang.String thisWord, java.lang.String thisPosName, java.lang.String thisCategoryName, java.lang.String thisLinkName, boolean withLinks, boolean recurse)
          Business method that returns WordNet overview data as XML
 java.lang.String queryXMLVn(long thisWordId, long thisSynsetId)
          Business method that returns VerbNet data as XML
 java.lang.String queryXMLWnVn(java.lang.String thisWord)
          Business method that returns XWordnet overview data as XML
 java.lang.String queryXMLWnXWn(java.lang.String thisWord)
          Business method that returns XWordNet overview data as XML
 java.lang.String queryXMLXWn(long thisSynsetId)
          Business method returns XWordNet data as XML data
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

queryDoc

org.w3c.dom.Document queryDoc(java.lang.String thisWord,
                              boolean withLinks,
                              boolean recurse)
                              throws java.rmi.RemoteException
Business method that returns WordNet data as a Document

Parameters:
thisWord - is the target word
withLinks - determines if queries are to include links
recurse - determines if queries are to follow links recursively
Returns:
WordNet data as a DOM Document
Throws:
java.rmi.RemoteException

queryXML

java.lang.String queryXML(java.lang.String thisWord,
                          boolean withLinks,
                          boolean recurse)
                          throws java.rmi.RemoteException
Business method that returns complete data as XML

Parameters:
thisWord - is the target word
withLinks - determines if queries are to include links
recurse - determines if queries are to follow links recursively
Returns:
WordNet data as XML
Throws:
java.rmi.RemoteException

queryDoc

org.w3c.dom.Document queryDoc(java.lang.String thisWord,
                              java.lang.String thisPosName,
                              java.lang.String thisCategoryName,
                              java.lang.String thisLinkName,
                              boolean withLinks,
                              boolean recurse)
                              throws java.rmi.RemoteException
Business method that returns WordNet overview data as DOM document

Parameters:
thisWord - is the target word
thisPosName - is the target part-of-speech
thisCategoryName - is the target category
thisLinkName - is the target link type
withLinks - determines if queries are to include links
recurse - determines if queries are to follow links recursively
Returns:
WordNet overview data as DOM document
Throws:
java.rmi.RemoteException

queryXML

java.lang.String queryXML(java.lang.String thisWord,
                          java.lang.String thisPosName,
                          java.lang.String thisCategoryName,
                          java.lang.String thisLinkName,
                          boolean withLinks,
                          boolean recurse)
                          throws java.rmi.RemoteException
Business method that returns WordNet overview data as XML

Parameters:
thisWord - is the target word
thisPosName - is the target part-of-speech
thisCategoryName - is the target category
thisLinkName - is the target link type
withLinks - determines if queries are to include links
recurse - determines if queries are to follow links recursively
Returns:
WordNet overview data as XML data
Throws:
java.rmi.RemoteException

queryOverviewDoc

org.w3c.dom.Document queryOverviewDoc(java.lang.String thisWord)
                                      throws java.rmi.RemoteException
Business method that returns WordNet overview data as DOM document

Parameters:
thisWord - is the target word
Returns:
WordNet overview data as DOM document
Throws:
java.rmi.RemoteException

queryOverviewXML

java.lang.String queryOverviewXML(java.lang.String thisWord)
                                  throws java.rmi.RemoteException
Business method that returns WordNet overview data as XML

Parameters:
thisWord - is the target word
Returns:
WordNet overview data as XML
Throws:
java.rmi.RemoteException

queryDocXWn

org.w3c.dom.Document queryDocXWn(long thisSynsetId)
                                 throws java.rmi.RemoteException
Business method that returns XWordNet data as DOM document

Parameters:
thisSynsetId - is the target synset id
Returns:
XWordNet data as DOM document
Throws:
java.rmi.RemoteException

queryXMLXWn

java.lang.String queryXMLXWn(long thisSynsetId)
                             throws java.rmi.RemoteException
Business method returns XWordNet data as XML data

Parameters:
thisSynsetId - is the target synset id
Returns:
XWordNet data as XML data
Throws:
java.rmi.RemoteException

queryDocWnXWn

org.w3c.dom.Document queryDocWnXWn(java.lang.String thisWord)
                                   throws java.rmi.RemoteException
Business method that returns XWordNet overview data as DOM document

Parameters:
thisWord - is the target word
Returns:
XWordNet overview as DOM document
Throws:
java.rmi.RemoteException

queryXMLWnXWn

java.lang.String queryXMLWnXWn(java.lang.String thisWord)
                               throws java.rmi.RemoteException
Business method that returns XWordNet overview data as XML

Parameters:
thisWord - is the target word
Returns:
XWordNet overview data as XML
Throws:
java.rmi.RemoteException

queryDocVn

org.w3c.dom.Document queryDocVn(long thisWordId,
                                long thisSynsetId)
                                throws java.rmi.RemoteException
Business method that returns VerbNet data as DOM document

Parameters:
thisWordId - is the word id to build query from
thisSynsetId - is the synset id to build query from (-1 if any)
Returns:
VerbNet data as DOM document
Throws:
java.rmi.RemoteException

queryXMLVn

java.lang.String queryXMLVn(long thisWordId,
                            long thisSynsetId)
                            throws java.rmi.RemoteException
Business method that returns VerbNet data as XML

Parameters:
thisWordId - is the target word id
thisSynsetId - is the target synset id (-1 if any)
Returns:
VerbNet data as XML
Throws:
java.rmi.RemoteException

queryDocWnVn

org.w3c.dom.Document queryDocWnVn(java.lang.String thisWord)
                                  throws java.rmi.RemoteException
Business method the returns VerbNet overview data as DOM document

Parameters:
thisWord - is the target word
Returns:
VerbNet overview data as DOM document
Throws:
java.rmi.RemoteException

queryXMLWnVn

java.lang.String queryXMLWnVn(java.lang.String thisWord)
                              throws java.rmi.RemoteException
Business method that returns XWordnet overview data as XML

Parameters:
thisWord - is the target word
Returns:
VerbNet overview data as XML
Throws:
java.rmi.RemoteException