com.tensegrity.composite.style.persistence
Class StyleDescriptorItemBuilder

java.lang.Object
  extended bycom.tensegrity.composite.style.persistence.StyleDescriptorItemBuilder
All Implemented Interfaces:
Builder

public class StyleDescriptorItemBuilder
extends java.lang.Object
implements Builder

The StyleDescriptorItemBuilder creates a an instance of DefaultStyleDescriptorItem's from a given AttributeList.

Version:
$Id: StyleDescriptorItemBuilder.java,v 1.4 2005/01/19 17:19:35 MichaelKegel Exp $
Author:
MKegel

Constructor Summary
StyleDescriptorItemBuilder()
          Empty constructor.
 
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

StyleDescriptorItemBuilder

public StyleDescriptorItemBuilder()
Empty constructor. Does nothing.

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.


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