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