|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttreebolic.provider.wn.ejb.Provider
public class Provider
Provider factory implementation for WordNet
Field Summary | |
---|---|
private static boolean |
hardContext
Recursive queries |
private static boolean |
recurse
Recursive queries |
protected IProviderContext |
theContext
Context used to query for Url |
Constructor Summary | |
---|---|
Provider()
Constructor |
Method Summary | |
---|---|
void |
connect(IProviderContext thisContext)
Called by framework to pass context reference (may default to void action if provider does not need it) |
protected javax.naming.Context |
getInitialContext()
Get the initial naming context |
protected org.w3c.dom.Document |
makeDocument(java.lang.String thisWord)
Make treebolic document. |
Model |
makeModel(java.lang.String thisSource)
Make model |
Tree |
makeTree(java.lang.String thisSource,
boolean checkRecursion)
Make tree. |
protected org.w3c.dom.Document |
makeWordNetDocument(java.lang.String thisWord)
Get WordNet document |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected IProviderContext theContext
private static final boolean recurse
private static final boolean hardContext
Constructor Detail |
---|
public Provider()
Method Detail |
---|
public void connect(IProviderContext thisContext)
IProvider
connect
in interface IProvider
thisContext
- contextpublic Model makeModel(java.lang.String thisSource)
IProvider
makeModel
in interface IProvider
thisSource
- source (a string that refers to the data in a was that the provider implementation will understand)
public Tree makeTree(java.lang.String thisSource, boolean checkRecursion)
IProvider
makeTree
in interface IProvider
thisSource
- source (a string that refers to the data in a was that the provider implementation will understand)checkRecursion
- whether immediate recursion is checked (avoid mount-now infinite recursion)
protected org.w3c.dom.Document makeDocument(java.lang.String thisWord)
thisWord
- queried word
protected javax.naming.Context getInitialContext() throws java.lang.Exception
java.lang.Exception
protected org.w3c.dom.Document makeWordNetDocument(java.lang.String thisWord)
thisWord
- queried word
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |