com.facetmap.simple
Class SimpleFacetmap.SimpleXmlConverter

java.lang.Object
  extended bycom.facetmap.simple.XmlConverter
      extended bycom.facetmap.simple.SimpleFacetmap.SimpleXmlConverter
All Implemented Interfaces:
Parser
Enclosing class:
SimpleFacetmap

public static class SimpleFacetmap.SimpleXmlConverter
extends XmlConverter


Field Summary
 
Fields inherited from class com.facetmap.simple.XmlConverter
doc, docsUrl, DOCTYPE_TRANSFORMERS, ELEMENT_TRANSFORMERS, mHome, rParser, workDir
 
Constructor Summary
SimpleFacetmap.SimpleXmlConverter(java.net.URL docsUrl, java.io.File workDir)
           
 
Method Summary
 Map createMap(java.lang.String title)
          The class will call this method when it needs a Map object.
 
Methods inherited from class com.facetmap.simple.XmlConverter
addChildren, createDoctypeTransformers, createDOMParser, createElementTransformers, getDocsUrl, loadSpectrum, loadTaxonomy, parse, parse, parse, parseMap, parseRange, parseSpectrum, parseSpectrum, parseTaxonomy, parseTaxonomy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleFacetmap.SimpleXmlConverter

public SimpleFacetmap.SimpleXmlConverter(java.net.URL docsUrl,
                                         java.io.File workDir)
Method Detail

createMap

public Map createMap(java.lang.String title)
              throws DataException,
                     InternalException
Description copied from class: XmlConverter
The class will call this method when it needs a Map object. Map factories will typically subclass this class and tell it how to make a Map, then call this class's parse() method.

FIXME Please rewrite me please please! I should be accepting a Map factory in my constructor, not getting subclassed. This is so Trav 2002. Learn from it, kids.

Specified by:
createMap in class XmlConverter
Throws:
DataException
InternalException