org.extex.pdf.api.destination
Class FitrDestType

java.lang.Object
  extended by org.extex.pdf.api.destination.DestType
      extended by org.extex.pdf.api.destination.FitrDestType
All Implemented Interfaces:
java.io.Serializable

public class FitrDestType
extends DestType

This is the fitr destination type for PDF.

Version:
$Revision: 4791 $
Author:
Gerd Neugebauer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.extex.pdf.api.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()
          Returns a string representation of the object.
 java.lang.Object visit(DestinationVisitor visitor)
          This method is the entry point for the visitor pattern.
 
Methods inherited from class org.extex.pdf.api.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()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
a string representation of the object.
See Also:
Object.toString()

visit

public java.lang.Object visit(DestinationVisitor visitor)
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:
DestType.visit( org.extex.pdf.api.destination.DestinationVisitor)