de.dante.extex.typesetter.type.node.pdftex
Class PdfLiteral

java.lang.Object
  extended byde.dante.extex.typesetter.type.node.AbstractNode
      extended byde.dante.extex.typesetter.type.node.WhatsItNode
          extended byde.dante.extex.typesetter.type.node.pdftex.PdfLiteral
All Implemented Interfaces:
Node, java.io.Serializable

public class PdfLiteral
extends WhatsItNode

This node signals the end of a link. This node type represents the extension node from the perspective of TeX.

Version:
$Revision: 1.5 $
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 de.dante.extex.typesetter.type.node.AbstractNode
NO_CHARS
 
Constructor Summary
PdfLiteral(java.lang.String text, boolean direct)
          Creates a new object.
 
Method Summary
 java.lang.String getText()
          Getter for text.
 boolean isDirect()
          Getter for direct.
 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 de.dante.extex.typesetter.type.node.WhatsItNode
visit
 
Methods inherited from class de.dante.extex.typesetter.type.node.AbstractNode
addDepthTo, addHeightTo, addWidthTo, advanceDepth, advanceHeight, advanceWidth, atShipping, computeAdjustment, countChars, getChars, getDepth, getHeight, getLocalizer, getVerticalSize, getWidth, maxDepth, maxHeight, maxWidth, setDepth, setHeight, setWidth, spreadHeight, spreadWidth, toString, toText, toText
 
Methods inherited from class java.lang.Object
clone, 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

PdfLiteral

public PdfLiteral(java.lang.String text,
                  boolean direct)
Creates a new object.

Parameters:
text - the text of the literal
direct - the indicator that the literal should be inserted immediately. If it is false then the insertin is deferred until shipout.
Method Detail

getText

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

Returns:
the text

isDirect

public boolean isDirect()
Getter for direct.

Returns:
the direct

toString

public void toString(java.lang.StringBuffer sb,
                     java.lang.String prefix,
                     int breadth,
                     int depth)
Description copied from interface: Node
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
See Also:
Node.toString( java.lang.StringBuffer, java.lang.String, int, int)