org.jplate.foundation.node.attribute.impl.defaults
Class DefaultAttributeFactory<V,N>
java.lang.Object
org.jplate.foundation.gof.factory.impl.AbstractContextFactory<DefaultAttribute<N,V>,N>
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
DefaultAttributeFactory
public DefaultAttributeFactory()
- Default constructor.
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.