simple_bioc 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +13 -0
  3. data/html/BioCMerger.html +748 -0
  4. data/html/BioCReader.html +138 -146
  5. data/html/BioCWriter.html +84 -131
  6. data/html/README_md.html +79 -100
  7. data/html/SimpleBioC/Annotation.html +70 -113
  8. data/html/SimpleBioC/Collection.html +70 -113
  9. data/html/SimpleBioC/Document.html +76 -119
  10. data/html/SimpleBioC/Location.html +70 -113
  11. data/html/SimpleBioC/Node.html +72 -115
  12. data/html/SimpleBioC/NodeBase.html +63 -108
  13. data/html/SimpleBioC/Passage.html +74 -117
  14. data/html/SimpleBioC/Relation.html +85 -115
  15. data/html/SimpleBioC/Sentence.html +74 -117
  16. data/html/SimpleBioC.html +221 -129
  17. data/html/created.rid +16 -15
  18. data/html/css/fonts.css +167 -0
  19. data/html/css/rdoc.css +590 -0
  20. data/html/fonts/Lato-Light.ttf +0 -0
  21. data/html/fonts/Lato-LightItalic.ttf +0 -0
  22. data/html/fonts/Lato-Regular.ttf +0 -0
  23. data/html/fonts/Lato-RegularItalic.ttf +0 -0
  24. data/html/fonts/SourceCodePro-Bold.ttf +0 -0
  25. data/html/fonts/SourceCodePro-Regular.ttf +0 -0
  26. data/html/index.html +71 -53
  27. data/html/js/darkfish.js +32 -26
  28. data/html/js/jquery.js +4 -18
  29. data/html/js/navigation.js.gz +0 -0
  30. data/html/js/search.js +20 -5
  31. data/html/js/search_index.js +1 -1
  32. data/html/js/search_index.js.gz +0 -0
  33. data/html/js/searcher.js.gz +0 -0
  34. data/html/table_of_contents.html +379 -136
  35. data/lib/simple_bioc/bioc_merger.rb +209 -0
  36. data/lib/simple_bioc/relation.rb +1 -1
  37. data/lib/simple_bioc/version.rb +1 -1
  38. data/lib/simple_bioc.rb +8 -4
  39. data/spec/file_check_spec.rb +14 -1
  40. data/xml/PMC2133144.xml +3 -0
  41. data/xml/merge/9864355.xml +1 -0
  42. data/xml/merge/9864355_1.xml +1 -0
  43. data/xml/merge/9864355_2.xml +1974 -0
  44. data/xml/merge/9864355_3.xml +1 -0
  45. data/xml/merge/output.xml +6742 -0
  46. metadata +21 -2
data/html/README_md.html CHANGED
@@ -2,116 +2,90 @@
2
2
 
3
3
  <html>
4
4
  <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
5
+ <meta charset="UTF-8">
6
6
 
7
7
  <title>README - RDoc Documentation</title>
8
8
 
9
- <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
-
11
9
  <script type="text/javascript">
12
10
  var rdoc_rel_prefix = "./";
13
11
  </script>
14
12
 
15
- <script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
16
- <script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
17
- <script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
18
- <script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
19
- <script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
20
- <script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
13
+ <script src="./js/jquery.js"></script>
14
+ <script src="./js/darkfish.js"></script>
15
+
16
+ <link href="./css/fonts.css" rel="stylesheet">
17
+ <link href="./css/rdoc.css" rel="stylesheet">
18
+
21
19
 
22
20
 
23
- <body class="file">
24
- <nav id="metadata">
25
- <nav id="home-section" class="section">
26
- <h3 class="section-header">
27
- <a href="./index.html">Home</a>
21
+ <body id="top" role="document" class="file">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="./index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
28
31
  <a href="./table_of_contents.html#classes">Classes</a>
29
32
  <a href="./table_of_contents.html#methods">Methods</a>
30
- </h3>
31
- </nav>
32
-
33
+ </div>
34
+ </div>
33
35
 
34
- <nav id="search-section" class="section project-section" class="initially-hidden">
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
35
37
  <form action="#" method="get" accept-charset="utf-8">
36
- <h3 class="section-header">
37
- <input type="text" name="search" placeholder="Search" id="search-field"
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
38
42
  title="Type to search, Up and Down to navigate, Enter to load">
