sip 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/Gemfile +2 -0
  2. data/LICENSE +674 -0
  3. data/README.rdoc +32 -0
  4. data/Rakefile +21 -0
  5. data/bin/sip +83 -0
  6. data/bin/transpart +114 -0
  7. data/docs/classes/Sip.html +169 -0
  8. data/docs/classes/Sip/CmdOpts.html +179 -0
  9. data/docs/classes/Sip/Config.html +362 -0
  10. data/docs/classes/Sip/DBBase.html +368 -0
  11. data/docs/classes/Sip/HadoopException.html +111 -0
  12. data/docs/classes/Sip/Hive.html +295 -0
  13. data/docs/classes/Sip/HiveQueryException.html +111 -0
  14. data/docs/classes/Sip/ImportScriptExecutionError.html +111 -0
  15. data/docs/classes/Sip/MySQLSipper.html +273 -0
  16. data/docs/classes/Sip/NoSuchColumn.html +111 -0
  17. data/docs/classes/Sip/NoSuchTable.html +111 -0
  18. data/docs/classes/Sip/PastFailureException.html +111 -0
  19. data/docs/classes/Sip/Sipper.html +454 -0
  20. data/docs/classes/Sip/UnsupportedDatabaseType.html +111 -0
  21. data/docs/classes/Sip/Utils.html +269 -0
  22. data/docs/classes/Struct.html +146 -0
  23. data/docs/created.rid +1 -0
  24. data/docs/files/README_rdoc.html +174 -0
  25. data/docs/files/lib/sip/cmdopts_rb.html +101 -0
  26. data/docs/files/lib/sip/config_rb.html +108 -0
  27. data/docs/files/lib/sip/databases/dbbase_rb.html +108 -0
  28. data/docs/files/lib/sip/databases/mysql_rb.html +108 -0
  29. data/docs/files/lib/sip/exceptions_rb.html +101 -0
  30. data/docs/files/lib/sip/extensions_rb.html +101 -0
  31. data/docs/files/lib/sip/hive_rb.html +101 -0
  32. data/docs/files/lib/sip/sipper_rb.html +101 -0
  33. data/docs/files/lib/sip/utils_rb.html +110 -0
  34. data/docs/files/lib/sip/version_rb.html +101 -0
  35. data/docs/files/lib/sip_rb.html +117 -0
  36. data/docs/fr_class_index.html +42 -0
  37. data/docs/fr_file_index.html +38 -0
  38. data/docs/fr_method_index.html +72 -0
  39. data/docs/index.html +24 -0
  40. data/docs/rdoc-style.css +208 -0
  41. data/lib/sip.rb +10 -0
  42. data/lib/sip/cmdopts.rb +20 -0
  43. data/lib/sip/config.rb +80 -0
  44. data/lib/sip/databases/dbbase.rb +56 -0
  45. data/lib/sip/databases/mysql.rb +52 -0
  46. data/lib/sip/exceptions.rb +9 -0
  47. data/lib/sip/extensions.rb +5 -0
  48. data/lib/sip/hive.rb +62 -0
  49. data/lib/sip/sipper.rb +118 -0
  50. data/lib/sip/templates/export.sh +73 -0
  51. data/lib/sip/utils.rb +58 -0
  52. data/lib/sip/version.rb +3 -0
  53. data/test/database_interaction_test.rb +7 -0
  54. data/test/hive_test.rb +28 -0
  55. data/test/sipper_test.rb +25 -0
  56. metadata +125 -0
