com.moximedia.ows.wms.capabilities
Class Service
java.lang.Object
com.moximedia.ows.wms.capabilities.Service
- All Implemented Interfaces:
- java.io.Serializable
- public class Service
- extends java.lang.Object
- implements java.io.Serializable
Implementation of WMS service. Used when parsing WMS capabilities
responses to save the useful properties about the servioce contained
in the capabilities response.
- Author:
- Doug Cates - www.moximedia.com
- See Also:
- Serialized Form
|
Constructor Summary |
Service(java.lang.String url)
Creates a new instance of Service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SERVICE_TYPE_UNKNOWN
public static int SERVICE_TYPE_UNKNOWN
SERVICE_TYPE_MAPSERVER
public static int SERVICE_TYPE_MAPSERVER
SERVICE_TYPE_CUBEWERX
public static int SERVICE_TYPE_CUBEWERX
SERVICE_TYPE_ARCIMS_ESRIMAP
public static int SERVICE_TYPE_ARCIMS_ESRIMAP
SERVICE_TYPE_ARCIMS_BETA
public static int SERVICE_TYPE_ARCIMS_BETA
SERVICE_TYPE_ARCIMS_WSIT
public static int SERVICE_TYPE_ARCIMS_WSIT
SERVICE_TYPE_CARIS
public static int SERVICE_TYPE_CARIS
SERVICE_TYPE_NASA
public static int SERVICE_TYPE_NASA
serviceType
public int serviceType
description
public java.lang.String description
version
public java.lang.String version
name
public java.lang.String name
title
public java.lang.String title
getMapHref
public java.lang.String getMapHref
getFeatureHref
public java.lang.String getFeatureHref
xml
public java.lang.String xml
layers
public java.util.ArrayList layers
getMapFormats
public java.util.HashSet getMapFormats
getFeatureInfoFormats
public java.util.HashSet getFeatureInfoFormats
exceptionFormats
public java.util.HashSet exceptionFormats
Service
public Service(java.lang.String url)
- Creates a new instance of Service.
- Parameters:
url - The GetCapabilities URL.
addExceptionFormat
public void addExceptionFormat(java.lang.String format)
addGetMapFormat
public void addGetMapFormat(java.lang.String format)
addGetFeatureInfoFormat
public void addGetFeatureInfoFormat(java.lang.String format)
addLayer
public void addLayer(Layer layer)
getServiceType
public int getServiceType()
setXmlAttribute
public void setXmlAttribute(java.lang.String path,
java.lang.String tag,
java.lang.String name,
java.lang.String value)
toString
public java.lang.String toString()
toWMSLayerElements
public java.lang.String toWMSLayerElements()
getBestMapFormat
public java.lang.String getBestMapFormat()
getBestMapExceptionFormat
public java.lang.String getBestMapExceptionFormat()
getBestInfoFormat
public java.lang.String getBestInfoFormat()
getBestInfoExceptionFormat
public java.lang.String getBestInfoExceptionFormat()
getParser
public java.lang.String getParser()
- Gets the name of the class used for parsing GetFeatureInfo
responses from this service, if known, otherwise returns
an empty string.
- Returns:
- The name of the parsing class.
Internet Mapping Framework for OpenGIS Java Object Model API (v1.3.007)
Copyright © 2005 Moxi Media Inc. and Province of British Columbia. All Rights Reserved.