org.extex.font
Class FontKeyFactory

java.lang.Object
  extended by org.extex.framework.AbstractFactory
      extended by org.extex.font.FontKeyFactory
All Implemented Interfaces:
Configurable, LogEnabled, RegistrarObserver, ResourceAware

public class FontKeyFactory
extends AbstractFactory

Factory for the FontKey.

Version:
$Revision: 7292 $
Author:
Michael Niedermair

Field Summary
static FontKey NULL_KEY
          Fontkey for null.
 
Fields inherited from class org.extex.framework.AbstractFactory
CLASS_ATTRIBUTE, DEFAULT_ATTRIBUTE, SELECT_ATTRIBUTE
 
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 org.extex.framework.AbstractFactory
configure, configure, createInstance, createInstance, createInstance, createInstance, createInstanceForConfiguration, createInstanceForConfiguration, createInstanceForConfiguration, enableLogging, enableLogging, getConfiguration, getLogger, getResourceFinder, reconnect, selectConfiguration, setResourceFinder
 
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.
Returns:
Returns a new font key instance.