39
- </h3>
40
- </form>
43
+ </div>
41
44
 
42
- <ul id="search-results" class="initially-hidden"></ul>
43
- </nav>
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
44
50
 
51
+ </div>
45
52
 
46
53
 
47
- <div id="table-of-contents">
48
- <nav class="section">
49
- <h3 class="section-header">Table of Contents</h3>
50
- <ul>
51
- <li><a href="#label-SimpleBioC">SimpleBioC</a>
52
- <li><a href="#label-Feature%3A">Feature:</a>
53
- <li><a href="#label-Installation">Installation</a>
54
- <li><a href="#label-Simple+Usages">Simple Usages</a>
55
- <li><a href="#label-Options">Options</a>
56
- <li><a href="#label-Specify+set+of+%3Cdocument%3Es+to+parse">Specify set of &lt;document&gt;s to parse</a>
57
- <li><a href="#label-No+whitespace+in+output">No whitespace in output</a>
58
- <li><a href="#label-Sample">Sample</a>
59
- <li><a href="#label-Contributing">Contributing</a>
60
- <li><a href="#label-LICENSE">LICENSE</a>
61
- </ul>
62
- </nav>
54
+ <div class="nav-section">
55
+ <h3>Table of Contents</h3>
56
+
57
+ <ul class="link-list" role="directory">
58
+ <li><a href="#label-SimpleBioC">SimpleBioC</a>
59
+ <li><a href="#label-Feature-3A">Feature:</a>
60
+ <li><a href="#label-Installation">Installation</a>
61
+ <li><a href="#label-Simple+Usages">Simple Usages</a>
62
+ <li><a href="#label-Options">Options</a>
63
+ <li><a href="#label-Specify+set+of+-3Cdocument-3Es+to+parse">Specify set of &lt;document&gt;s to parse</a>
64
+ <li><a href="#label-No+whitespace+in+output">No whitespace in output</a>
65
+ <li><a href="#label-Sample">Sample</a>
66
+ <li><a href="#label-Contributing">Contributing</a>
67
+ <li><a href="#label-LICENSE">LICENSE</a>
68
+ </ul>
63
69
  </div>
64
70
 
65
71
 
66
72
  <div id="project-metadata">
67
- <nav id="fileindex-section" class="section project-section">
68
- <h3 class="section-header">Pages</h3>
69
-
70
- <ul>
71
-
72
- <li class="file"><a href="./README_md.html">README</a>
73
-
74
- </ul>
75
- </nav>
76
-
77
- <nav id="classindex-section" class="section project-section">
78
- <h3 class="section-header">Class and Module Index</h3>
73
+ <div id="fileindex-section" class="nav-section">
74
+ <h3>Pages</h3>
79
75
 
80
76
  <ul class="link-list">
81
77
 
82
- <li><a href="./BioCReader.html">BioCReader</a>
83
-
84
- <li><a href="./BioCWriter.html">BioCWriter</a>
85
-
86
- <li><a href="./SimpleBioC.html">SimpleBioC</a>
87
-
88
- <li><a href="./SimpleBioC/Annotation.html">SimpleBioC::Annotation</a>
89
-
90
- <li><a href="./SimpleBioC/Collection.html">SimpleBioC::Collection</a>
91
-
92
- <li><a href="./SimpleBioC/Document.html">SimpleBioC::Document</a>
93
-
94
- <li><a href="./SimpleBioC/Location.html">SimpleBioC::Location</a>
95
-
96
- <li><a href="./SimpleBioC/Node.html">SimpleBioC::Node</a>
97
-
98
- <li><a href="./SimpleBioC/NodeBase.html">SimpleBioC::NodeBase</a>
99
-
100
- <li><a href="./SimpleBioC/Passage.html">SimpleBioC::Passage</a>
101
-
102
- <li><a href="./SimpleBioC/Relation.html">SimpleBioC::Relation</a>
103
-
104
- <li><a href="./SimpleBioC/Sentence.html">SimpleBioC::Sentence</a>
78
+ <li><a href="./README_md.html">README</a>
105
79
 
106
80
  </ul>
107
- </nav>
81
+ </div>
108
82
 
109
83
  </div>
110
84
  </nav>
111
85
 
