@Test public void create() throws Exception { SequenceSite ss = factory.create(SequenceSite.class,"ss"); }
public BioPAXElement create(String localName, String uri) { Class<? extends BioPAXElement> type = getLevel().getInterfaceForName(localName); return create(type, uri); }
BioPAXFactory { public BioPAXElement create(String localName, String uri) { Class<? extends BioPAXElement> type = getLevel().getInterfaceForName(localName); return create(type, uri); } }
BioPAXFactory { public BioPAXElement create(String localName, String uri) { Class<? extends BioPAXElement> type = getLevel().getInterfaceForName(localName); return create(type, uri); } protected  BioPAXFactory(); }
BioPAXFactory { public BioPAXElement create(String localName, String uri) { Class<? extends BioPAXElement> type = getLevel().getInterfaceForName(localName); return create(type, uri); } protected  BioPAXFactory(); abstract BioPAXLevel getLevel(); BioPAXElement create(String localName, String uri); T create(Class<T> aClass, String uri); abstract String mapClassName(Class<? extends BioPAXElement> aClass); boolean canInstantiate(Class<? extends BioPAXElement> aClass); Model createModel(); Class<T> getImplClass(Class<T> aModelInterfaceClass); }
BioPAXFactory { public BioPAXElement create(String localName, String uri) { Class<? extends BioPAXElement> type = getLevel().getInterfaceForName(localName); return create(type, uri); } protected  BioPAXFactory(); abstract BioPAXLevel getLevel(); BioPAXElement create(String localName, String uri); T create(Class<T> aClass, String uri); abstract String mapClassName(Class<? extends BioPAXElement> aClass); boolean canInstantiate(Class<? extends BioPAXElement> aClass); Model createModel(); Class<T> getImplClass(Class<T> aModelInterfaceClass);  }