org.extex.pdf.api.node
Class PdfDest

java.lang.Object
  extended by org.extex.typesetter.type.node.AbstractNode
      extended by org.extex.typesetter.type.node.WhatsItNode
          extended by org.extex.pdf.api.node.PdfDest
All Implemented Interfaces:
java.io.Serializable, Node

public class PdfDest
extends WhatsItNode

This node marks the target for a link. This node type represents the extension node from the perspective of TeX.

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

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
 
Fields inherited from class org.extex.typesetter.type.node.AbstractNode
NO_CHARS
 
Constructor Summary
PdfDest(IdSpec id, DestType type)
          Creates a new object.
 
Method Summary
 IdSpec getId()
          Getter for id.
 DestType getType()
          Getter for type.
 void toString(java.lang.StringBuffer sb, java.lang.String prefix, int breadth, int depth)
          This method puts the printable representation into the string buffer.
 
Methods inherited from class org.extex.typesetter.type.node.WhatsItNode
visit
 
Methods inherited from class org.extex.typesetter.type.node.AbstractNode
addDepthTo, addHeightTo, addWidthTo, advanceNaturalDepth, advanceNaturalHeight, advanceNaturalWidth, atShipping, clone, computeAdjustment, countChars, getChars, getDepth, getHeight, getLocalizer, getNaturalDepth, getNaturalHeight, getNaturalWidth, getVerticalSize, getWidth, maxDepth, maxHeight, maxWidth, setDepth, setHeight, setWidth, spreadHeight, spreadWidth, toString, toText, toText
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

protected static final long serialVersionUID
The constant serialVersionUID contains the id for serialization.

See Also:
Constant Field Values
Constructor Detail

PdfDest

public PdfDest(IdSpec id,
               DestType type)
Creates a new object.

Parameters:
id - the id
type - the destination
Method Detail

getId

public IdSpec getId()
Getter for id.

Returns:
the id

getType

public DestType getType()
Getter for type.

Returns:
the type

toString

public void toString(java.lang.StringBuffer sb,
                     java.lang.String prefix,
                     int breadth,
                     int depth)
This method puts the printable representation into the string buffer. This is meant to produce a exhaustive form as it is used in tracing output to the log file.

Specified by:
toString in interface Node
Overrides:
toString in class WhatsItNode
Parameters:
sb - the output string buffer
prefix - the prefix string inserted at the beginning of each line
breadth - the breadth of the nodes to display
depth - the depth of the nodes to display
See Also:
Node.toString( java.lang.StringBuffer, java.lang.String, int, int)