|
| static Settings | makeSettings (final Settings settings, final String[] args) |
| |
| static String | makeUrl (final String url0, final String target, final boolean targetIsUrl) |
| |
| static String | encode (final String str) |
| |
◆ ControlDocumentView()
| grammarscope.browser.ControlDocumentView.ControlDocumentView |
( |
| ) |
|
◆ addView()
| abstract void grammarscope.browser.ControlDocumentView.addView |
( |
final View |
view | ) |
|
|
abstractpackage |
◆ commandInput()
| void grammarscope.browser.ControlDocumentView.commandInput |
( |
| ) |
|
◆ commandOpen()
| void grammarscope.browser.ControlDocumentView.commandOpen |
( |
| ) |
|
◆ commandOpenPaste()
| void grammarscope.browser.ControlDocumentView.commandOpenPaste |
( |
| ) |
|
◆ commandOpenUrl()
| void grammarscope.browser.ControlDocumentView.commandOpenUrl |
( |
| ) |
|
◆ commandOpenXml()
| void grammarscope.browser.ControlDocumentView.commandOpenXml |
( |
final boolean |
dynamicRequest, |
|
|
final boolean |
passURL, |
|
|
final boolean |
passFile, |
|
|
final boolean |
useServletUrl |
|
) |
| |
Open XML document command handler
- Parameters
-
| dynamicRequest | true if dynamic request |
| passURL | whether to pass url |
| passFile | whether to pass file |
| useServletUrl | whether to use servlet url |
◆ encode()
| static String grammarscope.browser.ControlDocumentView.encode |
( |
final String |
str | ) |
|
|
staticprivate |
Encode encoded
- Parameters
-
- Returns
- encoded string
◆ endTask()
| void grammarscope.browser.ControlDocumentView.endTask |
( |
| ) |
|
|
protected |
◆ getArgs()
| abstract String [] grammarscope.browser.ControlDocumentView.getArgs |
( |
| ) |
|
|
abstractpackage |
◆ getDocuments()
| abstract List<Document> grammarscope.browser.ControlDocumentView.getDocuments |
( |
| ) |
|
|
abstract |
◆ getObservable()
| abstract Observable grammarscope.browser.ControlDocumentView.getObservable |
( |
| ) |
|
|
abstractpackage |
◆ getSettings()
| abstract Settings grammarscope.browser.ControlDocumentView.getSettings |
( |
| ) |
|
|
abstractpackage |
◆ getTextFileUrl()
| String grammarscope.browser.ControlDocumentView.getTextFileUrl |
( |
| ) |
|
|
private |
Get text file url
- Returns
- Url string
◆ getUrl()
| String grammarscope.browser.ControlDocumentView.getUrl |
( |
final Setting |
setting, |
|
|
final boolean |
setProperty |
|
) |
| |
Get Url
- Parameters
-
| setting | setting |
| setProperty | whether to se property |
- Returns
- Url string
◆ getXmlFileUrl()
| String grammarscope.browser.ControlDocumentView.getXmlFileUrl |
( |
| ) |
|
|
private |
Get xml file url
- Returns
- Url string
◆ initControlDocumentView()
| void grammarscope.browser.ControlDocumentView.initControlDocumentView |
( |
| ) |
|
|
protected |
◆ makeDocument()
| Document grammarscope.browser.ControlDocumentView.makeDocument |
( |
final URL |
url | ) |
|
Load the document
- Parameters
-
- Returns
- document
◆ makeSettings()
| static Settings grammarscope.browser.ControlDocumentView.makeSettings |
( |
final Settings |
settings, |
|
|
final String[] |
args |
|
) |
| |
|
staticprivate |
Make settings allowing for overrides on command line
- Parameters
-
| settings | settings |
| args | command-line arguments |
- Returns
- settings (properties)
◆ makeTextDocument()
| Document grammarscope.browser.ControlDocumentView.makeTextDocument |
( |
final String |
text | ) |
|
Load the document
- Parameters
-
- Returns
- document
◆ makeUrl()
| static String grammarscope.browser.ControlDocumentView.makeUrl |
( |
final String |
url0, |
|
|
final String |
target, |
|
|
final boolean |
targetIsUrl |
|
) |
| |
|
staticprivate |
Make Url
- Parameters
-
| url0 | url |
| target | target |
| targetIsUrl | whether url (true) or text (false) has been passed as target |
- Returns
- url
◆ makeView() [1/2]
| View grammarscope.browser.ControlDocumentView.makeView |
( |
| ) |
|
|
private |
◆ makeView() [2/2]
| void grammarscope.browser.ControlDocumentView.makeView |
( |
final Document |
document, |
|
|
@SuppressWarnings("unused") final String |
documentPath |
|
) |
| |
|
private |
Make view
- Parameters
-
| document | document |
| documentPath | document path |
◆ makeXmlDocument()
| static Document grammarscope.browser.ControlDocumentView.makeXmlDocument |
( |
final URL |
url | ) |
|
|
static |
Load the document
- Parameters
-
- Returns
- document
◆ notified()
| void grammarscope.browser.ControlDocumentView.notified |
( |
final Event |
event | ) |
|
◆ onDone()
| void grammarscope.browser.ControlDocumentView.onDone |
( |
final Document |
document, |
|
|
final boolean |
parsed, |
|
|
final boolean |
analyzed |
|
) |
| |
|
protected |
◆ onPublish()
| void grammarscope.browser.ControlDocumentView.onPublish |
( |
final Document |
document, |
|
|
final List< Integer > |
sentenceIndices, |
|
|
final boolean |
parsed, |
|
|
final boolean |
analyzed |
|
) |
| |
|
protected |
Document part published callback
- Parameters
-
| document | document |
| sentenceIndices | indices of done sentences (-1=all done) |
| parsed | parsed |
| analyzed | analyzed |
Reimplemented in grammarscope.browser.Browser.
◆ startDocument()
| void grammarscope.browser.ControlDocumentView.startDocument |
( |
final String |
text | ) |
|
Start document input thread
- Parameters
-
◆ startDocumentLoading()
| void grammarscope.browser.ControlDocumentView.startDocumentLoading |
( |
final URL |
uRL | ) |
|
Start document loading thread
- Parameters
-
◆ startProcessing()
| void grammarscope.browser.ControlDocumentView.startProcessing |
( |
final Document |
document, |
|
|
final boolean |
recognize, |
|
|
final boolean |
parse, |
|
|
final boolean |
analyze, |
|
|
final boolean |
clear, |
|
|
final boolean |
waitServerReady |
|
) |
| |
Start processing thread
- Parameters
-
| document | document |
| recognize | recognize (pos, named entities) |
| parse | parse |
| analyze | analyze |
| clear | clear cached data |
| waitServerReady | wait until server is ready |
Reimplemented in grammarscope.browser.Browser.
◆ startTask()
| void grammarscope.browser.ControlDocumentView.startTask |
( |
| ) |
|
|
protected |
◆ startXmlDocumentLoading()
| void grammarscope.browser.ControlDocumentView.startXmlDocumentLoading |
( |
final URL |
uRL | ) |
|
Start XML document loading thread
- Parameters
-
◆ TEXT_VARIABLE
| final String grammarscope.browser.ControlDocumentView.TEXT_VARIABLE = "\\$\\{TEXT\\}" |
|
staticprivate |
◆ typedDependencyMode
◆ typedDependencyProvider
Typed Dependency provider
◆ URL_VARIABLE
| final String grammarscope.browser.ControlDocumentView.URL_VARIABLE = "\\$\\{URL\\}" |
|
staticprivate |
◆ USE_URL_VARIABLE
| final String grammarscope.browser.ControlDocumentView.USE_URL_VARIABLE = "\\$\\{USEURL\\}" |
|
staticprivate |
◆ xmlCompatibilityMode
| boolean grammarscope.browser.ControlDocumentView.xmlCompatibilityMode |
|
staticprotected |
The documentation for this class was generated from the following file: