|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJet.Pat.Action
Jet.Pat.PrintAction
the encoding of the "print message" action, where message is a StringExpression (one or more strings or variables).
Constructor Summary | |
PrintAction(java.io.StreamTokenizer tok)
constructs a new PrintAction by reading from StreamTokenizer tok. |
|
PrintAction(StringExpression message)
constructs a new PrintAction, given a message |
Method Summary | |
int |
perform(Document doc,
PatternApplication patap)
performs the "print" action, writing the message to the Console. |
java.lang.String |
toString()
returns a printable form of the "print" action, consisting of "print" 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 PrintAction(StringExpression message)
public PrintAction(java.io.StreamTokenizer tok) throws java.io.IOException, PatternSyntaxError
Method Detail |
public int perform(Document doc, PatternApplication patap)
perform
in class Action
public java.lang.String toString()
toString
in class Action
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |