de.modlab.smilib.fragments
Class BuildingBlockFactory

java.lang.Object
  extended by de.modlab.smilib.fragments.BuildingBlockFactory
All Implemented Interfaces:
FragmentFactory

public class BuildingBlockFactory
extends java.lang.Object
implements FragmentFactory

Creates BuildingBlock Fragments.


Constructor Summary
BuildingBlockFactory()
          Creates a new instance of BuildingBlockFactory
 
Method Summary
 Fragment createFragment(java.lang.String smiles, java.lang.String id)
          Creates a BuildingBlock.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildingBlockFactory

public BuildingBlockFactory()
Creates a new instance of BuildingBlockFactory

Method Detail

createFragment

public Fragment createFragment(java.lang.String smiles,
                               java.lang.String id)
Creates a BuildingBlock.

Specified by:
createFragment in interface FragmentFactory
Parameters:
smiles - Original SMILES of the BuildingBlock
id - BuildingBlock ID
Returns:
created BuildingBlock object