/* * Created on Apr 18, 2005 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package fr.lifl.stc.stan.link.defaultLink; import fr.lifl.stc.stan.link.Link; import fr.lifl.stc.stan.link.LinkFactory; /** * @author dorina * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */ public class DefaultLinkFactory implements LinkFactory { /** * */ public DefaultLinkFactory() { super(); // TODO Auto-generated constructor stub } /* (non-Javadoc) * @see fr.lifl.rd2p.jits.tools.ea.link.LinkFactory#createLink() */ public Link createLink() { // TODO Auto-generated method stub return new DefaultLink(); } /* (non-Javadoc) * @see fr.lifl.rd2p.jits.tools.ea.link.LinkFactory#createLink(int, int, int) */ public Link createLink(int from, int to, int linkType) { // TODO Auto-generated method stub return new DefaultLink(from, to, linkType); } public Link[][]createTableLink(int n, int m){ return new DefaultLink[n][m]; } public Link createLink(int fromPart, int fromType, int toPart, int toType) { return new DefaultLink(fromPart, fromType, toPart, toType); } public Link createLink(byte b) { return new DefaultLink(b); } }