source: TI12-security/trunk/documentation/epydoc/ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def-class.html @ 4245

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/documentation/epydoc/ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def-class.html@4245
Revision 4245, 18.6 KB checked in by pjkersha, 11 years ago (diff)

Working unit tests for WSGI based Attribute Authority.

  • Altered so that all Attribute Config is picked up from the Paste ini file. Separate cfg or xml based config file is still supported.

TODO:

  • Simplify unit test config for client.
Line 
1<?xml version="1.0" encoding="ascii"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3          "DTD/xhtml1-transitional.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5<head>
6  <title>ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def</title>
7  <link rel="stylesheet" href="epydoc.css" type="text/css" />
8  <script type="text/javascript" src="epydoc.js"></script>
9</head>
10
11<body bgcolor="white" text="black" link="blue" vlink="#204080"
12      alink="#204080">
13<!-- ==================== NAVIGATION BAR ==================== -->
14<table class="navbar" border="0" width="100%" cellpadding="0"
15       bgcolor="#a0c0ff" cellspacing="0">
16  <tr valign="middle">
17  <!-- Home link -->
18      <th>&nbsp;&nbsp;&nbsp;<a
19        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21  <!-- Tree link -->
22      <th>&nbsp;&nbsp;&nbsp;<a
23        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25  <!-- Index link -->
26      <th>&nbsp;&nbsp;&nbsp;<a
27        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29  <!-- Help link -->
30      <th>&nbsp;&nbsp;&nbsp;<a
31        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
33  <!-- Project homepage -->
34      <th class="navbar" align="right" width="100%">
35        <table border="0" cellpadding="0" cellspacing="0">
36          <tr><th class="navbar" align="center"
37            >NDG Security</th>
38          </tr></table></th>
39  </tr>
40</table>
41<table width="100%" cellpadding="0" cellspacing="0">
42  <tr valign="top">
43    <td width="100%">
44      <span class="breadcrumbs">
45        <a href="ndg-module.html">Package&nbsp;ndg</a> ::
46        <a href="ndg.security-module.html">Package&nbsp;security</a> ::
47        <a href="ndg.security.common-module.html">Package&nbsp;common</a> ::
48        <a href="ndg.security.common.AttAuthority-module.html">Package&nbsp;AttAuthority</a> ::
49        <a href="ndg.security.common.AttAuthority.AttAuthority_services_types-module.html">Module&nbsp;AttAuthority_services_types</a> ::
50        <a href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0-class.html">Class&nbsp;ns0</a> ::
51        Class&nbsp;HostInfo_Def
52      </span>
53    </td>
54    <td>
55      <table cellpadding="0" cellspacing="0">
56        <!-- hide/show private -->
57        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
58    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
59      </table>
60    </td>
61  </tr>
62</table>
63<!-- ==================== CLASS DESCRIPTION ==================== -->
64<h1 class="epydoc">Class HostInfo_Def</h1><p class="nomargin-top"><span class="codelink"><a href="ndg.security.common.AttAuthority.AttAuthority_services_types-pysrc.html#ns0.HostInfo_Def">source&nbsp;code</a></span></p>
65<center>
66<center>  <map id="uml_class_diagram_for_ndg_secu_22" name="uml_class_diagram_for_ndg_secu_22">
67<area shape="rect" href="javascript:void(0);" title="ZSI.TCcompound.ComplexType.logger" alt="" coords="257,414,660,433"/>
68<area shape="rect" href="javascript:void(0);" title="Parameters: &#160;&#160;&#160;&#160;elt &#45;&#45; the DOM element being parsed &#160;&#160;&#160;&#160;ps &#45;&#45; the ParsedSoap object." alt="" coords="257,436,660,454"/>
69<area shape="rect" href="javascript:void(0);" title="Parameters:..." alt="" coords="257,454,660,473"/>
70<area shape="rect" href="javascript:void(0);" title="ZSI.TCcompound.ComplexType.cb" alt="" coords="257,473,660,492"/>
71<area shape="rect" href="javascript:void(0);" title="For derived types set appropriate parameter and" alt="" coords="257,492,660,510"/>
72<area shape="rect" href="javascript:void(0);" title="Represents an element of complexType, potentially containing other elements." alt="" coords="256,397,661,512"/>
73<area shape="rect" href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def&#45;class.html#schema" title="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def.schema" alt="" coords="32,558,536,577"/>
74<area shape="rect" href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def&#45;class.html#type" title="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def.type" alt="" coords="32,577,536,596"/>
75<area shape="rect" href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def&#45;class.html#__init__" title="pyclass &#45;&#45; the Python class to hold the fields ofwhat &#45;&#45; a list of fields &#160;to be in the complexType inorder &#45;&#45; fields must be in exact order or not &#160;inline &#45;&#45; don&#39;t href/id when serializing mutable &#45;&#45; object could change &#160;between multiple serializations type &#45;&#45; the (URI,localname) of the datatype mixed &#45;&#45; mixed content model? True/False mixed_aname &#45;&#45; if mixed is True, &#160;specify text content here." alt="" coords="32,598,536,617"/>
76<area shape="rect" href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def&#45;class.html" title="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def" alt="" coords="31,541,537,618"/>
77<area shape="rect" href="javascript:void(0);" title="ZSI.TC.TypeCode.attribute_typecode_dict" alt="" coords="351,28,567,46"/>
78<area shape="rect" href="javascript:void(0);" title="ZSI.TC.TypeCode.tag" alt="" coords="351,46,567,65"/>
79<area shape="rect" href="javascript:void(0);" title="ZSI.TC.TypeCode.typechecks" alt="" coords="351,65,567,84"/>
80<area shape="rect" href="javascript:void(0);" title="Simple HREF for non&#45;string and non&#45;struct and non&#45;array." alt="" coords="351,86,567,105"/>
81<area shape="rect" href="javascript:void(0);" title="See if the name and type of the &quot;elt&quot; element is what we&#39;re looking for." alt="" coords="351,105,567,124"/>
82<area shape="rect" href="javascript:void(0);" title="See if the type of the &quot;elt&quot; element is what we&#39;re looking for." alt="" coords="351,124,567,142"/>
83<area shape="rect" href="javascript:void(0);" title="Paramters:..." alt="" coords="351,142,567,161"/>
84<area shape="rect" href="javascript:void(0);" title="Get the parselist and human&#45;readable version, errorlist is returned, &#160;because it is used in error messages." alt="" coords="351,161,567,180"/>
85<area shape="rect" href="javascript:void(0);" title="Return True if Attributes are declared outside the scope of SOAP (&#39;root&#39;, &#160;&#39;id&#39;, &#39;href&#39;), and some attributes automatically handled (xmlns, xsi:type)." alt="" coords="351,180,567,198"/>
86<area shape="rect" href="javascript:void(0);" title="Simple boolean test to see if we match the element name." alt="" coords="351,198,567,217"/>
87<area shape="rect" href="javascript:void(0);" title="Is the element NIL, and is that okay? Parameters: &#160;&#160;&#160;&#160;elt &#45;&#45; the DOM element being parsed &#160;&#160;&#160;&#160;ps &#45;&#45; the ParsedSoap object." alt="" coords="351,217,567,236"/>
88<area shape="rect" href="javascript:void(0);" title="find all attributes specified in the attribute_typecode_dict in current element tag, if an attribute is found set it in the &#160;self.attributes dictionary." alt="" coords="351,236,567,254"/>
89<area shape="rect" href="javascript:void(0);" title="Parameters:..." alt="" coords="351,254,567,273"/>
90<area shape="rect" href="javascript:void(0);" title="set href attribute..." alt="" coords="351,273,567,292"/>
91<area shape="rect" href="javascript:void(0);" title="set id attribute..." alt="" coords="351,292,567,310"/>
92<area shape="rect" href="javascript:void(0);" title="if typed, set the xsi:type attribute ..." alt="" coords="351,310,567,329"/>
93<area shape="rect" href="javascript:void(0);" title="convert text into typecode specific data." alt="" coords="351,348,567,366"/>
94<area shape="rect" href="javascript:void(0);" title="The parent class for all parseable SOAP types." alt="" coords="349,10,568,368"/>
95<area shape="rect" href="ZSI.schema.SchemaInstanceType&#45;class.html" title="Register all types/elements, when hit already defined &#160;class dont create a new one just give back reference." alt="" coords="17,442,204,461"/>
96<area shape="rect" href="javascript:void(0);" title="if xsi:type does not match the instance type attr, check to see if it is a derived type substitution." alt="" coords="17,464,204,482"/>
97<area shape="rect" href="javascript:void(0);" title="Typecodes subclass to represent a Global Type Definition by setting class variable type." alt="" coords="16,425,205,484"/>
98</map>
99  <img src="uml_class_diagram_for_ndg_secu_22.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_22" ismap="ismap" class="graph-without-title" />
100</center>
101</center>
102<hr />
103<!-- ==================== NESTED CLASSES ==================== -->
104<a name="section-NestedClasses"></a>
105<table class="summary" border="1" cellpadding="3"
106       cellspacing="0" width="100%" bgcolor="white">
107<tr bgcolor="#70b0f0" class="table-header">
108  <td colspan="2" class="table-header">
109    <table border="0" cellpadding="0" cellspacing="0" width="100%">
110      <tr valign="top">
111        <td align="left"><span class="table-header">Nested Classes</span></td>
112        <td align="right" valign="top"
113         ><span class="options">[<a href="#section-NestedClasses"
114         class="privatelink" onclick="toggle_private();"
115         >hide private</a>]</span></td>
116      </tr>
117    </table>
118  </td>
119</tr>
120  <tr>
121    <td colspan="2" class="summary">
122    <p class="indent-wrapped-lines"><b>Inherited from <code>ZSI.schema.TypeDefinition</code></b>:
123      <code><a href="ZSI.schema.SchemaInstanceType-class.html">__metaclass__</a></code>
124      </p>
125    </td>
126  </tr>
127</table>
128<!-- ==================== INSTANCE METHODS ==================== -->
129<a name="section-InstanceMethods"></a>
130<table class="summary" border="1" cellpadding="3"
131       cellspacing="0" width="100%" bgcolor="white">
132<tr bgcolor="#70b0f0" class="table-header">
133  <td colspan="2" class="table-header">
134    <table border="0" cellpadding="0" cellspacing="0" width="100%">
135      <tr valign="top">
136        <td align="left"><span class="table-header">Instance Methods</span></td>
137        <td align="right" valign="top"
138         ><span class="options">[<a href="#section-InstanceMethods"
139         class="privatelink" onclick="toggle_private();"
140         >hide private</a>]</span></td>
141      </tr>
142    </table>
143  </td>
144</tr>
145<tr>
146    <td width="15%" align="right" valign="top" class="summary">
147      <span class="summary-type">&nbsp;</span>
148    </td><td class="summary">
149      <table width="100%" cellpadding="0" cellspacing="0" border="0">
150        <tr>
151          <td><span class="summary-sig"><a href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
152        <span class="summary-sig-arg">pname</span>,
153        <span class="summary-sig-arg">ofwhat</span>=<span class="summary-sig-default">()</span>,
154        <span class="summary-sig-arg">attributes</span>=<span class="summary-sig-default">None</span>,
155        <span class="summary-sig-arg">extend</span>=<span class="summary-sig-default">False</span>,
156        <span class="summary-sig-arg">restrict</span>=<span class="summary-sig-default">False</span>,
157        <span class="summary-sig-arg">**kw</span>)</span><br />
158      pyclass -- the Python class to hold the fields ofwhat -- a list of
159      fields to be in the complexType inorder -- fields must be in exact
160      order or not inline -- don't href/id when serializing mutable --
161      object could change between multiple serializations type -- the
162      (URI,localname) of the datatype mixed -- mixed content model?
163      True/False mixed_aname -- if mixed is True, specify text content
164      here.</td>
165          <td align="right" valign="top">
166            <span class="codelink"><a href="ndg.security.common.AttAuthority.AttAuthority_services_types-pysrc.html#ns0.HostInfo_Def.__init__">source&nbsp;code</a></span>
167           
168          </td>
169        </tr>
170      </table>
171     
172    </td>
173  </tr>
174  <tr>
175    <td colspan="2" class="summary">
176    <p class="indent-wrapped-lines"><b>Inherited from <code>ZSI.TCcompound.ComplexType</code></b>:
177      <code>cb</code>,
178      <code>parse</code>,
179      <code>serialize</code>,
180      <code>setDerivedTypeContents</code>
181      </p>
182    <p class="indent-wrapped-lines"><b>Inherited from <code>ZSI.TC.TypeCode</code></b>:
183      <code>SimpleHREF</code>,
184      <code>checkname</code>,
185      <code>checktype</code>,
186      <code>get_name</code>,
187      <code>get_parse_and_errorlist</code>,
188      <code>has_attributes</code>,
189      <code>name_match</code>,
190      <code>nilled</code>,
191      <code>parse_attributes</code>,
192      <code>serialize_as_nil</code>,
193      <code>set_attribute_href</code>,
194      <code>set_attribute_id</code>,
195      <code>set_attribute_xsi_type</code>,
196      <code>set_attributes</code>,
197      <code>simple_value</code>,
198      <code>text_to_data</code>
199      </p>
200    <p class="indent-wrapped-lines"><b>Inherited from <code>ZSI.schema.TypeDefinition</code></b>:
201      <code>getSubstituteType</code>
202      </p>
203    </td>
204  </tr>
205</table>
206<!-- ==================== CLASS VARIABLES ==================== -->
207<a name="section-ClassVariables"></a>
208<table class="summary" border="1" cellpadding="3"
209       cellspacing="0" width="100%" bgcolor="white">
210<tr bgcolor="#70b0f0" class="table-header">
211  <td colspan="2" class="table-header">
212    <table border="0" cellpadding="0" cellspacing="0" width="100%">
213      <tr valign="top">
214        <td align="left"><span class="table-header">Class Variables</span></td>
215        <td align="right" valign="top"
216         ><span class="options">[<a href="#section-ClassVariables"
217         class="privatelink" onclick="toggle_private();"
218         >hide private</a>]</span></td>
219      </tr>
220    </table>
221  </td>
222</tr>
223<tr>
224    <td width="15%" align="right" valign="top" class="summary">
225      <span class="summary-type">&nbsp;</span>
226    </td><td class="summary">
227        <a name="schema"></a><span class="summary-name">schema</span> = <code title="&quot;urn:ndg:security:attAuthority&quot;">&quot;urn:ndg:security:attAuthority&quot;</code>
228    </td>
229  </tr>
230<tr>
231    <td width="15%" align="right" valign="top" class="summary">
232      <span class="summary-type">&nbsp;</span>
233    </td><td class="summary">
234        <a name="type"></a><span class="summary-name">type</span> = <code title="schema, &quot;HostInfo&quot;">schema, &quot;HostInfo&quot;</code>
235    </td>
236  </tr>
237  <tr>
238    <td colspan="2" class="summary">
239    <p class="indent-wrapped-lines"><b>Inherited from <code>ZSI.TCcompound.ComplexType</code></b>:
240      <code>logger</code>
241      </p>
242    <p class="indent-wrapped-lines"><b>Inherited from <code>ZSI.TC.TypeCode</code></b>:
243      <code>attribute_typecode_dict</code>,
244      <code>tag</code>,
245      <code>typechecks</code>
246      </p>
247    </td>
248  </tr>
249</table>
250<!-- ==================== METHOD DETAILS ==================== -->
251<a name="section-MethodDetails"></a>
252<table class="details" border="1" cellpadding="3"
253       cellspacing="0" width="100%" bgcolor="white">
254<tr bgcolor="#70b0f0" class="table-header">
255  <td colspan="2" class="table-header">
256    <table border="0" cellpadding="0" cellspacing="0" width="100%">
257      <tr valign="top">
258        <td align="left"><span class="table-header">Method Details</span></td>
259        <td align="right" valign="top"
260         ><span class="options">[<a href="#section-MethodDetails"
261         class="privatelink" onclick="toggle_private();"
262         >hide private</a>]</span></td>
263      </tr>
264    </table>
265  </td>
266</tr>
267</table>
268<a name="__init__"></a>
269<div>
270<table class="details" border="1" cellpadding="3"
271       cellspacing="0" width="100%" bgcolor="white">
272<tr><td>
273  <table width="100%" cellpadding="0" cellspacing="0" border="0">
274  <tr valign="top"><td>
275  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
276        <span class="sig-arg">pname</span>,
277        <span class="sig-arg">ofwhat</span>=<span class="sig-default">()</span>,
278        <span class="sig-arg">attributes</span>=<span class="sig-default">None</span>,
279        <span class="sig-arg">extend</span>=<span class="sig-default">False</span>,
280        <span class="sig-arg">restrict</span>=<span class="sig-default">False</span>,
281        <span class="sig-arg">**kw</span>)</span>
282    <br /><em class="fname">(Constructor)</em>
283  </h3>
284  </td><td align="right" valign="top"
285    ><span class="codelink"><a href="ndg.security.common.AttAuthority.AttAuthority_services_types-pysrc.html#ns0.HostInfo_Def.__init__">source&nbsp;code</a></span>&nbsp;
286    </td>
287  </tr></table>
288 
289  <p>pyclass -- the Python class to hold the fields ofwhat -- a list of
290  fields to be in the complexType inorder -- fields must be in exact order
291  or not inline -- don't href/id when serializing mutable -- object could
292  change between multiple serializations type -- the (URI,localname) of the
293  datatype mixed -- mixed content model? True/False mixed_aname -- if mixed
294  is True, specify text content here. Default _text</p>
295  <dl class="fields">
296    <dt>Overrides:
297        ZSI.TC.TypeCode.__init__
298        <dd><em class="note">(inherited documentation)</em></dd>
299    </dt>
300  </dl>
301</td></tr></table>
302</div>
303<br />
304<!-- ==================== NAVIGATION BAR ==================== -->
305<table class="navbar" border="0" width="100%" cellpadding="0"
306       bgcolor="#a0c0ff" cellspacing="0">
307  <tr valign="middle">
308  <!-- Home link -->
309      <th>&nbsp;&nbsp;&nbsp;<a
310        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
311
312  <!-- Tree link -->
313      <th>&nbsp;&nbsp;&nbsp;<a
314        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
315
316  <!-- Index link -->
317      <th>&nbsp;&nbsp;&nbsp;<a
318        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
319
320  <!-- Help link -->
321      <th>&nbsp;&nbsp;&nbsp;<a
322        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
323
324  <!-- Project homepage -->
325      <th class="navbar" align="right" width="100%">
326        <table border="0" cellpadding="0" cellspacing="0">
327          <tr><th class="navbar" align="center"
328            >NDG Security</th>
329          </tr></table></th>
330  </tr>
331</table>
332<table border="0" cellpadding="0" cellspacing="0" width="100%%">
333  <tr>
334    <td align="left" class="footer">
335    <a href="epydoc-log.html">Generated by Epydoc
336    3.0.1 on Thu Sep  4 09:37:42 2008</a>
337    </td>
338    <td align="right" class="footer">
339      <a target="mainFrame" href="http://epydoc.sourceforge.net"
340        >http://epydoc.sourceforge.net</a>
341    </td>
342  </tr>
343</table>
344
345<script type="text/javascript">
346  <!--
347  // Private objects are initially displayed (because if
348  // javascript is turned off then we want them to be
349  // visible); but by default, we want to hide them.  So hide
350  // them unless we have a cookie that says to show them.
351  checkCookie();
352  // -->
353</script>
354</body>
355</html>
Note: See TracBrowser for help on using the repository browser.