org.apache.avalon.phoenix.tools.infobuilder
Class BlockInfoBuilder

org.apache.avalon.phoenix.tools.infobuilder.BlockInfoBuilder

public final class BlockInfoBuilder

A BlockInfoBuilder is responsible for building BlockInfo objects from Configuration objects. The format for Configuration object is specified in the BlockInfo specification.

Version:
$Revision: 1.20 $ $Date: 2002/08/06 11:57:42 $
Author:
Peter Donald

Constructor Summary
BlockInfoBuilder()
           
 
Method Summary
 BlockInfo build(String classname, Configuration info)
          Create a BlockInfo object for specified classname from specified configuration data.
 

Constructor Detail

BlockInfoBuilder

public BlockInfoBuilder()
Method Detail

build

public BlockInfo build(String classname,
                       Configuration info)
                throws Exception
Create a BlockInfo object for specified classname from specified configuration data.
Parameters:
classname - The classname of Block
info - the BlockInfo configuration
Returns:
the created BlockInfo
Throws:
ConfigurationException - if an error occurs


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.