org.jplate.foundation.node.attribute.impl.defaults
Class DefaultAttributeFactory<V,N>

java.lang.Object
  extended by org.jplate.foundation.gof.factory.impl.AbstractContextFactory<DefaultAttribute<N,V>,N>
      extended by org.jplate.foundation.node.attribute.impl.defaults.DefaultAttributeFactory<V,N>
Type Parameters:
V - The value type of the attribute.
N - The name type of the attribute.
All Implemented Interfaces:
java.io.Serializable, ContextFactoryIfc<DefaultAttribute<N,V>,N>, AttributeFactoryIfc<DefaultAttribute<N,V>,N>

public final class DefaultAttributeFactory<V,N>
extends AbstractContextFactory<DefaultAttribute<N,V>,N>
implements AttributeFactoryIfc<DefaultAttribute<N,V>,N>

Default implementation of AttributeFactoryIfc that creates DefaultAttribute's.

Modifications:
    $Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $
    $Revision: 479 $
    $Author: sfloess $
    $HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/foundation/node/attribute/impl/defaults/DefaultAttributeFactory.java $
    

See Also:
Serialized Form

Field Summary
private  org.apache.commons.logging.Log _log
          Used for logging.
private static long serialVersionUID
          For serialization purposes.
 
Constructor Summary
DefaultAttributeFactory()
          Default constructor.
 
Method Summary
 DefaultAttribute<N,V> create(N name)
          Creates an attribute whose name is name
 
Methods inherited from class org.jplate.foundation.gof.factory.impl.AbstractContextFactory
destroy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jplate.foundation.gof.factory.ContextFactoryIfc
destroy
 

Field Detail

serialVersionUID

private static final long serialVersionUID
For serialization purposes.

See Also:
Constant Field Values

_log

private final transient org.apache.commons.logging.Log _log
Used for logging.

Constructor Detail

DefaultAttributeFactory

public DefaultAttributeFactory()
Default constructor.

Method Detail

create

public DefaultAttribute<N,V> create(N name)
Creates an attribute whose name is name

Specified by:
create in interface ContextFactoryIfc<DefaultAttribute<N,V>,N>
Parameters:
name - The name of the attribute.
Returns:
A new DefaultAttribute.