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

java.lang.Object
  |
  +--AbstractLogEnabled
        |
        +--org.apache.avalon.phoenix.tools.infobuilder.BlockInfoBuilder

public final class BlockInfoBuilder
extends AbstractLogEnabled

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.23 $ $Date: 2002/08/17 02:34:44 $
Author:
Peter Donald
See Also:
Serialized Form

Constructor Summary
BlockInfoBuilder()
           
 
Method Summary
 BlockInfo build(String classname, Configuration info)
          Create a BlockInfo object for specified classname from specified configuration data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Exception


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.