|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectJet.Pat.Action
Jet.Pat.WriteAction
the encoding of the "write message" action, where message is a StringExpression (one or more strings or variables).
| Constructor Summary | |
WriteAction(java.io.StreamTokenizer tok)
constructs a new WriteAction by reading from StreamTokenizer tok. |
|
WriteAction(StringExpression message)
constructs a new WriteAction, given a message |
|
| Method Summary | |
int |
perform(Document doc,
PatternApplication patap)
performs the "write" action, writing the message to standard output. |
java.lang.String |
toString()
returns a printable form of the "write" action, consisting of "write" followed by the elements of the message, separated by "+". |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public WriteAction(StringExpression message)
public WriteAction(java.io.StreamTokenizer tok)
throws java.io.IOException,
PatternSyntaxError
| Method Detail |
public int perform(Document doc,
PatternApplication patap)
perform in class Actionpublic java.lang.String toString()
toString in class Action
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||