001package org.biojava.nbio.structure.chem; 002 003/** 004 * Interface that is implemented by all classes that can provide {@link ChemComp} definitions. 005 * @author Andreas Prlic 006 * @since 3.0 007 */ 008public interface ChemCompProvider { 009 /** 010 * Returns a new instance of a chemical component definition. 011 * @param recordName the ID of the {@link ChemComp} 012 * @return a new {@link ChemComp} definition. 013 */ 014 ChemComp getChemComp(String recordName); 015}