org.metaqtl.bio.entity.factory
Class XmlBioEntityFactory

java.lang.Object
  extended by org.metaqtl.bio.entity.factory.BioEntityFactory
      extended by org.metaqtl.bio.entity.factory.XmlBioEntityFactory
Direct Known Subclasses:
XmlBioEntitiesFactory, XmlGeneticMapFactory, XmlOntologyFactory

public abstract class XmlBioEntityFactory
extends BioEntityFactory

Class Description Here

Author:
Jean-Baptiste Veyrieras

Constructor Summary
XmlBioEntityFactory()
           
 
Method Summary
protected abstract  java.lang.Class getEntityBeanClass()
           
protected abstract  int getEntityType()
           
 IBioEntity load(java.io.InputStream stream)
           
 IBioEntity load(java.io.Reader reader)
           
 void unload(IBioEntity obj, java.io.OutputStream stream)
           
 void unload(IBioEntity obj, java.io.Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlBioEntityFactory

public XmlBioEntityFactory()
Method Detail

getEntityBeanClass

protected abstract java.lang.Class getEntityBeanClass()

getEntityType

protected abstract int getEntityType()

load

public IBioEntity load(java.io.InputStream stream)
                throws java.io.IOException
Specified by:
load in class BioEntityFactory
Throws:
java.io.IOException

load

public IBioEntity load(java.io.Reader reader)
                throws java.io.IOException
Specified by:
load in class BioEntityFactory
Throws:
java.io.IOException

unload

public void unload(IBioEntity obj,
                   java.io.OutputStream stream)
            throws java.io.IOException
Specified by:
unload in class BioEntityFactory
Throws:
java.io.IOException

unload

public void unload(IBioEntity obj,
                   java.io.Writer writer)
            throws java.io.IOException
Specified by:
unload in class BioEntityFactory
Throws:
java.io.IOException