112
- <div id="documentation" class="description">
113
-
114
- <h1 id="label-SimpleBioC"><a href="SimpleBioC.html">SimpleBioC</a><span><a href="#label-SimpleBioC">&para;</a> <a href="#documentation">&uarr;</a></span></h1>
86
+ <main role="main" aria-label="Page README.md">
87
+
88
+ <h1 id="label-SimpleBioC"><a href="SimpleBioC.html">SimpleBioC</a><span><a href="#label-SimpleBioC">&para;</a> <a href="#top">&uarr;</a></span></h1>
115
89
 
116
90
  <p><a href="SimpleBioC.html">SimpleBioC</a> is a simple parser / builder for
117
91
  BioC data format. BioC is a simple XML format to share text documents and
@@ -119,7 +93,7 @@ annotations. You can find more information about BioC from the official
119
93
  BioC web site (<a
120
94
  href="http://www.ncbi.nlm.nih.gov/CBBresearch/Dogan/BioC/">www.ncbi.nlm.nih.gov/CBBresearch/Dogan/BioC/</a>)</p>
121
95
 
122
- <h2 id="label-Feature%3A">Feature:<span><a href="#label-Feature%3A">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
96
+ <h2 id="label-Feature-3A">Feature:<span><a href="#label-Feature-3A">&para;</a> <a href="#top">&uarr;</a></span></h2>
123
97
  <ul><li>
124
98
  <p>Parse &amp; convert a BioC document to an object instance compatible to
125
99
  BioC DTD</p>
@@ -129,11 +103,12 @@ BioC DTD</p>
129
103
  <p>Build a BioC document from an object instance</p>
130
104
  </li></ul>
131
105
 
132
- <h2 id="label-Installation">Installation<span><a href="#label-Installation">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
106
+ <h2 id="label-Installation">Installation<span><a href="#label-Installation">&para;</a> <a href="#top">&uarr;</a></span></h2>
133
107
 
134
108
  <p>Add this line to your application&#39;s Gemfile:</p>
135
109
 
136
- <pre>gem &#39;simple_bioc&#39;</pre>
110
+ <pre class="ruby"><span class="ruby-identifier">gem</span> <span class="ruby-string">&#39;simple_bioc&#39;</span>
111
+ </pre>
137
112
 
138
113
  <p>And then execute:</p>
139
114
 
@@ -143,7 +118,7 @@ BioC DTD</p>
143
118
 
144
119
  <pre>$ gem install simple_bioc</pre>
145
120
 
146
- <h2 id="label-Simple+Usages">Simple Usages<span><a href="#label-Simple+Usages">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
121
+ <h2 id="label-Simple+Usages">Simple Usages<span><a href="#label-Simple+Usages">&para;</a> <a href="#top">&uarr;</a></span></h2>
147
122
 
148
123
  <p>Include library</p>
149
124
 
@@ -152,7 +127,8 @@ BioC DTD</p>
152
127
 
153
128
  <p>Parse with a file name (path)</p>
154
129
 
155
- <pre>collection = SimpleBioC::from_xml(filename)</pre>
130
+ <pre class="ruby"><span class="ruby-identifier">collection</span> = <span class="ruby-constant">SimpleBioC</span><span class="ruby-operator">::</span><span class="ruby-identifier">from_xml</span>(<span class="ruby-identifier">filename</span>)
131
+ </pre>
156
132
 
157
133
  <p>Traverse &amp; Manipulate Data. Data structure are almost the same as the
158
134
  DTD. Please refer <a
@@ -161,32 +137,36 @@ documents</a> and <a
161
137
  href="http://www.ncbi.nlm.nih.gov/CBBresearch/Dogan/BioC/BioCDTD.html">the
162
138
  BioC DTD</a>.</p>
163
139
 
164
- <pre>puts collection.documents[2].passages[0].text</pre>
140
+ <pre class="ruby"><span class="ruby-identifier">puts</span> <span class="ruby-identifier">collection</span>.<span class="ruby-identifier">documents</span>[<span class="ruby-value">2</span>].<span class="ruby-identifier">passages</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">text</span>
141
+ </pre>
165
142
 
166
143
  <p>Build XML text from data</p>
167
144
 
168
- <pre>puts SimpleBioC::to_xml(collection)</pre>
145
+ <pre class="ruby"><span class="ruby-identifier">puts</span> <span class="ruby-constant">SimpleBioC</span><span class="ruby-operator">::</span><span class="ruby-identifier">to_xml</span>(<span class="ruby-identifier">collection</span>)
146
+ </pre>
169
147
 
