com.tensegrity.graph.element.persistence
Class NodeElementBuilder

java.lang.Object
  extended bycom.tensegrity.graph.element.persistence.NodeElementBuilder
All Implemented Interfaces:
Builder

public class NodeElementBuilder
extends java.lang.Object
implements Builder

RuleBuilder creates an element instance from a given AttributeSet.

Version:
$Id: NodeElementBuilder.java,v 1.25 2006/06/08 12:17:14 MichaelKegel Exp $
Author:
Stepan Rutz

Constructor Summary
NodeElementBuilder(java.util.HashMap templates)
          Builds a new instance of NodeElementBuilder.
 
Method Summary
 java.lang.Object build(AttributeList attributes)
          Builds an object from the given AttributeList by reading all required Attributes and its values and creating the object from.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeElementBuilder

public NodeElementBuilder(java.util.HashMap templates)
Builds a new instance of NodeElementBuilder.

Parameters:
templates - map of templates to use.
Method Detail

build

public java.lang.Object build(AttributeList attributes)
                       throws BuildException
Description copied from interface: Builder
Builds an object from the given AttributeList by reading all required Attributes and its values and creating the object from.

Specified by:
build in interface Builder
Parameters:
attributes - the AttributeList holding the informations specifying the object to be build.
Returns:
Object the built object.
Throws:
BuildException - whenever an error occurs while building an object.
See Also:
Builder.build(AttributeList)


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.