de.dante.extex.interpreter.primitives.pdftex.util.destination
Class FitrDestType

java.lang.Object
  extended byde.dante.extex.interpreter.primitives.pdftex.util.destination.DestType
      extended byde.dante.extex.interpreter.primitives.pdftex.util.destination.FitrDestType

public class FitrDestType
extends DestType

This is the fitr destination type for PDF.

Version:
$Revision: 1.4 $
Author:
Gerd Neugebauer

Field Summary
 
Fields inherited from class de.dante.extex.interpreter.primitives.pdftex.util.destination.DestType
FIT, FITB, FITBH, FITBV, FITH, FITV, XYZ
 
Constructor Summary
FitrDestType(RuleNode rule)
          Creates a new object.
 
Method Summary
 RuleNode getRule()
          Getter for rule.
 java.lang.String toString()
           
 java.lang.Object visit(DestinationVisitor visitor)
          This method is the entry point for the visitor pattern.
 
Methods inherited from class de.dante.extex.interpreter.primitives.pdftex.util.destination.DestType
parseDestType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FitrDestType

public FitrDestType(RuleNode rule)
Creates a new object.

Parameters:
rule - the rule
Method Detail

getRule

public RuleNode getRule()
Getter for rule. The rule carries the width height, and depth. Nothing else. And even those parameters are optional; they might be null.

Returns:
the rule

toString

public java.lang.String toString()
See Also:
Object.toString()

visit

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

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