@@ -0,0 +1,111 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Sip::ImportScriptExecutionError</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Sip::ImportScriptExecutionError</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/sip/exceptions_rb.html">
59
+ lib/sip/exceptions.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ StandardError
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+
81
+
82
+
83
+ </div>
84
+
85
+
86
+ </div>
87
+
88
+
89
+ <!-- if includes -->
90
+
91
+ <div id="section">
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <!-- if method_list -->
101
+
102
+
103
+ </div>
104
+
105
+
106
+ <div id="validator-badges">
107
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
108
+ </div>
109
+
110
+ </body>
111
+ </html>
@@ -0,0 +1,273 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Sip::MySQLSipper</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Sip::MySQLSipper</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/sip/databases/mysql_rb.html">
59
+ lib/sip/databases/mysql.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ <a href="DBBase.html">
69
+ DBBase
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+
83
+
84
+
85
+ </div>
86
+
87
+ <div id="method-list">
88
+ <h3 class="section-bar">Methods</h3>
89
+
90
+ <div class="name-list">
91
+ <a href="#M000046">close</a>&nbsp;&nbsp;
92
+ <a href="#M000043">cmd_line_execute_string</a>&nbsp;&nbsp;
93
+ <a href="#M000045">convert_to_hive_type</a>&nbsp;&nbsp;
94
+ <a href="#M000042">new</a>&nbsp;&nbsp;
95
+ <a href="#M000044">query</a>&nbsp;&nbsp;
96
+ </div>
97
+ </div>
98
+
99
+ </div>
100
+
101
+
102
+ <!-- if includes -->
103
+
104
+ <div id="section">
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+ <!-- if method_list -->
114
+ <div id="methods">
115
+ <h3 class="section-bar">Public Class methods</h3>
116
+
117
+ <div id="method-M000042" class="method-detail">
118
+ <a name="M000042"></a>
119
+
120
+ <div class="method-heading">
121
+ <a href="#M000042" class="method-signature">
122
+ <span class="method-name">new</span><span class="method-args">(args, sipper)</span>
123
+ </a>
124
+ </div>
125
+
126
+ <div class="method-description">
127
+ <p><a class="source-toggle" href="#"
128
+ onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
129
+ <div class="method-source-code" id="M000042-source">
130
+ <pre>
131
+ <span class="ruby-comment cmt"># File lib/sip/databases/mysql.rb, line 5</span>
132
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">args</span>, <span class="ruby-identifier">sipper</span>)
133
+ <span class="ruby-keyword kw">super</span>(<span class="ruby-identifier">args</span>, <span class="ruby-identifier">sipper</span>)
134
+ <span class="ruby-ivar">@connection</span> = <span class="ruby-constant">Mysql</span><span class="ruby-operator">::</span><span class="ruby-identifier">new</span> <span class="ruby-ivar">@args</span>[<span class="ruby-value str">'host'</span>], <span class="ruby-ivar">@args</span>[<span class="ruby-value str">'username'</span>], <span class="ruby-ivar">@args</span>[<span class="ruby-value str">'password'</span>], <span class="ruby-ivar">@args</span>[<span class="ruby-value str">'dbname'</span>], <span class="ruby-ivar">@args</span>[<span class="ruby-value str">'port'</span>]
135
+ <span class="ruby-keyword kw">end</span>
136
+ </pre>
137
+ </div>
138
+ </div>
139
+ </div>
140
+
141
+ <h3 class="section-bar">Public Instance methods</h3>
142
+
143
+ <div id="method-M000046" class="method-detail">
144
+ <a name="M000046"></a>
145
+
146
+ <div class="method-heading">
147
+ <a href="#M000046" class="method-signature">
148
+ <span class="method-name">close</span><span class="method-args">()</span>
149
+ </a>
150
+ </div>
151
+
152
+ <div class="method-description">
153
+ <p><a class="source-toggle" href="#"
154
+ onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
155
+ <div class="method-source-code" id="M000046-source">
156
+ <pre>
157
+ <span class="ruby-comment cmt"># File lib/sip/databases/mysql.rb, line 48</span>
158
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close</span>
159
+ <span class="ruby-ivar">@connection</span>.<span class="ruby-identifier">close</span>
160
+ <span class="ruby-keyword kw">end</span>
161
+ </pre>
162
+ </div>
163
+ </div>
164
+ </div>
165
+
166
+ <div id="method-M000043" class="method-detail">
167
+ <a name="M000043"></a>
168
+
169
+ <div class="method-heading">
170
+ <a href="#M000043" class="method-signature">
171
+ <span class="method-name">cmd_line_execute_string</span><span class="method-args">(select)</span>
172
+ </a>
173
+ </div>
174
+
175
+ <div class="method-description">
176
+ <p><a class="source-toggle" href="#"
177
+ onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
178
+ <div class="method-source-code" id="M000043-source">
179
+ <pre>
180
+ <span class="ruby-comment cmt"># File lib/sip/databases/mysql.rb, line 10</span>
181
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cmd_line_execute_string</span>(<span class="ruby-identifier">select</span>)
182
+ <span class="ruby-identifier">opts</span> = <span class="ruby-constant">CmdOpts</span>.<span class="ruby-identifier">new</span>
183
+ <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">set</span> <span class="ruby-value str">'N'</span>, <span class="ruby-value str">'B'</span>, <span class="ruby-value str">'C'</span>, <span class="ruby-value str">'q'</span>
184
+ <span class="ruby-identifier">opts</span>[<span class="ruby-value str">'u'</span>] = <span class="ruby-ivar">@args</span>[<span class="ruby-value str">'username'</span>]
185
+ <span class="ruby-identifier">opts</span>[<span class="ruby-value str">'password'</span>] = <span class="ruby-ivar">@args</span>[<span class="ruby-value str">'password'</span>]
186
+ <span class="ruby-identifier">opts</span>[<span class="ruby-value str">'h'</span>] = <span class="ruby-ivar">@args</span>[<span class="ruby-value str">'host'</span>]
187
+ <span class="ruby-identifier">opts</span>[<span class="ruby-value str">'e'</span>] = <span class="ruby-node">&quot;'#{select}'&quot;</span>
188
+ <span class="ruby-identifier">opts</span>[<span class="ruby-value str">'P'</span>] = <span class="ruby-ivar">@args</span>[<span class="ruby-value str">'port'</span>]
189
+ <span class="ruby-identifier">path</span> = <span class="ruby-value">`which mysql`</span>
190
+ <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">to_s</span>(<span class="ruby-identifier">path</span>.<span class="ruby-identifier">strip</span>, <span class="ruby-ivar">@args</span>[<span class="ruby-value str">'dbname'</span>])
191
+ <span class="ruby-keyword kw">end</span>
192
+ </pre>
193
+ </div>
194
+ </div>
195
+ </div>
196
+
197
+ <div id="method-M000045" class="method-detail">
198
+ <a name="M000045"></a>
199
+
200
+ <div class="method-heading">
201
+ <a href="#M000045" class="method-signature">
202
+ <span class="method-name">convert_to_hive_type</span><span class="method-args">(typename)</span>
203
+ </a>
204
+ </div>
205
+
206
+ <div class="method-description">
207
+ <p><a class="source-toggle" href="#"
208
+ onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
209
+ <div class="method-source-code" id="M000045-source">
210
+ <pre>
211
+ <span class="ruby-comment cmt"># File lib/sip/databases/mysql.rb, line 31</span>
212
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">convert_to_hive_type</span>(<span class="ruby-identifier">typename</span>)
213
+ <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">typename</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;(&quot;</span>).<span class="ruby-identifier">first</span>
214
+ <span class="ruby-keyword kw">when</span> <span class="ruby-value str">&quot;tinyint&quot;</span> <span class="ruby-keyword kw">then</span> <span class="ruby-value str">&quot;TINYINT&quot;</span>
215
+ <span class="ruby-keyword kw">when</span> <span class="ruby-value str">&quot;smallint&quot;</span> <span class="ruby-keyword kw">then</span> <span class="ruby-value str">&quot;MEDIUMINT&quot;</span>
216
+ <span class="ruby-keyword kw">when</span> <span class="ruby-value str">&quot;mediumint&quot;</span> <span class="ruby-keyword kw">then</span> <span class="ruby-value str">&quot;INT&quot;</span>
217
+ <span class="ruby-keyword kw">when</span> <span class="ruby-value str">&quot;int&quot;</span> <span class="ruby-keyword kw">then</span> <span class="ruby-value str">&quot;INT&quot;</span>
218
+ <span class="ruby-keyword kw">when</span> <span class="ruby-value str">&quot;bigint&quot;</span> <span class="ruby-keyword kw">then</span> <span class="ruby-value str">&quot;BIGINT&quot;</span>
219
+ <span class="ruby-keyword kw">when</span> <span class="ruby-value str">&quot;decimal&quot;</span> <span class="ruby-keyword kw">then</span> <span class="ruby-value str">&quot;FLOAT&quot;</span>
220
+ <span class="ruby-keyword kw">when</span> <span class="ruby-value str">&quot;numeric&quot;</span> <span class="ruby-keyword kw">then</span> <span class="ruby-value str">&quot;DOUBLE&quot;</span>
221
+ <span class="ruby-keyword kw">when</span> <span class="ruby-value str">&quot;float&quot;</span> <span class="ruby-keyword kw">then</span> <span class="ruby-value str">&quot;FLOAT&quot;</span>
222
+ <span class="ruby-keyword kw">when</span> <span class="ruby-value str">&quot;real&quot;</span> <span class="ruby-keyword kw">then</span> <span class="ruby-value str">&quot;DOUBLE&quot;</span>
223
+ <span class="ruby-keyword kw">when</span> <span class="ruby-value str">&quot;double&quot;</span> <span class="ruby-keyword kw">then</span> <span class="ruby-value str">&quot;DOUBLE&quot;</span>
224
+ <span class="ruby-keyword kw">when</span> <span class="ruby-value str">&quot;boolean&quot;</span> <span class="ruby-keyword kw">then</span> <span class="ruby-value str">&quot;BOOLEAN&quot;</span>
225
+ <span class="ruby-keyword kw">else</span> <span class="ruby-value str">&quot;STRING&quot;</span>
226
+ <span class="ruby-keyword kw">end</span>
227
+ <span class="ruby-keyword kw">end</span>
228
+ </pre>
229
+ </div>
230
+ </div>
231
+ </div>
232
+
233
+ <div id="method-M000044" class="method-detail">
234
+ <a name="M000044"></a>
235
+
236
+ <div class="method-heading">
237
+ <a href="#M000044" class="method-signature">
238
+ <span class="method-name">query</span><span class="method-args">(q)</span>
239
+ </a>
240
+ </div>
241
+
242
+ <div class="method-description">
243
+ <p><a class="source-toggle" href="#"
244
+ onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
245
+ <div class="method-source-code" id="M000044-source">
246
+ <pre>
247
+ <span class="ruby-comment cmt"># File lib/sip/databases/mysql.rb, line 22</span>
248
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">query</span>(<span class="ruby-identifier">q</span>)
249
+ <span class="ruby-ivar">@sipper</span>.<span class="ruby-identifier">log</span> <span class="ruby-node">&quot;Running MySQL Query: #{q}&quot;</span>
250
+ <span class="ruby-identifier">c</span> = <span class="ruby-ivar">@connection</span>.<span class="ruby-identifier">query</span>(<span class="ruby-identifier">q</span>)
251
+ <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">nil?</span>
252
+ <span class="ruby-identifier">results</span> = []
253
+ <span class="ruby-identifier">c</span>.<span class="ruby-identifier">num_rows</span>.<span class="ruby-identifier">times</span> { <span class="ruby-identifier">results</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">fetch_row</span> }
254
+ <span class="ruby-identifier">results</span>
255
+ <span class="ruby-keyword kw">end</span>
256
+ </pre>
257
+ </div>
258
+ </div>
259
+ </div>
260
+
261
+
262
+ </div>
263
+
264
+
265
+ </div>
266
+
267
+
268
+ <div id="validator-badges">
269
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
270
+ </div>
271
+
272
+ </body>
273
+ </html>
@@ -0,0 +1,111 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Sip::NoSuchColumn</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Sip::NoSuchColumn</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/sip/exceptions_rb.html">
59
+ lib/sip/exceptions.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ StandardError
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+
81
+
82
+
83
+ </div>
84
+
85
+
86
+ </div>
87
+
88
+
89
+ <!-- if includes -->
90
+
91
+ <div id="section">
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <!-- if method_list -->
101
+
102
+
103
+ </div>
104
+
105
+
106
+ <div id="validator-badges">
107
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
108
+ </div>
109
+
110
+ </body>
111
+ </html>