170
- <h2 id="label-Options">Options<span><a href="#label-Options">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
148
+ <h2 id="label-Options">Options<span><a href="#label-Options">&para;</a> <a href="#top">&uarr;</a></span></h2>
171
149
 
172
- <h3 id="label-Specify+set+of+%3Cdocument%3Es+to+parse">Specify set of &lt;document&gt;s to parse<span><a href="#label-Specify+set+of+%3Cdocument%3Es+to+parse">&para;</a> <a href="#documentation">&uarr;</a></span></h3>
150
+ <h3 id="label-Specify+set+of+-3Cdocument-3Es+to+parse">Specify set of &lt;document&gt;s to parse<span><a href="#label-Specify+set+of+-3Cdocument-3Es+to+parse">&para;</a> <a href="#top">&uarr;</a></span></h3>
173
151
 
174
152
  <p>You can parse only a set of document elements in a large xml document
175
153
  instead of parsing all the document elements. It may decrease the
176
154
  processing time. For example, the following code will return a collection
177
155
  with two documents (“1234”, “4567”).</p>
178
156
 
179
- <pre>collection = SimpleBioc::from_xml(filename, {documents: [&quot;1234&quot;, &quot;4567&quot;]})</pre>
157
+ <pre class="ruby"><span class="ruby-identifier">collection</span> = <span class="ruby-constant">SimpleBioc</span><span class="ruby-operator">::</span><span class="ruby-identifier">from_xml</span>(<span class="ruby-identifier">filename</span>, {<span class="ruby-identifier">documents</span><span class="ruby-operator">:</span> [<span class="ruby-string">&quot;1234&quot;</span>, <span class="ruby-string">&quot;4567&quot;</span>]})
158
+ </pre>
180
159
 
181
- <h3 id="label-No+whitespace+in+output">No whitespace in output<span><a href="#label-No+whitespace+in+output">&para;</a> <a href="#documentation">&uarr;</a></span></h3>
160
+ <h3 id="label-No+whitespace+in+output">No whitespace in output<span><a href="#label-No+whitespace+in+output">&para;</a> <a href="#top">&uarr;</a></span></h3>
182
161
 
183
162
  <p>By default, outputs of SimpleBioC::to_xml() will be formatted with
184
163
  whitespace. If you do not want this whitespace, you should pass
185
164
  &#39;save_with&#39; option with 0 to the to_xml() function.</p>
186
165
 
187
- <pre>puts SimpleBioC::to_xml(collection, {save_with:0})</pre>
166
+ <pre class="ruby"><span class="ruby-identifier">puts</span> <span class="ruby-constant">SimpleBioC</span><span class="ruby-operator">::</span><span class="ruby-identifier">to_xml</span>(<span class="ruby-identifier">collection</span>, {<span class="ruby-identifier">save_with</span>:<span class="ruby-value">0</span>})
167
+ </pre>
188
168
 
189
- <h2 id="label-Sample">Sample<span><a href="#label-Sample">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
169
+ <h2 id="label-Sample">Sample<span><a href="#label-Sample">&para;</a> <a href="#top">&uarr;</a></span></h2>
190
170
 
191
171
  <p>More samples can be found in Samples directory</p>
192
172
 
@@ -225,7 +205,7 @@ whitespace. If you do not want this whitespace, you should pass
225
205
  <span class="ruby-identifier">puts</span> <span class="ruby-identifier">xml</span>
226
206
  </pre>
227
207
 
228
- <h2 id="label-Contributing">Contributing<span><a href="#label-Contributing">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
208
+ <h2 id="label-Contributing">Contributing<span><a href="#label-Contributing">&para;</a> <a href="#top">&uarr;</a></span></h2>
229
209
  <ol><li>
230
210
  <p>Fork it</p>
231
211
  </li><li>
@@ -239,19 +219,18 @@ feature&#39;</code>)</p>
239
219
  <p>Create new Pull Request</p>
240
220
  </li></ol>
241
221
 
242
- <h2 id="label-LICENSE">LICENSE<span><a href="#label-LICENSE">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
222
+ <h2 id="label-LICENSE">LICENSE<span><a href="#label-LICENSE">&para;</a> <a href="#top">&uarr;</a></span></h2>
243
223
 
