|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.server.MapRequest
Holds the parameters for an OGIS complient Map Request.
Field Summary | |
static java.lang.String |
FORMAT_GIF
Constant to use when requesting a GIF format. |
static java.lang.String |
FORMAT_JPG
Constant to use when requesting a JPG format. |
static java.lang.String |
FORMAT_PNG
Constant to use when requesting a PNG format. |
static java.lang.String |
REQUEST_GET_CAPABILITIES
Constant to use when requesting the capabilities XML. |
static java.lang.String |
REQUEST_GET_FEATURE_INFO
Constant to use when requesting information about a feature in a map. |
static java.lang.String |
REQUEST_GET_MAP
Constant to use when requesting a map. |
Constructor Summary | |
MapRequest()
Creates new MapRequest |
|
MapRequest(java.lang.String inRequest)
Creates new MapRequest of the given type |
Method Summary | |
java.awt.Color |
getBackgroundColor()
Get the background color of the image. |
java.lang.String |
getCalledURL()
Get the URL that was used to call this request. |
int |
getFeatureCount()
Get the numbe of features to return information about. |
FilterInfo[] |
getFilters()
Get the filters to apply to the layers. |
java.lang.String |
getFormat()
Get the format of the output image. |
int |
getHeight()
Get the heigth of the request result. |
java.lang.String[] |
getLayers()
Get the layers to be included in the map, in the order in which they are to be included. |
double |
getMaxX()
Get the maximum X coordinate. |
double |
getMaxY()
Get the maximum Y coordinate. |
double |
getMinX()
Get the minimum X coordinate. |
double |
getMinY()
Get the minimumv Y coordinate. |
java.lang.String |
getRequest()
Get the name of the request. |
java.lang.String |
getServiceName()
Get the name of the service to which this request is addressed. |
java.lang.String |
getSRS()
Get the Spatial Reference System Identifier. |
double |
getSRSLatitude()
Get the SRSLatitude value for auto SRS's |
double |
getSRSLongitude()
Get the SRSLongitude value for auto SRS's |
java.lang.String[] |
getStyles()
Get the list of styles to apply to the layers. |
boolean |
getTransparent()
Get the transparent value. |
int |
getWidth()
Get the width of the requested result. |
int |
getXPoint()
Get the X coordinate of the pixel of interest for a getInfo request. |
int |
getYPoint()
Get the Y coordinate of the pixel of interest for a getInfo request. |
boolean |
isSRSAuto()
Returns true is there is a latitude and longitude available. |
void |
setBackgroundColor(java.awt.Color inColor)
Sets the background color of the image. |
void |
setCalledURL(java.lang.String inCalledURL)
Set the URL that was used to call this request. |
void |
setFeatureCount(int inFeatureCount)
Set the number of features to return information about. |
void |
setFilters(FilterInfo[] inFilters)
Set the filters to apply to the layers. |
void |
setFormat(java.lang.String inFormat)
Set the format of the output image. |
void |
setHeight(int inHeight)
Set the height of the requested result. |
void |
setLayers(java.lang.String[] inLayers)
Set the layers to be included in the map, in the order in which they are to be included. |
void |
setMaxX(double inMaxX)
Set the maximum X coordinate. |
void |
setMaxY(double inMaxY)
Set the maximum Y coordinate. |
void |
setMinX(double inMinX)
Set the minimum X coordinate. |
void |
setMinY(double inMinY)
Set the minimum Y coordinate. |
void |
setRequest(java.lang.String inRequest)
Set the name of the request. |
void |
setServiceName(java.lang.String inServiceName)
Set the name of the service to which this request is addressed. |
void |
setSRS(java.lang.String inSRS)
Set the Spatial Reference System Identifier. |
void |
setSRSAuto(boolean inAuto)
Set to true for an AUTO SRS that allows specification of latitude and longitude. |
void |
setSRSLatitude(double inLatitude)
Set the SRSLatitude value for auto SRS's |
void |
setSRSLongitude(double inLongitude)
Set the SRSLongitude value for auto SRS's |
void |
setStyles(java.lang.String[] inStyles)
Set the styles to apply to the layers. |
void |
setTransparent(boolean inTransparent)
Set the transparent value, only valid for Gif and PDF. |
void |
setWidth(int inWidth)
Set the width of the requested result. |
void |
setXPoint(int inXPoint)
Set the X coordinate of the pixel of interest. |
void |
setYPoint(int inYPoint)
Set the Y coordinate of the pixel of interest. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String REQUEST_GET_MAP
public static final java.lang.String REQUEST_GET_CAPABILITIES
public static final java.lang.String REQUEST_GET_FEATURE_INFO
public static final java.lang.String FORMAT_PNG
public static final java.lang.String FORMAT_JPG
public static final java.lang.String FORMAT_GIF
Constructor Detail |
public MapRequest()
public MapRequest(java.lang.String inRequest)
Method Detail |
public void setServiceName(java.lang.String inServiceName)
public java.lang.String getServiceName()
public void setRequest(java.lang.String inRequest)
public java.lang.String getRequest()
public void setLayers(java.lang.String[] inLayers)
public java.lang.String[] getLayers()
public void setStyles(java.lang.String[] inStyles)
public java.lang.String[] getStyles()
public void setFilters(FilterInfo[] inFilters)
public FilterInfo[] getFilters()
public void setSRS(java.lang.String inSRS)
public java.lang.String getSRS()
public void setSRSLongitude(double inLongitude)
public double getSRSLongitude()
public void setSRSLatitude(double inLatitude)
public double getSRSLatitude()
public void setSRSAuto(boolean inAuto)
public boolean isSRSAuto()
public void setMaxX(double inMaxX)
public double getMaxX()
public void setMinX(double inMinX)
public double getMinX()
public void setMaxY(double inMaxY)
public double getMaxY()
public void setMinY(double inMinY)
public double getMinY()
public void setWidth(int inWidth)
public int getWidth()
public int getHeight()
public void setHeight(int inHeight)
public void setFormat(java.lang.String inFormat)
public java.lang.String getFormat()
public void setTransparent(boolean inTransparent)
public boolean getTransparent()
public void setBackgroundColor(java.awt.Color inColor)
public java.awt.Color getBackgroundColor()
public void setCalledURL(java.lang.String inCalledURL)
public java.lang.String getCalledURL()
public void setFeatureCount(int inFeatureCount)
public int getFeatureCount()
public void setXPoint(int inXPoint)
public int getXPoint()
public void setYPoint(int inYPoint)
public int getYPoint()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |