org.deegree.protocol.wms.raster.jaxb
Class WMSDataSourceType

java.lang.Object
  extended by org.deegree.protocol.wms.raster.jaxb.WMSDataSourceType
Direct Known Subclasses:
MultiResolutionRasterConfig.Resolution, WMSDataSource

public class WMSDataSourceType
extends Object

A WMS datasource defines the access to a 'remote' WMS. For this purpose, it holds information about the request type (GetMap, GetFeatureInfo) and the layers.

Java class for WMSDataSourceType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="WMSDataSourceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="CapabilitiesDocumentLocation">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="location" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="refreshTime" type="{http://www.w3.org/2001/XMLSchema}int" default="-1" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="RequestedLayers" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="MaxScale" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="RequestedFormat" minOccurs="0">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>string">
                 <attribute name="transparent" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
         <element name="RequestTimeout" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="MaxMapDimensions" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}integer" />
                 <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}integer" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="RestrictedRequestParameter" type="{http://www.deegree.org/datasource/coverage/wms}RestrictedRequestParameterType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="defaultSRS" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class WMSDataSourceType.CapabilitiesDocumentLocation
          Java class for anonymous complex type.
static class WMSDataSourceType.MaxMapDimensions
          Java class for anonymous complex type.
static class WMSDataSourceType.RequestedFormat
          Java class for anonymous complex type.
 
Field Summary
protected  WMSDataSourceType.CapabilitiesDocumentLocation capabilitiesDocumentLocation
           
protected  String defaultSRS
           
protected  WMSDataSourceType.MaxMapDimensions maxMapDimensions
           
protected  Double maxScale
           
protected  WMSDataSourceType.RequestedFormat requestedFormat
           
protected  String requestedLayers
           
protected  BigInteger requestTimeout
           
protected  List<RestrictedRequestParameterType> restrictedRequestParameter
           
 
Constructor Summary
WMSDataSourceType()
           
 
Method Summary
 WMSDataSourceType.CapabilitiesDocumentLocation getCapabilitiesDocumentLocation()
          Gets the value of the capabilitiesDocumentLocation property.
 String getDefaultSRS()
          Gets the value of the defaultSRS property.
 WMSDataSourceType.MaxMapDimensions getMaxMapDimensions()
          Gets the value of the maxMapDimensions property.
 Double getMaxScale()
          Gets the value of the maxScale property.
 WMSDataSourceType.RequestedFormat getRequestedFormat()
          Gets the value of the requestedFormat property.
 String getRequestedLayers()
          Gets the value of the requestedLayers property.
 BigInteger getRequestTimeout()
          Gets the value of the requestTimeout property.
 List<RestrictedRequestParameterType> getRestrictedRequestParameter()
          Gets the value of the restrictedRequestParameter property.
 void setCapabilitiesDocumentLocation(WMSDataSourceType.CapabilitiesDocumentLocation value)
          Sets the value of the capabilitiesDocumentLocation property.
 void setDefaultSRS(String value)
          Sets the value of the defaultSRS property.
 void setMaxMapDimensions(WMSDataSourceType.MaxMapDimensions value)
          Sets the value of the maxMapDimensions property.
 void setMaxScale(Double value)
          Sets the value of the maxScale property.
 void setRequestedFormat(WMSDataSourceType.RequestedFormat value)
          Sets the value of the requestedFormat property.
 void setRequestedLayers(String value)
          Sets the value of the requestedLayers property.
 void setRequestTimeout(BigInteger value)
          Sets the value of the requestTimeout property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

capabilitiesDocumentLocation

protected WMSDataSourceType.CapabilitiesDocumentLocation capabilitiesDocumentLocation

requestedLayers

protected String requestedLayers

maxScale

protected Double maxScale

requestedFormat

protected WMSDataSourceType.RequestedFormat requestedFormat

requestTimeout

protected BigInteger requestTimeout

maxMapDimensions

protected WMSDataSourceType.MaxMapDimensions maxMapDimensions

restrictedRequestParameter

protected List<RestrictedRequestParameterType> restrictedRequestParameter

defaultSRS

protected String defaultSRS
Constructor Detail

WMSDataSourceType

public WMSDataSourceType()
Method Detail

getCapabilitiesDocumentLocation

public WMSDataSourceType.CapabilitiesDocumentLocation getCapabilitiesDocumentLocation()
Gets the value of the capabilitiesDocumentLocation property.

Returns:
possible object is WMSDataSourceType.CapabilitiesDocumentLocation

setCapabilitiesDocumentLocation

public void setCapabilitiesDocumentLocation(WMSDataSourceType.CapabilitiesDocumentLocation value)
Sets the value of the capabilitiesDocumentLocation property.

Parameters:
value - allowed object is WMSDataSourceType.CapabilitiesDocumentLocation

getRequestedLayers

public String getRequestedLayers()
Gets the value of the requestedLayers property.

Returns:
possible object is String

setRequestedLayers

public void setRequestedLayers(String value)
Sets the value of the requestedLayers property.

Parameters:
value - allowed object is String

getMaxScale

public Double getMaxScale()
Gets the value of the maxScale property.

Returns:
possible object is Double

setMaxScale

public void setMaxScale(Double value)
Sets the value of the maxScale property.

Parameters:
value - allowed object is Double

getRequestedFormat

public WMSDataSourceType.RequestedFormat getRequestedFormat()
Gets the value of the requestedFormat property.

Returns:
possible object is WMSDataSourceType.RequestedFormat

setRequestedFormat

public void setRequestedFormat(WMSDataSourceType.RequestedFormat value)
Sets the value of the requestedFormat property.

Parameters:
value - allowed object is WMSDataSourceType.RequestedFormat

getRequestTimeout

public BigInteger getRequestTimeout()
Gets the value of the requestTimeout property.

Returns:
possible object is BigInteger

setRequestTimeout

public void setRequestTimeout(BigInteger value)
Sets the value of the requestTimeout property.

Parameters:
value - allowed object is BigInteger

getMaxMapDimensions

public WMSDataSourceType.MaxMapDimensions getMaxMapDimensions()
Gets the value of the maxMapDimensions property.

Returns:
possible object is WMSDataSourceType.MaxMapDimensions

setMaxMapDimensions

public void setMaxMapDimensions(WMSDataSourceType.MaxMapDimensions value)
Sets the value of the maxMapDimensions property.

Parameters:
value - allowed object is WMSDataSourceType.MaxMapDimensions

getRestrictedRequestParameter

public List<RestrictedRequestParameterType> getRestrictedRequestParameter()
Gets the value of the restrictedRequestParameter property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the restrictedRequestParameter property.

For example, to add a new item, do as follows:

    getRestrictedRequestParameter().add(newItem);
 

Objects of the following type(s) are allowed in the list RestrictedRequestParameterType


getDefaultSRS

public String getDefaultSRS()
Gets the value of the defaultSRS property.

Returns:
possible object is String

setDefaultSRS

public void setDefaultSRS(String value)
Sets the value of the defaultSRS property.

Parameters:
value - allowed object is String


Copyright © 2011. All Rights Reserved.