244
224
  <p>Copyright © 2013, Dongseop Kwon</p>
245
225
 
246
226
  <p>Released under the MIT License.</p>
247
-
248
- </div>
227
+ </main>
249
228
 
250
229
 
251
230
 
252
- <footer id="validator-badges">
253
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
254
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
255
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
231
+ <footer id="validator-badges" role="contentinfo">
232
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
233
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
234
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
256
235
  </footer>
257
236
 
@@ -2,138 +2,92 @@
2
2
 
3
3
  <html>
4
4
  <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
5
+ <meta charset="UTF-8">
6
6
 
7
7
  <title>class SimpleBioC::Annotation - RDoc Documentation</title>
8
8
 
9
- <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
10
-
11
9
  <script type="text/javascript">
12
10
  var rdoc_rel_prefix = "../";
13
11
  </script>
14
12
 
15
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
- <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
- <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
- <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
- <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
- <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
13
+ <script src="../js/jquery.js"></script>
14
+ <script src="../js/darkfish.js"></script>
15
+
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
21
19
 
22
20
 
23
- <body id="top" class="class">
24
- <nav id="metadata">
25
- <nav id="home-section" class="section">
26
- <h3 class="section-header">
27
- <a href="../index.html">Home</a>
21
+ <body id="top" role="document" class="class">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="../index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="../table_of_contents.html#pages">Pages</a>
28
31
  <a href="../table_of_contents.html#classes">Classes</a>
29
32
  <a href="../table_of_contents.html#methods">Methods</a>
30
- </h3>
31
- </nav>
32
-
33
+ </div>
34
+ </div>
33
35
 
34
- <nav id="search-section" class="section project-section" class="initially-hidden">
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
35
37
  <form action="#" method="get" accept-charset="utf-8">
36
- <h3 class="section-header">
37
- <input type="text" name="search" placeholder="Search" id="search-field"
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
38
42
  title="Type to search, Up and Down to navigate, Enter to load">
39
- </h3>
40
- </form>
43
+ </div>
41
44
 
42
- <ul id="search-results" class="initially-hidden"></ul>
43
- </nav>
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
44
50
 
51
+ </div>
45
52
 
46
53
 
47
54
 
48
- <div id="file-metadata">
49
- <nav id="file-list-section" class="section">
50
- <h3 class="section-header">Defined In</h3>
51
- <ul>
52
- <li>lib/simple_bioc/annotation.rb
53
- </ul>
54
- </nav>
55
-
56
-
57
- </div>
58
-
59
55
  <div id="class-metadata">
60
56
 
61
- <nav id="parent-class-section" class="section">
62
- <h3 class="section-header">Parent</h3>
57
+ <div id="parent-class-section" class="nav-section">
58
+ <h3>Parent</h3>
59
+
63
60
 
64
61
  <p class="link">NodeBase
65
62
 
66
- </nav>
63
+ </div>
67
64
 
68
65
 
69
66
 
70
67
  <!-- Method Quickref -->
71
- <nav id="method-list-section" class="section">
72
- <h3 class="section-header">Methods</h3>
68
+ <div id="method-list-section" class="nav-section">
69
+ <h3>Methods</h3>
73
70
 
74
- <ul class="link-list">
71
+ <ul class="link-list" role="directory">
75
72
 
76
73
  <li class="calls-super" ><a href="#method-c-new">::new</a>
77
74
 
78
75
  <li ><a href="#method-i-to_s">#to_s</a>
79
76
 
80
77
  </ul>
