us.zuercher.gpx2map.source.dummy
Class Factory

java.lang.Object
  extended by us.zuercher.gpx2map.source.SourceFactory
      extended by us.zuercher.gpx2map.source.dummy.Factory

public class Factory
extends SourceFactory

Factory implements SourceFactory for the dummy map source.

Author:
Stephan Zuercher

Constructor Summary
Factory()
           
 
Method Summary
 MapSourceDescriptor getMapSourceDescriptor()
          Returns a MapSourceDescriptor for this Factory.
protected  MapSource newMapSource()
          Instantiates a new DummyMapSource.
 
Methods inherited from class us.zuercher.gpx2map.source.SourceFactory
createMapSource, getAvailableSources, getLastThrown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Factory

public Factory()
Method Detail

getMapSourceDescriptor

public MapSourceDescriptor getMapSourceDescriptor()
Returns a MapSourceDescriptor for this Factory.

Specified by:
getMapSourceDescriptor in class SourceFactory
Returns:
a MapSourceDescriptor

newMapSource

protected MapSource newMapSource()
Instantiates a new DummyMapSource.

Specified by:
newMapSource in class SourceFactory
Returns:
a new DummyMapSource.
See Also:
SourceFactory.newMapSource()