org.extex.font
Class FontKeyFactory

java.lang.Object
  extended by AbstractFactory
      extended by org.extex.font.FontKeyFactory

public class FontKeyFactory
extends AbstractFactory

Factory for the FontKey.

Version:
$Revision: 6600 $
Author:
Michael Niedermair

Field Summary
static FontKey NULL_KEY
          Fontkey for null.
 
Constructor Summary
FontKeyFactory()
          Create a new object.
 
Method Summary
 FontKey newInstance(FontKey fk, java.util.List<java.lang.String> tag)
          Returns a new font key instance.
 FontKey newInstance(FontKey fk, java.util.Map<java.lang.String,?> theMap)
          Returns a new font key instance.
 FontKey newInstance(FontKey fk, java.util.Map<java.lang.String,?> theMap, java.util.List<java.lang.String> tag)
          Returns a new font key instance.
 FontKey newInstance(FontKey fk, java.lang.String key, boolean value)
          Returns a new font key instance.
 FontKey newInstance(FontKey fk, java.lang.String key, FixedDimen value)
          Returns a new font key instance.
 FontKey newInstance(FontKey fk, java.lang.String key, java.lang.String value)
          Returns a new font key instance.
 FontKey newInstance(java.lang.String theFontname)
          Returns a new font key instance.
 FontKey newInstance(java.lang.String theFontname, FixedDimen size)
          Returns a new font key instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_KEY

public static final FontKey NULL_KEY
Fontkey for null.

Constructor Detail

FontKeyFactory

public FontKeyFactory()
Create a new object.

Method Detail

newInstance

public FontKey newInstance(FontKey fk,
                           java.util.List<java.lang.String> tag)
Returns a new font key instance.

Parameters:
fk - The font key.
tag - The list of tags.
Returns:
Returns a new font key instance.

newInstance

public FontKey newInstance(FontKey fk,
                           java.util.Map<java.lang.String,?> theMap)
Returns a new font key instance.

Parameters:
fk - The font key.
theMap - The map with key value entries.
Returns:
Returns a new font key instance.

newInstance

public FontKey newInstance(FontKey fk,
                           java.util.Map<java.lang.String,?> theMap,
                           java.util.List<java.lang.String> tag)
Returns a new font key instance.

Parameters:
fk - The font key.
theMap - The map with key value entries.
tag - The list of tags.
Returns:
Returns a new font key instance.

newInstance

public FontKey newInstance(FontKey fk,
                           java.lang.String key,
                           boolean value)
Returns a new font key instance.

Parameters:
fk - The font key.
key - The key.
value - The value.
Returns:
Returns a new font key instance.

newInstance

public FontKey newInstance(FontKey fk,
                           java.lang.String key,
                           FixedDimen value)
Returns a new font key instance.

Parameters:
fk - The font key.
key - The key.
value - The value.
Returns:
Returns a new font key instance.

newInstance

public FontKey newInstance(FontKey fk,
                           java.lang.String key,
                           java.lang.String value)
Returns a new font key instance.

Parameters:
fk - The font key.
key - The key.
value - The value.
Returns:
Returns a new font key instance.

newInstance

public FontKey newInstance(java.lang.String theFontname)
Returns a new font key instance.

Parameters:
theFontname - The font name.
Returns:
Returns a new font key instance.

newInstance

public FontKey newInstance(java.lang.String theFontname,
                           FixedDimen size)
Returns a new font key instance.

Parameters:
theFontname - The font name.
size - The size.
value - The value.
Returns:
Returns a new font key instance.