81
- </nav>
82
-
83
- </div>
84
-
85
- <div id="project-metadata">
86
- <nav id="fileindex-section" class="section project-section">
87
- <h3 class="section-header">Pages</h3>
88
-
89
- <ul>
90
-
91
- <li class="file"><a href="../README_md.html">README</a>
92
-
93
- </ul>
94
- </nav>
95
-
96
- <nav id="classindex-section" class="section project-section">
97
- <h3 class="section-header">Class and Module Index</h3>
98
-
99
- <ul class="link-list">
100
-
101
- <li><a href="../BioCReader.html">BioCReader</a>
102
-
103
- <li><a href="../BioCWriter.html">BioCWriter</a>
104
-
105
- <li><a href="../SimpleBioC.html">SimpleBioC</a>
106
-
107
- <li><a href="../SimpleBioC/Annotation.html">SimpleBioC::Annotation</a>
108
-
109
- <li><a href="../SimpleBioC/Collection.html">SimpleBioC::Collection</a>
110
-
111
- <li><a href="../SimpleBioC/Document.html">SimpleBioC::Document</a>
112
-
113
- <li><a href="../SimpleBioC/Location.html">SimpleBioC::Location</a>
114
-
115
- <li><a href="../SimpleBioC/Node.html">SimpleBioC::Node</a>
116
-
117
- <li><a href="../SimpleBioC/NodeBase.html">SimpleBioC::NodeBase</a>
118
-
119
- <li><a href="../SimpleBioC/Passage.html">SimpleBioC::Passage</a>
120
-
121
- <li><a href="../SimpleBioC/Relation.html">SimpleBioC::Relation</a>
122
-
123
- <li><a href="../SimpleBioC/Sentence.html">SimpleBioC::Sentence</a>
124
-
125
- </ul>
126
- </nav>
78
+ </div>
127
79
 
128
80
  </div>
129
81
  </nav>
130
82
 
131
- <div id="documentation">
132
- <h1 class="class">class SimpleBioC::Annotation</h1>
83
+ <main role="main" aria-labelledby="class-SimpleBioC::Annotation">
84
+ <h1 id="class-SimpleBioC::Annotation" class="class">
85
+ class SimpleBioC::Annotation
86
+ </h1>
133
87
 
134
- <div id="description" class="description">
88
+ <section class="description">
135
89
 
136
- </div><!-- description -->
90
+ </section>
137
91
 
138
92
 
139
93
 
@@ -146,9 +100,10 @@
146
100
 
147
101
 
148
102
 
149
- <!-- Attributes -->
150
- <section id="attribute-method-details" class="method-section section">
151
- <h3 class="section-header">Attributes</h3>
103
+ <section class="attribute-method-details" class="method-section">
104
+ <header>
105
+ <h3>Attributes</h3>
106
+ </header>
152
107
 
153
108
 
154
109
  <div id="attribute-i-locations" class="method-detail">
@@ -177,13 +132,14 @@
177
132
  </div>
178
133
  </div>
179
134
 
180
- </section><!-- attribute-method-details -->
135
+ </section>
181
136
 
182
137
 
183
- <!-- Methods -->
184
138
 
185
- <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
186
- <h3 class="section-header">Public Class Methods</h3>
139
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
140
+ <header>
141
+ <h3>Public Class Methods</h3>
142
+ </header>
187
143
 
188
144
 
189
145
  <div id="method-c-new" class="method-detail ">
@@ -215,20 +171,22 @@
215
171
  <span class="ruby-keyword">super</span>(<span class="ruby-identifier">parent</span>)
216
172
  <span class="ruby-ivar">@locations</span> = []
217
173
  <span class="ruby-keyword">end</span></pre>
218
- </div><!-- new-source -->
174
+ </div>
219
175
 
220
176
  </div>
221
177
 
222
178
 
223
179
 
224
180
 
225
- </div><!-- new-method -->
181
+ </div>
226
182
 
227
183
 
228
- </section><!-- public-class-method-details -->
184
+ </section>
229
185
 
230
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
231
- <h3 class="section-header">Public Instance Methods</h3>
186
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
187
+ <header>
188
+ <h3>Public Instance Methods</h3>
189
+ </header>
232
190
 
233
191
 
234
192
  <div id="method-i-to_s" class="method-detail ">
@@ -254,26 +212,25 @@
254
212
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
255
213
  <span class="ruby-node">&quot;Annotation:#{id} #{text}&quot;</span>
256
214
  <span class="ruby-keyword">end</span></pre>
257
- </div><!-- to_s-source -->
215
+ </div>
258
216
 
259
217
  </div>
260
218
 
261
219
 
262
220
 
263
221
 
264
- </div><!-- to_s-method -->
222
+ </div>
265
223
 
266
224
 
267
- </section><!-- public-instance-method-details -->
225
+ </section>
268
226
 
269
- </section><!-- 5Buntitled-5D -->
270
-
271
- </div><!-- documentation -->
227
+ </section>
228
+ </main>
272
229
 
273
230
 
274
- <footer id="validator-badges">
275
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
276
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
277
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
231
+ <footer id="validator-badges" role="contentinfo">
232
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
233
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
234
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
278
235
  </footer>
279
236