public class WMSDataParametersImpl extends AbstractRasterDataParameters implements WMSDataParameters
Modifier and Type | Field and Description |
---|---|
protected static DynClass |
DYNCLASS |
PERSISTENT_DESCRIPTION, PERSISTENT_NAME
DONT_CHANGE_PROJECTION, FIELD_CRS, FIELD_RMF_FOLDER, FIELD_URI, NEW_PROJETION_TO_THE_LAYER, NOT_LOAD, ON_THE_FLY, REPROJECT_DATA, REPROJECT_VIEW
Constructor and Description |
---|
WMSDataParametersImpl() |
Modifier and Type | Method and Description |
---|---|
void |
assignFields(RasterDataParameters par,
RasterDataServerExplorer explorer)
Assigns field from a data parameters to other
|
WMSDataParameters |
clone()
Clones this RemoteStoreParameters
|
void |
deleteCache(boolean deleteCache)
Sets the flag to delete cache
|
ICancellable |
getCancellable() |
String |
getDataStoreName()
Returns the DataStore's name
|
protected DelegatedDynObject |
getDelegatedDynObject()
Returns an instance of the
DynObject to delegate to. |
String |
getDescription()
Returns the DataStore's description
|
Vector<String> |
getDimensions()
Gets the dimension vector that is a list of key-value pairs containing
the name of the dimension and the value for it
|
String |
getExplorerName() |
Rectangle2D |
getExtent()
Gets the bounding box
|
Dimension |
getFixedSize()
Gets the value of the fixed size
|
String |
getFormat()
Gets the format
|
int |
getHeight()
Gets the height
|
String |
getInfoFormat()
Gets the info by point format
|
String |
getInfoLayerQuery() |
String |
getLayerQuery() |
String |
getName() |
Map<String,String> |
getOnlineResource()
Gets the online resource map
|
String |
getOnlineResource(String operation)
Gets the URL that should be accessed for an operation performed
to the server.
|
String |
getSRSCode()
Devuelve el SRS.
|
List<RemoteWMSStyle> |
getStyles() |
int |
getWidth()
Gets the width
|
protected void |
initialize() |
boolean |
isDeletingCache()
Gets true if the cache is going to be deleted
|
boolean |
isOverridingHost() |
boolean |
isQueryable()
If it is true, this layer accepts GetFeatureInfo operations.
|
boolean |
isSizeFixed()
Tells whether if this layer must deal with the server with the constant-size
limitations or not.
|
boolean |
isValid()
Indicates whether these parameters are valid.
|
boolean |
isWmsTransparent() |
boolean |
isXyAxisOrder()
Gets the behaviour of the parser with regards the axis order
Returns
true if the WMS parser should assume that the
order of the coordinates follows the XY axis order
(the first coordinate corresponds to the horizontal X
axis, while the second coordinate corresponds to the
vertical Y axis), regardless the protocol version and CRS in use. |
static DynStruct |
registerDynClass() |
void |
setCancellable(ICancellable cancel) |
void |
setDimensions(Vector<String> dimensions)
Sets the dimension vector that is a list of key-value pairs containing
the name of the dimension and the value for it
|
void |
setExtent(Rectangle2D bBox)
Assigns the extent.
|
void |
setFixedSize(Dimension sz)
When a server is not fully featured and it only can serve constant map
sizes this value must be set.
|
void |
setFormat(String format)
Sets the format
|
void |
setHeight(int h)
Sets the height
When a provider is initialized this will need to know what is the height before the request.
|
void |
setInfoFormat(String format)
Sets the info by point format
|
void |
setInfoLayerQuery(String infoLayerQuery) |
void |
setLayerQuery(String layerQuery) |
void |
setName(String name) |
void |
setOnlineResources(Map<String,String> onlineResources)
Sets the set of URLs that should be accessed for each operation performed
to the server.
|
void |
setOverrideHost(boolean over) |
void |
setQueryable(boolean b)
If it is true, this layer accepts GetFeatureInfo operations.
|
void |
setSRS(String m_srs)
Inserta el SRS.
|
void |
setSRSID(String srsid) |
void |
setStyles(List<RemoteWMSStyle> styles) |
void |
setWidth(int w)
Sets the width
When a provider is initialized this will need to know what is the width before the request.
|
void |
setWmsTransparency(boolean wmsTransparency) |
void |
setXyAxisOrder(boolean assumeXY)
Sets the behaviour of the parser with regards the axis order.
|
getAlphaBand, getFrame, getReprojectionOption, getRMFFolder, getSRS, getSRSID, getURI, isSourceTiled, isVisible, registerDynClass, setAlphaBand, setFrame, setReprojectionOption, setRMFFolder, setSRS, setURI, setVisible
clear, copyValuesTo, delegate, getCopy, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, loadFromState, saveToState, setDynValue, toString, validate
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSRS, getURI, setURI
getAlphaBand, getFrame, setAlphaBand, setFrame
clear, getCopy, validate
loadFromState, saveToState
delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValue
protected static DynClass DYNCLASS
protected void initialize()
public static DynStruct registerDynClass()
public String getFormat()
getFormat
in interface WMSDataParameters
public void setFormat(String format)
setFormat
in interface WMSDataParameters
format
- public String getInfoFormat()
getInfoFormat
in interface WMSDataParameters
public void setInfoFormat(String format)
setInfoFormat
in interface WMSDataParameters
public String getLayerQuery()
getLayerQuery
in interface WMSDataParameters
public void setLayerQuery(String layerQuery)
setLayerQuery
in interface WMSDataParameters
public String getSRSCode()
getSRSCode
in interface WMSDataParameters
public void setSRS(String m_srs)
setSRS
in interface WMSDataParameters
m_srs
- SRS.public void setSRSID(String srsid)
setSRSID
in interface RasterDataParameters
setSRSID
in class AbstractRasterDataParameters
public String getName()
getName
in interface WMSDataParameters
public void setName(String name)
setName
in interface WMSDataParameters
public boolean isWmsTransparent()
isWmsTransparent
in interface WMSDataParameters
public void setWmsTransparency(boolean wmsTransparency)
setWmsTransparency
in interface WMSDataParameters
wmsTransparency
- The wmsTransparency to set.public String getInfoLayerQuery()
getInfoLayerQuery
in interface WMSDataParameters
public void setInfoLayerQuery(String infoLayerQuery)
setInfoLayerQuery
in interface WMSDataParameters
public void setQueryable(boolean b)
setQueryable
in interface WMSDataParameters
b
- public void setCancellable(ICancellable cancel)
setCancellable
in interface WMSDataParameters
public ICancellable getCancellable()
getCancellable
in interface WMSDataParameters
public boolean isQueryable()
WMSDataParameters
isQueryable
in interface WMSDataParameters
public boolean isOverridingHost()
isOverridingHost
in interface RasterDataParameters
public void setOverrideHost(boolean over)
setOverrideHost
in interface RasterDataParameters
setOverrideHost
in interface WMSDataParameters
public void setStyles(List<RemoteWMSStyle> styles)
setStyles
in interface WMSDataParameters
public List<RemoteWMSStyle> getStyles()
getStyles
in interface WMSDataParameters
styles
- public void setDimensions(Vector<String> dimensions)
WMSDataParameters
setDimensions
in interface WMSDataParameters
public Vector<String> getDimensions()
getDimensions
in interface WMSDataParameters
public void setOnlineResources(Map<String,String> onlineResources)
WMSDataParameters
setOnlineResources
in interface WMSDataParameters
public String getOnlineResource(String operation)
WMSDataParameters
getOnlineResource
in interface WMSDataParameters
public Map<String,String> getOnlineResource()
WMSDataParameters
getOnlineResource
in interface WMSDataParameters
public void setFixedSize(Dimension sz)
setFixedSize
in interface WMSDataParameters
Dimension
- szpublic boolean isSizeFixed()
isSizeFixed
in interface RemoteStoreParameters
public Dimension getFixedSize()
getFixedSize
in interface WMSDataParameters
public void setExtent(Rectangle2D bBox)
setExtent
in interface WMSDataParameters
bBox
- public void setWidth(int w)
RemoteStoreParameters
setWidth
in interface RemoteStoreParameters
public void setHeight(int h)
RemoteStoreParameters
setHeight
in interface RemoteStoreParameters
public Rectangle2D getExtent()
getExtent
in interface WMSDataParameters
public int getWidth()
getWidth
in interface WMSDataParameters
public int getHeight()
getHeight
in interface WMSDataParameters
public String getDataStoreName()
DataStoreParameters
getDataStoreName
in interface DataStoreParameters
public String getDescription()
DataStoreParameters
getDescription
in interface DataStoreParameters
public String getExplorerName()
public boolean isValid()
DataStoreParameters
isValid
in interface RasterDataParameters
isValid
in interface DataStoreParameters
isValid
in class AbstractRasterDataParameters
protected DelegatedDynObject getDelegatedDynObject()
AbstractDataParameters
DynObject
to delegate to.getDelegatedDynObject
in class AbstractDataParameters
DynObject
public void deleteCache(boolean deleteCache)
RemoteStoreParameters
deleteCache
in interface RemoteStoreParameters
public boolean isDeletingCache()
RemoteStoreParameters
isDeletingCache
in interface RemoteStoreParameters
public WMSDataParameters clone()
RemoteStoreParameters
clone
in interface RemoteStoreParameters
clone
in class Object
public void assignFields(RasterDataParameters par, RasterDataServerExplorer explorer)
RasterDataParameters
assignFields
in interface RasterDataParameters
assignFields
in class AbstractRasterDataParameters
public boolean isXyAxisOrder()
WMSDataParameters
Gets the behaviour of the parser with regards the axis order
Returns true
if the WMS parser should assume that the
order of the coordinates follows the XY axis order
(the first coordinate corresponds to the horizontal X
axis, while the second coordinate corresponds to the
vertical Y axis), regardless the protocol version and CRS in use.
Returns false
if the WMS parser should decide the
axis order based on the protocol version and the coordinate
reference system (CRS) in use. In particular, if protocol
version is >= 1.3.0, then the WMS parser assumes
the axis order defined in the official EPSG registry for the
CRS in use. For versions < 1.3.0, the XY axis order is assumed.
The default value is false
isXyAxisOrder
in interface WMSDataParameters
WMSDataParameters.setXyAxisOrder(boolean)
public void setXyAxisOrder(boolean assumeXY)
WMSDataParameters
Sets the behaviour of the parser with regards the axis order.
If set to true
, then the XY axis order
is assumed for all the WMS
protocol versions and coordinate reference systems.
If set to false
then the WMS parser will decide the axis order based on
the protocol version and the coordinate reference system (CRS)
in use. In particular, if protocol
version is >= 1.3.0, then the WMS parser assumes
the axis order defined in the official EPSG registry for the
CRS in use. For versions < 1.3.0, the XY axis order is assumed.
setXyAxisOrder
in interface WMSDataParameters
WMSDataParameters.isXyAxisOrder()