2009-03-30 07:20:00 +02:00
|
|
|
<?xml version="1.0" encoding="ascii"?>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
|
|
"DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
|
|
<head>
|
|
|
|
<title>mapnik.ogcserver.common.ParameterDefinition</title>
|
|
|
|
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
|
|
|
<script type="text/javascript" src="epydoc.js"></script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
|
|
|
alink="#204080">
|
|
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
|
|
<tr valign="middle">
|
|
|
|
<!-- Home link -->
|
|
|
|
<th> <a
|
|
|
|
href="mapnik-module.html">Home</a> </th>
|
|
|
|
|
|
|
|
<!-- Tree link -->
|
|
|
|
<th> <a
|
|
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
|
|
|
|
<!-- Index link -->
|
|
|
|
<th> <a
|
|
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
|
|
|
|
<!-- Help link -->
|
|
|
|
<th> <a
|
|
|
|
href="help.html">Help</a> </th>
|
|
|
|
|
|
|
|
<!-- Project homepage -->
|
|
|
|
<th class="navbar" align="right" width="100%">
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
|
|
<tr><th class="navbar" align="center"
|
|
|
|
><a class="navbar" target="_top" href="http://mapnik.org">mapnik</a></th>
|
|
|
|
</tr></table></th>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
|
|
<tr valign="top">
|
|
|
|
<td width="100%">
|
|
|
|
<span class="breadcrumbs">
|
|
|
|
<a href="mapnik-module.html">Package mapnik</a> ::
|
|
|
|
<a href="mapnik.ogcserver-module.html">Package ogcserver</a> ::
|
|
|
|
<a href="mapnik.ogcserver.common-module.html">Module common</a> ::
|
|
|
|
Class ParameterDefinition
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<table cellpadding="0" cellspacing="0">
|
|
|
|
<!-- hide/show private -->
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
|
|
|
<h1 class="epydoc">Class ParameterDefinition</h1><p class="nomargin-top"></p>
|
|
|
|
<!-- ==================== INSTANCE METHODS ==================== -->
|
|
|
|
<a name="section-InstanceMethods"></a>
|
|
|
|
<table class="summary" border="1" cellpadding="3"
|
|
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
|
|
<td align="left" colspan="2" class="table-header">
|
|
|
|
<span class="table-header">Instance Methods</span></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td><span class="summary-sig"><a href="mapnik.ogcserver.common.ParameterDefinition-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
|
|
|
|
<span class="summary-sig-arg">mandatory</span>,
|
|
|
|
<span class="summary-sig-arg">cast</span>,
|
|
|
|
<span class="summary-sig-arg">default</span>=<span class="summary-sig-default">None</span>,
|
|
|
|
<span class="summary-sig-arg">allowedvalues</span>=<span class="summary-sig-default">None</span>,
|
|
|
|
<span class="summary-sig-arg">fallback</span>=<span class="summary-sig-default">False</span>)</span><br />
|
|
|
|
An OGC request parameter definition.</td>
|
|
|
|
<td align="right" valign="top">
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<!-- ==================== METHOD DETAILS ==================== -->
|
|
|
|
<a name="section-MethodDetails"></a>
|
|
|
|
<table class="details" border="1" cellpadding="3"
|
|
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
|
|
<td align="left" colspan="2" class="table-header">
|
|
|
|
<span class="table-header">Method Details</span></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<a name="__init__"></a>
|
|
|
|
<div>
|
|
|
|
<table class="details" border="1" cellpadding="3"
|
|
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
|
|
<tr><td>
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
|
|
<tr valign="top"><td>
|
|
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
|
|
|
|
<span class="sig-arg">mandatory</span>,
|
|
|
|
<span class="sig-arg">cast</span>,
|
|
|
|
<span class="sig-arg">default</span>=<span class="sig-default">None</span>,
|
|
|
|
<span class="sig-arg">allowedvalues</span>=<span class="sig-default">None</span>,
|
|
|
|
<span class="sig-arg">fallback</span>=<span class="sig-default">False</span>)</span>
|
|
|
|
<br /><em class="fname">(Constructor)</em>
|
|
|
|
</h3>
|
|
|
|
</td><td align="right" valign="top"
|
|
|
|
>
|
|
|
|
</td>
|
|
|
|
</tr></table>
|
|
|
|
|
|
|
|
<p>An OGC request parameter definition. Used to describe a parameter's
|
|
|
|
characteristics.</p>
|
|
|
|
<dl class="fields">
|
|
|
|
<dt>Parameters:</dt>
|
|
|
|
<dd><ul class="nomargin-top">
|
|
|
|
<li><strong class="pname"><code>mandatory</code></strong> (Boolean.) - Is this parameter required by the request?</li>
|
|
|
|
<li><strong class="pname"><code>default</code></strong> (None or any valid value.) - Default value to use if one is not provided and the parameter is
|
|
|
|
optional.</li>
|
|
|
|
<li><strong class="pname"><code>allowedvalues</code></strong> (A python tuple of values.) - A list of allowed values for the parameter. If a value is
|
|
|
|
provided that is not in this list, an error is raised.</li>
|
|
|
|
<li><strong class="pname"><code>fallback</code></strong> (Boolean.) - Whether the value of the parameter should fall back to the
|
|
|
|
default should an illegal value be provided.</li>
|
|
|
|
</ul></dd>
|
|
|
|
<dt>Returns:</dt>
|
|
|
|
<dd>A <a
|
|
|
|
href="mapnik.ogcserver.common.ParameterDefinition-class.html"
|
|
|
|
class="link">ParameterDefinition</a> instance.</dd>
|
|
|
|
</dl>
|
|
|
|
</td></tr></table>
|
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
|
|
<tr valign="middle">
|
|
|
|
<!-- Home link -->
|
|
|
|
<th> <a
|
|
|
|
href="mapnik-module.html">Home</a> </th>
|
|
|
|
|
|
|
|
<!-- Tree link -->
|
|
|
|
<th> <a
|
|
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
|
|
|
|
<!-- Index link -->
|
|
|
|
<th> <a
|
|
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
|
|
|
|
<!-- Help link -->
|
|
|
|
<th> <a
|
|
|
|
href="help.html">Help</a> </th>
|
|
|
|
|
|
|
|
<!-- Project homepage -->
|
|
|
|
<th class="navbar" align="right" width="100%">
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
|
|
<tr><th class="navbar" align="center"
|
|
|
|
><a class="navbar" target="_top" href="http://mapnik.org">mapnik</a></th>
|
|
|
|
</tr></table></th>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
|
|
|
<tr>
|
|
|
|
<td align="left" class="footer">
|
2009-11-08 18:02:17 +01:00
|
|
|
Generated by Epydoc 3.0.1 on Sun Nov 8 09:00:51 2009
|
2009-03-30 07:20:00 +02:00
|
|
|
</td>
|
|
|
|
<td align="right" class="footer">
|
|
|
|
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
|
|
|
>http://epydoc.sourceforge.net</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
<!--
|
|
|
|
// Private objects are initially displayed (because if
|
|
|
|
// javascript is turned off then we want them to be
|
|
|
|
// visible); but by default, we want to hide them. So hide
|
|
|
|
// them unless we have a cookie that says to show them.
|
|
|
|
checkCookie();
|
|
|
|
// -->
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|