de.dante.extex.typesetter.type.node.factory
Class SimpleUnicodeNodeFactory

java.lang.Object
  extended byde.dante.extex.typesetter.type.node.factory.SimpleNodeFactory
      extended byde.dante.extex.typesetter.type.node.factory.SimpleUnicodeNodeFactory
All Implemented Interfaces:
NodeFactory
Direct Known Subclasses:
CachingUnicodeNodeFactory

public class SimpleUnicodeNodeFactory
extends SimpleNodeFactory

This is the factory for CharNodes and virtual chars.

Version:
$Revision: 1.3 $
Author:
Gerd Neugebauer

Constructor Summary
SimpleUnicodeNodeFactory()
          Creates a new object.
 
Method Summary
 Node getNode(TypesettingContext typesettingContext, UnicodeChar uc)
          Create a new instance for the node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleUnicodeNodeFactory

public SimpleUnicodeNodeFactory()
Creates a new object.

Method Detail

getNode

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

Specified by:
getNode in interface NodeFactory
Overrides:
getNode in class SimpleNodeFactory
Parameters:
typesettingContext - the typographic context for the node
uc - the Unicode character
Returns:
the new character node
See Also:
de.dante.extex.typesetter.type.node.factory.NodeFactory#getNode( de.dante.extex.interpreter.context.TypesettingContext, de.dante.util.UnicodeChar)