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

java.lang.Object
  extended byde.dante.extex.interpreter.primitives.pdftex.util.action.ActionSpec
      extended byde.dante.extex.interpreter.primitives.pdftex.util.action.GotoActionSpec
          extended byde.dante.extex.interpreter.primitives.pdftex.util.action.GotoPageActionSpec

public class GotoPageActionSpec
extends GotoActionSpec

This class represents the action to address a certain page.

Version:
$Revision: 1.2 $
Author:
Gerd Neugebauer

Constructor Summary
GotoPageActionSpec(java.lang.String file, long page, java.lang.String text, java.lang.Boolean newwin)
          Creates a new object.
 
Method Summary
protected  java.lang.String getFile()
          Getter for file.
protected  java.lang.Boolean getNewWin()
          Getter for newWin.
protected  long getPage()
          Getter for page.
protected  java.lang.String getText()
          Getter for text.
 java.lang.Object visit(ActionVisitor visitor)
          This method is the entry point for the visitor pattern.
 
Methods inherited from class de.dante.extex.interpreter.primitives.pdftex.util.action.GotoActionSpec
parseActionSpec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GotoPageActionSpec

public GotoPageActionSpec(java.lang.String file,
                          long page,
                          java.lang.String text,
                          java.lang.Boolean newwin)
Creates a new object.

Parameters:
file - the file name
page - the page number
text - the plain text
newwin - the window indicator
Method Detail

getFile

protected java.lang.String getFile()
Getter for file.

Returns:
the file

getNewWin

protected java.lang.Boolean getNewWin()
Getter for newWin.

Returns:
the newWin

getPage

protected long getPage()
Getter for page.

Returns:
the page

getText

protected java.lang.String getText()
Getter for text.

Returns:
the text

visit

public java.lang.Object visit(ActionVisitor visitor)
Description copied from class: ActionSpec
This method is the entry point for the visitor pattern.

Specified by:
visit in class ActionSpec
Parameters:
visitor - the visitor to call back
Returns:
an arbitrary return object
See Also:
ActionSpec.visit( de.dante.extex.interpreter.primitives.pdftex.util.action.ActionVisitor)