com.tensegrity.generic.persistence
Interface Builder

All Known Implementing Classes:
CompositeBuilder, CompositeLineBuilder, CustomAttributeSetElementBuilder, EdgeElementBuilder, GeometryDescriptorBuilder, GeometryDescriptorItemBuilder, GeometryItemBuilder, NodeElementBuilder, RuleBuilder, StyleDescriptorBuilder, StyleDescriptorItemBuilder, StyleItemBuilder, TemplateBuilder

public interface Builder

The Builder interface is responsible for building an object using the information provided in an AttributeList.

Version:
$Id: Builder.java,v 1.9 2005/05/19 11:30:04 KevinCVS Exp $
Author:
MichaelKegel

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.
 

Method Detail

build

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

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.