A node is the basic data structure for the typesetter. It has a reference
point and three dimensions, namely width, height, and depth (see figure).

Note that those dimensions are sometimes used for different purposes.
For instance a KernNode does use the width to denote the actual size which
can be applied in horizontal or in vertical direction, depending on the
context.

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.

int

countChars()
This method determines the number of characters contained in a node.

atShipping

This method performs any action which are required to executed at the
time of shipping the node to the DocumentWriter. It is a NOOP in the
abstract base class and should be overwritten by sub-classes if
required.

Parameters:

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

Returns:

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.