public class WMSDataParametersImpl extends AbstractRasterDataParameters implements WMSDataParameters
| Modifier and Type | Field and Description |
|---|---|
protected static DynClass |
DYNCLASS |
static java.lang.String |
DYNFIELDNAME_AUTHENTICATION_CONFIG |
static java.lang.String |
FIELD_LAYERQUERY |
PERSISTENT_DESCRIPTION, PERSISTENT_NAMECRS_PARAMTER_NAMEDONT_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() |
java.lang.String |
getDataStoreName()
Returns the DataStore's name
|
protected DelegatedDynObject |
getDelegatedDynObject()
Returns an instance of the
DynObject to delegate to. |
java.lang.String |
getDescription()
Returns the DataStore's description
|
java.util.Vector<java.lang.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
|
java.lang.String |
getExplorerName() |
java.awt.geom.Rectangle2D |
getExtent()
Gets the bounding box
|
java.awt.Dimension |
getFixedSize()
Gets the value of the fixed size
|
java.lang.String |
getFormat()
Gets the format
|
int |
getHeight()
Gets the height
|
java.lang.String |
getInfoFormat()
Gets the info by point format
|
java.lang.String |
getInfoLayerQuery() |
java.lang.String |
getLayerQuery() |
java.lang.String |
getName() |
java.util.Map<java.lang.String,java.lang.String> |
getOnlineResource()
Gets the online resource map
|
java.lang.String |
getOnlineResource(java.lang.String operation)
Gets the URL that should be accessed for an operation performed
to the server.
|
java.lang.String |
getSRSCode()
Devuelve el SRS.
|
java.util.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. |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
static DynStruct |
registerDynClass() |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setCancellable(ICancellable cancel) |
void |
setDimensions(java.util.Vector<java.lang.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(java.awt.geom.Rectangle2D bBox)
Assigns the extent.
|
void |
setFixedSize(java.awt.Dimension sz)
When a server is not fully featured and it only can serve constant map
sizes this value must be set.
|
void |
setFormat(java.lang.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(java.lang.String format)
Sets the info by point format
|
void |
setInfoLayerQuery(java.lang.String infoLayerQuery) |
void |
setLayerQuery(java.lang.String layerQuery) |
void |
setName(java.lang.String name) |
void |
setOnlineResources(java.util.Map<java.lang.String,java.lang.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(java.lang.String m_srs)
Inserta el SRS.
|
void |
setSRSID(java.lang.String srsid) |
void |
setStyles(java.util.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, setVisiblegetSourceId, isTheSameStoreclear, copyValuesTo, delegate, equals, fromByteArray, fromJson, getCause, getCopy, getDynClass, getDynValue, getMessage, getProviderName, hasDynValue, hashCode, implement, invokeDynMethod, invokeDynMethod, isValid, loadPRJ, loadWLD, setDynValue, toByteArray, toJson, toJsonBuilder, toString, toString, validatefinalize, getClass, notify, notifyAll, wait, wait, waitgetSRS, getURI, setURIgetAlphaBand, getFrame, setAlphaBand, setFramegetProviderName, getSourceId, isTheSameStoreclear, getCopy, toByteArray, toString, validateclone, delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValuetoJson, toJson, toJsonBuilder, toJsonBuilderfromJsonpublic static final java.lang.String FIELD_LAYERQUERY
public static final java.lang.String DYNFIELDNAME_AUTHENTICATION_CONFIG
protected static DynClass DYNCLASS
protected void initialize()
public static DynStruct registerDynClass()
public java.lang.String getFormat()
getFormat in interface WMSDataParameterspublic void setFormat(java.lang.String format)
setFormat in interface WMSDataParametersformat - public java.lang.String getInfoFormat()
getInfoFormat in interface WMSDataParameterspublic void setInfoFormat(java.lang.String format)
setInfoFormat in interface WMSDataParameterspublic java.lang.String getLayerQuery()
getLayerQuery in interface WMSDataParameterspublic void setLayerQuery(java.lang.String layerQuery)
setLayerQuery in interface WMSDataParameterspublic java.lang.String getSRSCode()
getSRSCode in interface WMSDataParameterspublic void setSRS(java.lang.String m_srs)
setSRS in interface WMSDataParametersm_srs - SRS.public void setSRSID(java.lang.String srsid)
setSRSID in interface RasterDataParameterssetSRSID in class AbstractRasterDataParameterspublic java.lang.String getName()
getName in interface WMSDataParameterspublic void setName(java.lang.String name)
setName in interface WMSDataParameterspublic boolean isWmsTransparent()
isWmsTransparent in interface WMSDataParameterspublic void setWmsTransparency(boolean wmsTransparency)
setWmsTransparency in interface WMSDataParameterswmsTransparency - The wmsTransparency to set.public java.lang.String getInfoLayerQuery()
getInfoLayerQuery in interface WMSDataParameterspublic void setInfoLayerQuery(java.lang.String infoLayerQuery)
setInfoLayerQuery in interface WMSDataParameterspublic void setQueryable(boolean b)
setQueryable in interface WMSDataParametersb - public void setCancellable(ICancellable cancel)
setCancellable in interface WMSDataParameterspublic ICancellable getCancellable()
getCancellable in interface WMSDataParameterspublic boolean isQueryable()
WMSDataParametersisQueryable in interface WMSDataParameterspublic boolean isOverridingHost()
isOverridingHost in interface RasterDataParameterspublic void setOverrideHost(boolean over)
setOverrideHost in interface RasterDataParameterssetOverrideHost in interface WMSDataParameterspublic void setStyles(java.util.List<RemoteWMSStyle> styles)
setStyles in interface WMSDataParameterspublic java.util.List<RemoteWMSStyle> getStyles()
getStyles in interface WMSDataParametersstyles - public void setDimensions(java.util.Vector<java.lang.String> dimensions)
WMSDataParameterssetDimensions in interface WMSDataParameterspublic java.util.Vector<java.lang.String> getDimensions()
getDimensions in interface WMSDataParameterspublic void setOnlineResources(java.util.Map<java.lang.String,java.lang.String> onlineResources)
WMSDataParameterssetOnlineResources in interface WMSDataParameterspublic java.lang.String getOnlineResource(java.lang.String operation)
WMSDataParametersgetOnlineResource in interface WMSDataParameterspublic java.util.Map<java.lang.String,java.lang.String> getOnlineResource()
WMSDataParametersgetOnlineResource in interface WMSDataParameterspublic void setFixedSize(java.awt.Dimension sz)
setFixedSize in interface WMSDataParametersDimension - szpublic boolean isSizeFixed()
isSizeFixed in interface RemoteStoreParameterspublic java.awt.Dimension getFixedSize()
getFixedSize in interface WMSDataParameterspublic void setExtent(java.awt.geom.Rectangle2D bBox)
setExtent in interface WMSDataParametersbBox - public void setWidth(int w)
RemoteStoreParameterssetWidth in interface RemoteStoreParameterspublic void setHeight(int h)
RemoteStoreParameterssetHeight in interface RemoteStoreParameterspublic java.awt.geom.Rectangle2D getExtent()
getExtent in interface WMSDataParameterspublic int getWidth()
getWidth in interface WMSDataParameterspublic int getHeight()
getHeight in interface WMSDataParameterspublic java.lang.String getDataStoreName()
DataStoreParametersgetDataStoreName in interface DataStoreParametersgetDataStoreName in class AbstractDataParameterspublic java.lang.String getDescription()
DataStoreParametersgetDescription in interface DataStoreParametersgetDescription in class AbstractDataParameterspublic java.lang.String getExplorerName()
public boolean isValid()
DataStoreParametersisValid in interface RasterDataParametersisValid in interface DataStoreParametersisValid in class AbstractRasterDataParametersprotected DelegatedDynObject getDelegatedDynObject()
AbstractDataParametersDynObject to delegate to.getDelegatedDynObject in class AbstractDataParametersDynObjectpublic void deleteCache(boolean deleteCache)
RemoteStoreParametersdeleteCache in interface RemoteStoreParameterspublic boolean isDeletingCache()
RemoteStoreParametersisDeletingCache in interface RemoteStoreParameterspublic WMSDataParameters clone()
RemoteStoreParametersclone in interface RemoteStoreParametersclone in class java.lang.Objectpublic void assignFields(RasterDataParameters par, RasterDataServerExplorer explorer)
RasterDataParametersassignFields in interface RasterDataParametersassignFields in class AbstractRasterDataParameterspublic boolean isXyAxisOrder()
WMSDataParametersGets 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 WMSDataParametersWMSDataParameters.setXyAxisOrder(boolean)public void setXyAxisOrder(boolean assumeXY)
WMSDataParametersSets 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 WMSDataParametersWMSDataParameters.isXyAxisOrder()public void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentsaveToState in class AbstractDataParametersPersistenceExceptionpublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentloadFromState in class AbstractDataParametersPersistenceException