NASA World Wind

gov.nasa.worldwind.ogc.kml.impl
Class KMLModelPlacemarkImpl.RequestTask

java.lang.Object
  extended by gov.nasa.worldwind.ogc.kml.impl.KMLModelPlacemarkImpl.RequestTask
All Implemented Interfaces:
Runnable
Enclosing class:
KMLModelPlacemarkImpl

protected static class KMLModelPlacemarkImpl.RequestTask
extends Object
implements Runnable

Attempts to find this model link resource file locally, and if that fails attempts to find it remotely.


Field Summary
protected  String address
          The resource's address.
protected  KMLModelPlacemarkImpl placemark
          The link associated with this request.
 
Constructor Summary
protected KMLModelPlacemarkImpl.RequestTask(KMLModelPlacemarkImpl placemark, String address)
          Construct a request task for a specified network link resource.
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 void run()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

address

protected final String address
The resource's address.


placemark

protected final KMLModelPlacemarkImpl placemark
The link associated with this request.

Constructor Detail

KMLModelPlacemarkImpl.RequestTask

protected KMLModelPlacemarkImpl.RequestTask(KMLModelPlacemarkImpl placemark,
                                            String address)
Construct a request task for a specified network link resource.

Parameters:
placemark - the placemark for which to construct the request task.
address - the address of the resource to request.
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

run

public void run()
Specified by:
run in interface Runnable

toString

public String toString()
Overrides:
toString in class Object

NASA World Wind