|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectJet.Control
the Control class provides the methods for interpreting Jet scripts.
| Constructor Summary | |
Control()
|
|
| Method Summary | |
static void |
applyScript(Document doc,
Span span,
java.lang.String script)
apply script script to span span of document
doc. |
static void |
processDocument(Document doc,
java.io.OutputStreamWriter writer,
boolean viewable,
int docNo)
apply the processDocument script to (all of) document doc. |
static void |
processSentence(Document doc,
Span sentenceSpan)
apply the processSentence script to span sentenceSpan
of document doc. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Control()
| Method Detail |
public static void processDocument(Document doc,
java.io.OutputStreamWriter writer,
boolean viewable,
int docNo)
throws java.io.IOException
doc. In addition, if Jet parameter WriteSGML.type
is set, write the document in SGML format to file response-
inputFileName. If viewable is true,
open a window displaying the document, and label the window
"Jet Document docNo".
java.io.IOException
public static void processSentence(Document doc,
Span sentenceSpan)
sentenceSpan
of document doc.
public static void applyScript(Document doc,
Span span,
java.lang.String script)
script to span span of document
doc.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||