net.sf.jame.mandelbrot.extensions.fractal.orbittrap
Class AbstractOrbitTrapConfigXMLImporter<T extends OrbitTrapExtensionConfig>

java.lang.Object
  extended by net.sf.jame.core.xml.XMLImporter<T>
      extended by net.sf.jame.mandelbrot.extensions.fractal.orbittrap.AbstractOrbitTrapConfigXMLImporter<T>

public abstract class AbstractOrbitTrapConfigXMLImporter<T extends OrbitTrapExtensionConfig>
extends XMLImporter<T>

Author:
Andrea Medeghini

Constructor Summary
AbstractOrbitTrapConfigXMLImporter()
           
 
Method Summary
protected abstract  T createExtensionConfig()
           
protected abstract  java.lang.String getConfigElementClassId()
           
protected abstract  int getPropertiesSize()
           
 T importFromElement(org.w3c.dom.Element element)
           
protected abstract  void importProperties(T config, java.util.List<org.w3c.dom.Element> propertyElements)
           
 
Methods inherited from class net.sf.jame.core.xml.XMLImporter
checkClassId, getClassId, getElements, getElements, getExtensionId, getProperties, isVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractOrbitTrapConfigXMLImporter

public AbstractOrbitTrapConfigXMLImporter()
Method Detail

getConfigElementClassId

protected abstract java.lang.String getConfigElementClassId()
Returns:

createExtensionConfig

protected abstract T createExtensionConfig()
Returns:

getPropertiesSize

protected abstract int getPropertiesSize()
Returns:

importProperties

protected abstract void importProperties(T config,
                                         java.util.List<org.w3c.dom.Element> propertyElements)
                                  throws XMLImportException
Parameters:
config -
propertyElements -
Throws:
XMLImportException

importFromElement

public T importFromElement(org.w3c.dom.Element element)
                                                     throws XMLImportException
Specified by:
importFromElement in class XMLImporter<T extends OrbitTrapExtensionConfig>
Returns:
Throws:
XMLImportException
See Also:
XMLImporter.importFromElement(org.w3c.dom.Element)