de.dante.extex.typesetter.type.node.factory
Interface NodeFactory

All Known Implementing Classes:
SimpleNodeFactory

public interface NodeFactory

This interface describes a node factory.

Version:
$Revision: 1.2 $
Author:
Gerd Neugebauer

Method Summary
 Node getNode(TypesettingContext typesettingContext, UnicodeChar uc)
          Create a new instance of a character node.
 

Method Detail

getNode

public Node getNode(TypesettingContext typesettingContext,
                    UnicodeChar uc)
Create a new instance of a character node. If the character is not defined in the font given then null is returned instead.

If the character has some special meaning in Unicode then another node might be returned.

Parameters:
typesettingContext - the typographic context for the node
uc - the Unicode character
Returns:
the new character node