public class WMSRequest extends Object implements Comparable<WMSRequest>
Modifier and Type | Field and Description |
---|---|
private boolean |
allowPartialCacheMatch |
private WMSException |
exception |
private boolean |
hasExactMatch |
private BufferedImage |
image |
private double |
pixelPerDegree |
private WMSLayer.PrecacheTask |
precacheTask |
private int |
priority |
private boolean |
real |
private GeorefImage.State |
state |
private int |
xIndex |
private int |
yIndex |
Constructor and Description |
---|
WMSRequest(int xIndex,
int yIndex,
double pixelPerDegree,
boolean real,
boolean allowPartialCacheMatch) |
WMSRequest(int xIndex,
int yIndex,
double pixelPerDegree,
boolean real,
boolean allowPartialCacheMatch,
WMSLayer.PrecacheTask precacheTask) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(WMSRequest o) |
boolean |
equals(Object obj) |
void |
finish(GeorefImage.State state,
BufferedImage image,
WMSException exception) |
WMSException |
getException()
Replies the resulting exception, if any.
|
BufferedImage |
getImage()
Replies the resulting image, if any.
|
double |
getPixelPerDegree() |
WMSLayer.PrecacheTask |
getPrecacheTask() |
int |
getPriority() |
GeorefImage.State |
getState()
Replies the resulting state.
|
int |
getXIndex() |
int |
getYIndex() |
boolean |
hasExactMatch() |
int |
hashCode() |
boolean |
isAllowPartialCacheMatch() |
boolean |
isPrecacheOnly() |
boolean |
isReal() |
void |
setHasExactMatch(boolean hasExactMatch) |
void |
setPriority(int priority) |
String |
toString() |
private final int xIndex
private final int yIndex
private final double pixelPerDegree
private final boolean real
private final WMSLayer.PrecacheTask precacheTask
private final boolean allowPartialCacheMatch
private int priority
private boolean hasExactMatch
private GeorefImage.State state
private BufferedImage image
private WMSException exception
public WMSRequest(int xIndex, int yIndex, double pixelPerDegree, boolean real, boolean allowPartialCacheMatch)
public WMSRequest(int xIndex, int yIndex, double pixelPerDegree, boolean real, boolean allowPartialCacheMatch, WMSLayer.PrecacheTask precacheTask)
public void finish(GeorefImage.State state, BufferedImage image, WMSException exception)
public int getXIndex()
public int getYIndex()
public double getPixelPerDegree()
public void setPriority(int priority)
public int getPriority()
public int compareTo(WMSRequest o)
compareTo
in interface Comparable<WMSRequest>
public GeorefImage.State getState()
public BufferedImage getImage()
null
public WMSException getException()
null
public boolean isReal()
public boolean isPrecacheOnly()
public WMSLayer.PrecacheTask getPrecacheTask()
public boolean isAllowPartialCacheMatch()
public boolean hasExactMatch()
public void setHasExactMatch(boolean hasExactMatch)