Class WhatsItCloseNode

  extended byde.dante.extex.typesetter.type.node.AbstractNode
      extended byde.dante.extex.typesetter.type.node.WhatsItNode
          extended byde.dante.extex.typesetter.type.node.WhatsItCloseNode
All Implemented Interfaces:
LogEnabled, Node,

public class WhatsItCloseNode
extends WhatsItNode
implements LogEnabled

This WhatsIt node closes an out file on shipping.

$Revision: 1.6 $
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
Constructor Summary
WhatsItCloseNode(java.lang.String theKey)
          Creates a new object.
Method Summary
 Node atShipping(Context context, Typesetter typesetter, NodeVisitor visitor, boolean inHMode)
          This method performs any action which are required to executed at the time of shipping the node to the DocumentWriter.
 void enableLogging(java.util.logging.Logger theLogger)
          Setter for the logger.
Methods inherited from class de.dante.extex.typesetter.type.node.WhatsItNode
toString, visit
Methods inherited from class de.dante.extex.typesetter.type.node.AbstractNode
addDepthTo, addHeightTo, addWidthTo, advanceDepth, advanceHeight, advanceWidth, 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


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

See Also:
Constant Field Values
Constructor Detail


public WhatsItCloseNode(java.lang.String theKey)
Creates a new object.

theKey - the key of the file to open
Method Detail


public Node atShipping(Context context,
                       Typesetter typesetter,
                       NodeVisitor visitor,
                       boolean inHMode)
                throws GeneralException
This method performs any action which are required to executed at the time of shipping the node to the DocumentWriter.

Specified by:
atShipping in interface Node
atShipping in class AbstractNode
context - the interpreter context
typesetter - the typesetter
visitor - the node visitor to be invoked when the node is hit. Note that each node in the output page is visited this way. Thus there is no need to implement a node traversal for the NodeList types
inHMode - true iff the container is a horizontal list. Otherwise the container is a vertical list
the node to be used instead of the current one in the output list. If the value is null then the node is deleted. If the value is the node itself then it is preserved.
GeneralException - in case of an error
See Also:
Node.atShipping( de.dante.extex.interpreter.context.Context, de.dante.extex.typesetter.Typesetter, de.dante.extex.typesetter.type.NodeVisitor, boolean)


public void enableLogging(java.util.logging.Logger theLogger)
Setter for the logger.

Specified by:
enableLogging in interface LogEnabled
theLogger - the new logger
See Also:
LogEnabled.enableLogging( java.util.logging.Logger)