de.dante.extex.interpreter.primitives.pdftex.util.action
Class ActionSpec

java.lang.Object
  extended byde.dante.extex.interpreter.primitives.pdftex.util.action.ActionSpec
Direct Known Subclasses:
GotoActionSpec, ThreadActionSpec, UserActionSpec

public abstract class ActionSpec
extends java.lang.Object

This is the abstract base class for actions in PDF.

Version:
$Revision: 1.4 $
Author:
Gerd Neugebauer

Constructor Summary
ActionSpec()
           
 
Method Summary
static ActionSpec parseActionSpec(Context context, TokenSource source, Typesetter typesetter, java.lang.String name)
          Parse an action spec.
abstract  java.lang.Object visit(ActionVisitor visitor)
          This method is the entry point for the visitor pattern.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionSpec

public ActionSpec()
Method Detail

parseActionSpec

public static ActionSpec parseActionSpec(Context context,
                                         TokenSource source,
                                         Typesetter typesetter,
                                         java.lang.String name)
                                  throws InterpreterException
Parse an action spec.

Parameters:
context - the interpreter context
source - the source for new tokens
typesetter - the typesetter
name - the name of the primitive
Returns:
the action spec found
Throws:
InterpreterException - in case of an error

visit

public abstract java.lang.Object visit(ActionVisitor visitor)
This method is the entry point for the visitor pattern.

Parameters:
visitor - the visitor to call back
Returns:
an arbitrary return object