|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.princeton.wordnet.ejb.WordNetBean
public class WordNetBean
Enterprise Java Bean for WordNet
Constructor Summary | |
---|---|
WordNetBean()
Default constructor |
Method Summary | |
---|---|
void |
ejbActivate()
|
void |
ejbCreate()
Default create method |
void |
ejbPassivate()
|
void |
ejbRemove()
|
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 |
void |
setSessionContext(javax.ejb.SessionContext ctx)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WordNetBean()
Method Detail |
---|
public void setSessionContext(javax.ejb.SessionContext ctx) throws javax.ejb.EJBException, java.rmi.RemoteException
setSessionContext
in interface javax.ejb.SessionBean
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbRemove() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbRemove
in interface javax.ejb.SessionBean
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbActivate() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbActivate
in interface javax.ejb.SessionBean
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbPassivate() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbPassivate
in interface javax.ejb.SessionBean
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbCreate() throws javax.ejb.CreateException
javax.ejb.CreateException
public org.w3c.dom.Document queryDoc(java.lang.String thisWord, boolean withLinks, boolean recurse)
thisWord
- is the target wordwithLinks
- determines if queries are to include linksrecurse
- determines if queries are to follow links recursively
public java.lang.String queryXML(java.lang.String thisWord, boolean withLinks, boolean recurse)
thisWord
- is the target wordwithLinks
- determines if queries are to include linksrecurse
- determines if queries are to follow links recursively
public 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)
thisWord
- is the target wordthisPosName
- is the target part-of-speechthisCategoryName
- is the target categorythisLinkName
- is the target link typewithLinks
- determines if queries are to include linksrecurse
- determines if queries are to follow links recursively
public java.lang.String queryXML(java.lang.String thisWord, java.lang.String thisPosName, java.lang.String thisCategoryName, java.lang.String thisLinkName, boolean withLinks, boolean recurse)
thisWord
- is the target wordthisPosName
- is the target part-of-speechthisCategoryName
- is the target categorythisLinkName
- is the target link typewithLinks
- determines if queries are to include linksrecurse
- determines if queries are to follow links recursively
public org.w3c.dom.Document queryOverviewDoc(java.lang.String thisWord)
thisWord
- is the target word
public java.lang.String queryOverviewXML(java.lang.String thisWord)
thisWord
- is the target word
public org.w3c.dom.Document queryDocXWn(long thisSynsetId)
thisSynsetId
- is the target synset id
public java.lang.String queryXMLXWn(long thisSynsetId)
thisSynsetId
- is the target synset id
public org.w3c.dom.Document queryDocWnXWn(java.lang.String thisWord)
thisWord
- is the target word
public java.lang.String queryXMLWnXWn(java.lang.String thisWord)
thisWord
- is the target word
public org.w3c.dom.Document queryDocVn(long thisWordId, long thisSynsetId)
thisWordId
- is the word id to build query fromthisSynsetId
- is the synset id to build query from (-1 if any)
public java.lang.String queryXMLVn(long thisWordId, long thisSynsetId)
thisWordId
- is the target word idthisSynsetId
- is the target synset id (-1 if any)
public org.w3c.dom.Document queryDocWnVn(java.lang.String thisWord)
thisWord
- is the target word
public java.lang.String queryXMLWnVn(java.lang.String thisWord)
thisWord
- is the target word
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |