com.tensegrity.graph.element.persistence
Class CustomAttributeSetElementBuilder

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

public class CustomAttributeSetElementBuilder
extends java.lang.Object
implements Builder

CustomAttributeSetElementBuilder creates an element instance from a given AttributeSet.

Version:
$Id: CustomAttributeSetElementBuilder.java,v 1.7 2005/08/02 14:11:25 BurkhardWick Exp $
Author:
Stepan Rutz

Constructor Summary
CustomAttributeSetElementBuilder(java.util.HashMap templates)
          Builds a new instance of CustomAttributeSetElementBuilder.
 
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

CustomAttributeSetElementBuilder

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

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.