com.tensegrity.gui.template
Class TemplateBuilder

java.lang.Object
  extended bycom.tensegrity.gui.template.TemplateBuilder
All Implemented Interfaces:
Builder

public class TemplateBuilder
extends java.lang.Object
implements Builder

The TemplateBuilder creates an instance of Template for a given AttributeList originally created by the com.tensegrity.gui.template.TemplateSerializer.

Version:
$Id: TemplateBuilder.java,v 1.7 2006/03/02 11:42:01 BurkhardWick Exp $
Author:
GillesIachelini

Constructor Summary
TemplateBuilder(com.tensegrity.graph.defaultview.InternalIDPool idMapPool)
          Empty default constructor for the TemplateBuilder.
 
Method Summary
 java.lang.Object build(AttributeList list)
          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

TemplateBuilder

public TemplateBuilder(com.tensegrity.graph.defaultview.InternalIDPool idMapPool)
Empty default constructor for the TemplateBuilder.

Parameters:
idMapPool - The InternalIDPool for the ID managment
Method Detail

build

public java.lang.Object build(AttributeList list)
                       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:
list - 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(com.tensegrity.generic.attribute.AttributeList)


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