ResidueFactory.java [src/nodes/factories] Revision: default Date:
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package nodes.factories;
import nodes.Residue;
import nodes.WEPSResidue;
import translators.Translator.FORMAT;
/**
*
* @author Brad
*/
public class ResidueFactory {
public static Residue createResidue(FORMAT type) {
Residue res = null;
switch (type) {
case WEPS:
res = new WEPSResidue();
break;
}
return res;
}
}