| |
|
| org.vfny.geoserver.global.Service org.vfny.geoserver.global.WMS
WMS | public class WMS extends Service (Code) | | WMS
Represents the GeoServer information required to configure an instance of
the WMS Server. This class holds the currently used configuration and is
instantiated initially by the GeoServerPlugIn at start-up, but may be
modified by the Configuration Interface during runtime. Such modifications
come from the GeoServer Object in the SessionContext.
WMS wms = new WMS(dto); System.out.println(wms.getName() + wms.WMS_VERSION);
System.out.println(wms.getAbstract());
author: Gabriel Rold???n version: $Id: WMS.java 7731 2007-11-10 02:52:30Z groldan $ |
WEB_CONTAINER_KEY | final public static String WEB_CONTAINER_KEY(Code) | | |
WMS | public WMS(WMSDTO config)(Code) | | WMS constructor.
Stores the data specified in the WMSDTO object in this WMS Object for
GeoServer to use.
Parameters: config - The data intended for GeoServer to use. |
getAllowInterpolation | public String getAllowInterpolation()(Code) | | Flag indicating wether the renderer should interpolate or not. |
getBaseMapEnvelopes | public Map getBaseMapEnvelopes()(Code) | | |
getBaseMapEnvelopes | public void getBaseMapEnvelopes(Map envelopes)(Code) | | |
getBaseMapLayers | public Map getBaseMapLayers()(Code) | | |
getBaseMapStyles | public Map getBaseMapStyles()(Code) | | |
getExceptionFormats | public String[] getExceptionFormats()(Code) | | getExceptionFormats purpose.
Returns a static list of Exception Formats in as Strings
String[] a static list of Exception Formats |
getName | public String getName()(Code) | | overrides getName() to return the fixed service name as specified by OGC
WMS 1.1 spec
static service name. |
getSvgRenderer | public String getSvgRenderer()(Code) | | the id of the SVG renderer being used by the wms. |
getVersion | public static String getVersion()(Code) | | Returns the version of this WMS Instance.
static version name |
getWFS | public WFS getWFS()(Code) | | Quick hack to fix geot-770, need a full class rewrite otherwise and
we are too near release to do that
|
isSvgAntiAlias | public boolean isSvgAntiAlias()(Code) | | Flag indicating wether the svg renderer should anti-alias or not. |
load | public void load(WMSDTO config)(Code) | | load purpose.
loads a new instance of data into this object.
Parameters: config - |
setAllowInterpolation | public void setAllowInterpolation(String allowInterpolation)(Code) | | Sets the Flag indicating wether the renderer should interpolate or not.
|
setBaseMapLayers | public void setBaseMapLayers(Map layers)(Code) | | |
setBaseMapStyles | public void setBaseMapStyles(Map styles)(Code) | | |
setSvgAntiAlias | public void setSvgAntiAlias(boolean svgAntiAlias)(Code) | | Sets the Flag indicating wether the svg renderer should anti-alias or not.
|
setSvgRenderer | public void setSvgRenderer(String svgRenderer)(Code) | | Sets the id of the SVG renderer being used by the wms.
|
supportsRemoteWFS | public boolean supportsRemoteWFS()(Code) | | Informs the user that this WMS supports Remote WFS.
false |
supportsSLD | public boolean supportsSLD()(Code) | | Informs the user that this WMS supports SLD. We don't currently
handle sld, still needs to be rolled in from geotools, so this now
must be false.
//djb: we support it now
false |
supportsUserLayer | public boolean supportsUserLayer()(Code) | | Informs the user that this WMS supports User Layers
false |
supportsUserStyle | public boolean supportsUserStyle()(Code) | | Informs the user that this WMS supports User Styles
false |
toDTO | public Object toDTO()(Code) | | Implement toDTO.
Package method used by GeoServer. This method may return references, and
does not clone, so extreme caution sould be used when traversing the
results.
WMSDTO An instance of the data this class represents. Please seeCaution Above. See Also: org.vfny.geoserver.global.GlobalLayerSupertype.toDTO See Also: WMSDTO |
|
|
|