org.placelab.mapper.loader
Class FakeMapSource

java.lang.Object
  extended byorg.placelab.mapper.loader.FakeMapSource
All Implemented Interfaces:
MapSource

public class FakeMapSource
extends java.lang.Object
implements MapSource

For testing purposes


Field Summary
protected  java.lang.String name
           
 
Constructor Summary
FakeMapSource(java.lang.String name)
           
 
Method Summary
 java.lang.String getName()
           
 boolean isDefault()
           
 java.util.Enumeration query(Coordinate one, Coordinate two)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
Constructor Detail

FakeMapSource

public FakeMapSource(java.lang.String name)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface MapSource

isDefault

public boolean isDefault()
Specified by:
isDefault in interface MapSource

query

public java.util.Enumeration query(Coordinate one,
                                   Coordinate two)
Specified by:
query in interface MapSource