Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

First commit, completed, but un-debugged, reader.

  • Loading branch information...
commit 7fdefd6b313d86e75c7b30f154dfb9ada9f38e13 0 parents
Gregg Kellogg gkellogg authored

Showing 76 changed files with 21,706 additions and 0 deletions. Show diff stats Hide diff stats

  1. +38 0 .gemspec
  2. +12 0 .yardopts
  3. +1 0  AUTHORS
  4. +2 0  History.md
  5. +1 0  README
  6. +80 0 README.md
  7. +39 0 Rakefile
  8. +24 0 UNLICENSE
  9. +1 0  VERSION
  10. +3,757 0 doc/spec.html
  11. +163 0 doc/yard/Nokogiri/XML/Document.html
  12. +231 0 doc/yard/Nokogiri/XML/Node.html
  13. +95 0 doc/yard/RDF.html
  14. +264 0 doc/yard/RDF/Graph.html
  15. +110 0 doc/yard/RDF/Literal.html
  16. +875 0 doc/yard/RDF/Literal/XML.html
  17. +100 0 doc/yard/RDF/PTR.html
  18. +100 0 doc/yard/RDF/RDFa.html
  19. +137 0 doc/yard/RDF/RDFa/Format.html
  20. +121 0 doc/yard/RDF/RDFa/HTML.html
  21. +1,498 0 doc/yard/RDF/RDFa/Profile.html
  22. +108 0 doc/yard/RDF/RDFa/ProfileError.html
  23. +2,754 0 doc/yard/RDF/RDFa/Reader.html
  24. +121 0 doc/yard/RDF/RDFa/SVG.html
  25. +318 0 doc/yard/RDF/RDFa/VERSION.html
  26. +4,382 0 doc/yard/RDF/RDFa/Writer.html
  27. +121 0 doc/yard/RDF/RDFa/XHTML.html
  28. +100 0 doc/yard/RDF/XHV.html
  29. +100 0 doc/yard/RDF/XML.html
  30. +100 0 doc/yard/RDF/XSI.html
  31. +177 0 doc/yard/String.html
  32. +346 0 doc/yard/_index.html
  33. +36 0 doc/yard/class_list.html
  34. +1 0  doc/yard/css/common.css
  35. +53 0 doc/yard/css/full_list.css
  36. +318 0 doc/yard/css/style.css
  37. +56 0 doc/yard/file.AUTHORS.html
  38. +56 0 doc/yard/file.CONTRIBUTORS.html
  39. +224 0 doc/yard/file.History.html
  40. +395 0 doc/yard/file.README.html
  41. +76 0 doc/yard/file.UNLICENSE.html
  42. +53 0 doc/yard/file.VERSION.html
  43. +53 0 doc/yard/file_list.html
  44. +13 0 doc/yard/frames.html
  45. +395 0 doc/yard/index.html
  46. +203 0 doc/yard/js/app.js
  47. +149 0 doc/yard/js/full_list.js
  48. +16 0 doc/yard/js/jquery.js
  49. +627 0 doc/yard/method_list.html
  50. +90 0 doc/yard/top-level-namespace.html
  51. +15 0 etc/basic.html
  52. +83 0 etc/foaf.html
  53. +40 0 etc/profile.html
  54. +459 0 etc/xhv.html
  55. +2 0  lib/rdf/.gitignore
  56. +34 0 lib/rdf/microdata.rb
  57. +34 0 lib/rdf/microdata/extensions.rb
  58. +21 0 lib/rdf/microdata/format.rb
  59. +472 0 lib/rdf/microdata/reader.rb
  60. +18 0 lib/rdf/microdata/version.rb
  61. +3 0  lib/rdf/microdata/vocab.rb
  62. +1 0  rdf-microdata.gemspec
  63. +90 0 script/parse
  64. +2 0  script/yard-to-rubyforge
  65. +1 0  spec/.gitignore
  66. +106 0 spec/matchers.rb
  67. +68 0 spec/profile_spec.rb
  68. +572 0 spec/reader_spec.rb
  69. +1 0  spec/spec.opts
  70. +46 0 spec/spec_helper.rb
  71. +23 0 spec/test-files/example1.microdata
  72. +15 0 spec/test-files/example1.ttl
  73. +10 0 spec/test-files/example2.microdata
  74. +18 0 spec/test-files/example2.ttl
  75. +97 0 spec/test_helper.rb
  76. +385 0 spec/writer_spec.rb
38 .gemspec
... ... @@ -0,0 +1,38 @@
  1 +#!/usr/bin/env ruby -rubygems
  2 +# -*- encoding: utf-8 -*-
  3 +
  4 +Gem::Specification.new do |gem|
  5 + gem.version = File.read('VERSION').chomp
  6 + gem.date = File.mtime('VERSION').strftime('%Y-%m-%d')
  7 +
  8 + gem.name = "rdf-microdata"
  9 + gem.homepage = "http://github.com/gkellogg/rdf-microdata"
  10 + gem.license = 'Public Domain' if gem.respond_to?(:license=)
  11 + gem.summary = "Microdata reader for Ruby."
  12 + gem.description = gem.summary
  13 + gem.rubyforge_project = 'rdf-microdata'
  14 +
  15 + gem.authors = ['Gregg Kellogg']
  16 + gem.email = 'public-rdf-ruby@w3.org'
  17 +
  18 + gem.platform = Gem::Platform::RUBY
  19 + gem.files = %w(AUTHORS README UNLICENSE VERSION) + Dir.glob('lib/**/*.rb')
  20 + #gem.bindir = %q(bin)
  21 + #gem.executables = %w(json_ld)
  22 + #gem.default_executable = gem.executables.first
  23 + gem.require_paths = %w(lib)
  24 + gem.extensions = %w()
  25 + gem.test_files = %w()
  26 + gem.has_rdoc = false
  27 +
  28 + gem.required_ruby_version = '>= 1.8.1'
  29 + gem.requirements = []
  30 + gem.add_runtime_dependency 'rdf', '>= 0.3.3'
  31 + gem.add_runtime_dependency 'nokogiri', '>= 1.4.4'
  32 + gem.add_development_dependency 'yard' , '>= 0.6.0'
  33 + gem.add_development_dependency 'rspec', '>= 2.5.0'
  34 + gem.add_development_dependency 'rdf-spec', '>= 0.3.2'
  35 + gem.add_development_dependency 'rdf-n3', '>= 0.3.3'
  36 + gem.add_development_dependency 'rdf-isomorphic', '>= 0.3.4'
  37 + gem.post_install_message = nil
  38 +end
12 .yardopts
... ... @@ -0,0 +1,12 @@
  1 +--title "Microdata reader for RDF.rb."
  2 +--output-dir doc/yard
  3 +--protected
  4 +--no-private
  5 +--hide-void-return
  6 +--markup markdown
  7 +--readme README.md
  8 +-
  9 +History.md
  10 +AUTHORS
  11 +VERSION
  12 +UNLICENSE
1  AUTHORS
... ... @@ -0,0 +1 @@
  1 +* Gregg Kellogg <gregg@kellogg-assoc.com>
2  History.md
Source Rendered
... ... @@ -0,0 +1,2 @@
  1 +### 0.0.1
  2 +* Initial release
1  README
80 README.md
Source Rendered
... ... @@ -0,0 +1,80 @@
  1 +# RDF::Microdata reader/writer
  2 +
  3 +[Microdata][] parser for RDF.rb.
  4 +
  5 +## DESCRIPTION
  6 +RDF::Microdata is a Microdata reader for Ruby using the [RDF.rb][RDF.rb] library suite.
  7 +
  8 +## FEATURES
  9 +RDF::Microdata parses [Microdata][] into statements or triples.
  10 +
  11 +* Microdata parser.
  12 +* Uses Nokogiri for parsing HTML
  13 +
  14 +Install with 'gem install rdf-microdata'
  15 +
  16 +## Usage
  17 +
  18 +### Reading RDF data in the RDFa format
  19 +
  20 + graph = RDF::Graph.load("etc/foaf.html", :format => :microdata)
  21 +
  22 +## Dependencies
  23 +* [RDF.rb](http://rubygems.org/gems/rdf) (>= 0.3.3)
  24 +* [Nokogiri](http://rubygems.org/gems/nokogiri) (>= 1.3.3)
  25 +
  26 +## Documentation
  27 +Full documentation available on [RubyForge](http://rdf.rubyforge.org/microdata)
  28 +
  29 +### Principle Classes
  30 +* {RDF::Microdata::Format}
  31 + * {RDF::Microdata::HTML}
  32 + Asserts :html format, text/html mime-type and .html file extension.
  33 +* {RDF::RDFa::Reader}
  34 +
  35 +### Additional vocabularies
  36 +
  37 +## TODO
  38 +* Add support for LibXML and REXML bindings, and use the best available
  39 +* Consider a SAX-based parser for improved performance
  40 +
  41 +## Resources
  42 +* [RDF.rb][RDF.rb]
  43 +* [Documentation](http://rdf.rubyforge.org/microdata)
  44 +* [History](file:file.History.html)
  45 +* [Microdata][]
  46 +
  47 +## Author
  48 +* [Gregg Kellogg](http://github.com/gkellogg) - <http://kellogg-assoc.com/>
  49 +
  50 +## Contributing
  51 +
  52 +* Do your best to adhere to the existing coding conventions and idioms.
  53 +* Don't use hard tabs, and don't leave trailing whitespace on any line.
  54 +* Do document every method you add using [YARD][] annotations. Read the
  55 + [tutorial][YARD-GS] or just look at the existing code for examples.
  56 +* Don't touch the `.gemspec`, `VERSION` or `AUTHORS` files. If you need to
  57 + change them, do so on your private branch only.
  58 +* Do feel free to add yourself to the `CREDITS` file and the corresponding
  59 + list in the the `README`. Alphabetical order applies.
  60 +* Do note that in order for us to merge any non-trivial changes (as a rule
  61 + of thumb, additions larger than about 15 lines of code), we need an
  62 + explicit [public domain dedication][PDD] on record from you.
  63 +
  64 +## License
  65 +
  66 +This is free and unencumbered public domain software. For more information,
  67 +see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
  68 +
  69 +## FEEDBACK
  70 +
  71 +* gregg@kellogg-assoc.com
  72 +* <http://rubygems.org/rdf-microdata>
  73 +* <http://github.com/gkellogg/rdf-microdata>
  74 +* <http://lists.w3.org/Archives/Public/public-rdf-ruby/>
  75 +
  76 +[RDF.rb]: http://rdf.rubyforge.org/
  77 +[YARD]: http://yardoc.org/
  78 +[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
  79 +[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
  80 +[Microdata]: http://www.w3.org/TR/2011/WD-microdata-20110525/ "HTML Microdata"
39 Rakefile
... ... @@ -0,0 +1,39 @@
  1 +require 'rubygems'
  2 +
  3 +task :default => [ :spec ]
  4 +
  5 +namespace :gem do
  6 + desc "Build the rdf-microdata-#{File.read('VERSION').chomp}.gem file"
  7 + task :build do
  8 + sh "gem build .gemspec"
  9 + end
  10 +
  11 + desc "Release the rdf-microdata-#{File.read('VERSION').chomp}.gem file"
  12 + task :release do
  13 + sh "gem push rdf-microdata-#{File.read('VERSION').chomp}.gem"
  14 + end
  15 +end
  16 +
  17 +require 'rspec/core/rake_task'
  18 +desc 'Run specifications'
  19 +RSpec::Core::RakeTask.new(:spec) do |spec|
  20 + spec.rspec_opts = %w(--options spec/spec.opts) if File.exists?('spec/spec.opts')
  21 +end
  22 +
  23 +desc "Run specs through RCov"
  24 +RSpec::Core::RakeTask.new("spec:rcov") do |spec|
  25 + spec.rcov = true
  26 + spec.rcov_opts = %q[--exclude "spec"]
  27 +end
  28 +
  29 +desc "Generate HTML report specs"
  30 +RSpec::Core::RakeTask.new("doc:spec") do |spec|
  31 + spec.rspec_opts = ["--format", "html", "-o", "doc/spec.html"]
  32 +end
  33 +
  34 +require 'yard'
  35 +namespace :doc do
  36 + YARD::Rake::YardocTask.new
  37 +end
  38 +
  39 +task :default => :spec
24 UNLICENSE
... ... @@ -0,0 +1,24 @@
  1 +This is free and unencumbered software released into the public domain.
  2 +
  3 +Anyone is free to copy, modify, publish, use, compile, sell, or
  4 +distribute this software, either in source code form or as a compiled
  5 +binary, for any purpose, commercial or non-commercial, and by any
  6 +means.
  7 +
  8 +In jurisdictions that recognize copyright laws, the author or authors
  9 +of this software dedicate any and all copyright interest in the
  10 +software to the public domain. We make this dedication for the benefit
  11 +of the public at large and to the detriment of our heirs and
  12 +successors. We intend this dedication to be an overt act of
  13 +relinquishment in perpetuity of all present and future rights to this
  14 +software under copyright law.
  15 +
  16 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  17 +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  18 +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  19 +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
  20 +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  21 +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  22 +OTHER DEALINGS IN THE SOFTWARE.
  23 +
  24 +For more information, please refer to <http://unlicense.org/>
1  VERSION
... ... @@ -0,0 +1 @@
  1 +0.0.1
3,757 doc/spec.html
3,757 additions, 0 deletions not shown
163 doc/yard/Nokogiri/XML/Document.html
... ... @@ -0,0 +1,163 @@
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4 + <head>
  5 + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6 +<title>Class: Nokogiri::XML::Document</title>
  7 +<link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
  8 +<link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
  9 +
  10 +<script type="text/javascript" charset="utf-8">
  11 + relpath = '../..';
  12 + if (relpath != '') relpath += '/';
  13 +</script>
  14 +<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
  15 +<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
  16 +
  17 + </head>
  18 + <body>
  19 + <script type="text/javascript" charset="utf-8">
  20 + if (window.top.frames.main) document.body.className = 'frames';
  21 + </script>
  22 +
  23 + <div id="header">
  24 + <div id="menu">
  25 +
  26 + <a href="../../_index.html">Index (D)</a> &raquo;
  27 + <span class='title'>Nokogiri</span> &raquo; <span class='title'>XML</span>
  28 + &raquo;
  29 + <span class="title">Document</span>
  30 +
  31 +
  32 + <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
  33 +</div>
  34 +
  35 + <div id="search">
  36 + <a id="class_list_link" href="#">Class List</a>
  37 + <a id="method_list_link" href="#">Method List</a>
  38 + <a id ="file_list_link" href="#">File List</a>
  39 +</div>
  40 +
  41 + <div class="clear"></div>
  42 + </div>
  43 +
  44 + <iframe id="search_frame"></iframe>
  45 +
  46 + <div id="content"><h1>Class: Nokogiri::XML::Document
  47 +
  48 +
  49 +
  50 +</h1>
  51 +
  52 +<dl class="box">
  53 +
  54 + <dt class="r1">Inherits:</dt>
  55 + <dd class="r1">
  56 + <span class="inheritName">Object</span>
  57 +
  58 + <ul class="fullTree">
  59 + <li>Object</li>
  60 +
  61 + <li class="next">Nokogiri::XML::Document</li>
  62 +
  63 + </ul>
  64 + <a href="#" class="inheritanceTree">show all</a>
  65 +
  66 + </dd>
  67 +
  68 +
  69 +
  70 +
  71 +
  72 +
  73 +
  74 +
  75 +
  76 + <dt class="r2 last">Defined in:</dt>
  77 + <dd class="r2 last">lib/rdf/rdfa/patches/nokogiri_hacks.rb</dd>
  78 +
  79 +</dl>
  80 +<div class="clear"></div>
  81 +
  82 +
  83 +
  84 +
  85 +
  86 + <h2>
  87 + Instance Method Summary
  88 + <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
  89 + </h2>
  90 +
  91 + <ul class="summary">
  92 +
  93 + <li class="public ">
  94 + <span class="summary_signature">
  95 +
  96 + <a href="#doctype-instance_method" title="#doctype (instance method)">- (Object) <strong>doctype</strong> </a>
  97 +
  98 +
  99 +
  100 + </span>
  101 +
  102 +
  103 +
  104 +
  105 +
  106 +
  107 +
  108 +
  109 + <span class="summary_desc"><div class='inline'></div></span>
  110 +
  111 +</li>
  112 +
  113 +
  114 + </ul>
  115 +
  116 +
  117 +
  118 +
  119 + <div id="instance_method_details" class="method_details_list">
  120 + <h2>Instance Method Details</h2>
  121 +
  122 +
  123 + <div class="method_details first">
  124 + <p class="signature first" id="doctype-instance_method">
  125 +
  126 + - (<tt>Object</tt>) <strong>doctype</strong>
  127 +
  128 +
  129 +
  130 +</p><table class="source_code">
  131 + <tr>
  132 + <td>
  133 + <pre class="lines">
  134 +
  135 +
  136 +19
  137 +20
  138 +21</pre>
  139 + </td>
  140 + <td>
  141 + <pre class="code"><span class="info file"># File 'lib/rdf/rdfa/patches/nokogiri_hacks.rb', line 19</span>
  142 +
  143 +<span class='def def kw'>def</span> <span class='doctype identifier id'>doctype</span>
  144 + <span class='self self kw'>self</span><span class='dot token'>.</span><span class='children identifier id'>children</span><span class='dot token'>.</span><span class='first identifier id'>first</span> <span class='rescue rescue kw'>rescue</span> <span class='false false kw'>false</span>
  145 +<span class='end end kw'>end</span>
  146 +</pre>
  147 + </td>
  148 + </tr>
  149 +</table>
  150 +</div>
  151 +
  152 + </div>
  153 +
  154 +</div>
  155 +
  156 + <div id="footer">
  157 + Generated on Fri Apr 29 10:44:45 2011 by
  158 + <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
  159 + 0.6.5 (ruby-1.8.7).
  160 +</div>
  161 +
  162 + </body>
  163 +</html>
231 doc/yard/Nokogiri/XML/Node.html
... ... @@ -0,0 +1,231 @@
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4 + <head>
  5 + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6 +<title>Class: Nokogiri::XML::Node</title>
  7 +<link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
  8 +<link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
  9 +
  10 +<script type="text/javascript" charset="utf-8">
  11 + relpath = '../..';
  12 + if (relpath != '') relpath += '/';
  13 +</script>
  14 +<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
  15 +<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
  16 +
  17 + </head>
  18 + <body>
  19 + <script type="text/javascript" charset="utf-8">
  20 + if (window.top.frames.main) document.body.className = 'frames';
  21 + </script>
  22 +
  23 + <div id="header">
  24 + <div id="menu">
  25 +
  26 + <a href="../../_index.html">Index (N)</a> &raquo;
  27 + <span class='title'>Nokogiri</span> &raquo; <span class='title'>XML</span>
  28 + &raquo;
  29 + <span class="title">Node</span>
  30 +
  31 +
  32 + <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
  33 +</div>
  34 +
  35 + <div id="search">
  36 + <a id="class_list_link" href="#">Class List</a>
  37 + <a id="method_list_link" href="#">Method List</a>
  38 + <a id ="file_list_link" href="#">File List</a>
  39 +</div>
  40 +
  41 + <div class="clear"></div>
  42 + </div>
  43 +
  44 + <iframe id="search_frame"></iframe>
  45 +
  46 + <div id="content"><h1>Class: Nokogiri::XML::Node
  47 +
  48 +
  49 +
  50 +</h1>
  51 +
  52 +<dl class="box">
  53 +
  54 + <dt class="r1">Inherits:</dt>
  55 + <dd class="r1">
  56 + <span class="inheritName">Object</span>
  57 +
  58 + <ul class="fullTree">
  59 + <li>Object</li>
  60 +
  61 + <li class="next">Nokogiri::XML::Node</li>
  62 +
  63 + </ul>
  64 + <a href="#" class="inheritanceTree">show all</a>
  65 +
  66 + </dd>
  67 +
  68 +
  69 +
  70 +
  71 +
  72 +
  73 +
  74 +
  75 +
  76 + <dt class="r2 last">Defined in:</dt>
  77 + <dd class="r2 last">lib/rdf/rdfa/patches/nokogiri_hacks.rb</dd>
  78 +
  79 +</dl>
  80 +<div class="clear"></div>
  81 +
  82 +
  83 +
  84 +
  85 +
  86 + <h2>
  87 + Instance Method Summary
  88 + <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
  89 + </h2>
  90 +
  91 + <ul class="summary">
  92 +
  93 + <li class="public ">
  94 + <span class="summary_signature">
  95 +
  96 + <a href="#display_path-instance_method" title="#display_path (instance method)">- (Object) <strong>display_path</strong> </a>
  97 +
  98 +
  99 +
  100 + </span>
  101 +
  102 +
  103 +
  104 +
  105 +
  106 +
  107 +
  108 +
  109 + <span class="summary_desc"><div class='inline'></div></span>
  110 +
  111 +</li>
  112 +
  113 +
  114 + <li class="public ">
  115 + <span class="summary_signature">
  116 +
  117 + <a href="#uri-instance_method" title="#uri (instance method)">- (Object) <strong>uri</strong> </a>
  118 +
  119 +
  120 +
  121 + </span>
  122 +
  123 +
  124 +
  125 +
  126 +
  127 +
  128 +
  129 +
  130 + <span class="summary_desc"><div class='inline'><p>URI of namespace + node_name.</p></div></span>
  131 +
  132 +</li>
  133 +
  134 +
  135 + </ul>
  136 +
  137 +
  138 +
  139 +
  140 + <div id="instance_method_details" class="method_details_list">
  141 + <h2>Instance Method Details</h2>
  142 +
  143 +
  144 + <div class="method_details first">
  145 + <p class="signature first" id="display_path-instance_method">
  146 +
  147 + - (<tt>Object</tt>) <strong>display_path</strong>
  148 +
  149 +
  150 +
  151 +</p><table class="source_code">
  152 + <tr>
  153 + <td>
  154 + <pre class="lines">
  155 +
  156 +
  157 +9
  158 +10
  159 +11
  160 +12
  161 +13
  162 +14
  163 +15</pre>
  164 + </td>
  165 + <td>
  166 + <pre class="code"><span class="info file"># File 'lib/rdf/rdfa/patches/nokogiri_hacks.rb', line 9</span>
  167 +
  168 +<span class='def def kw'>def</span> <span class='display_path identifier id'>display_path</span>
  169 + <span class='@display_path ivar id'>@display_path</span> <span class='opasgn op'>||=</span> <span class='case case kw'>case</span> <span class='self self kw'>self</span>
  170 + <span class='when when kw'>when</span> <span class='Nokogiri constant id'>Nokogiri</span><span class='colon2 op'>::</span><span class='XML constant id'>XML</span><span class='colon2 op'>::</span><span class='Document constant id'>Document</span> <span class='then then kw'>then</span> <span class='string val'>&quot;&quot;</span>
  171 + <span class='when when kw'>when</span> <span class='Nokogiri constant id'>Nokogiri</span><span class='colon2 op'>::</span><span class='XML constant id'>XML</span><span class='colon2 op'>::</span><span class='Element constant id'>Element</span> <span class='then then kw'>then</span> <span class='parent identifier id'>parent</span> <span class='integer val'>? </span><span class='dstring node'>&quot;#{parent.display_path}/#{name}&quot;</span> <span class='colon op'>:</span> <span class='name identifier id'>name</span>
  172 + <span class='when when kw'>when</span> <span class='Nokogiri constant id'>Nokogiri</span><span class='colon2 op'>::</span><span class='XML constant id'>XML</span><span class='colon2 op'>::</span><span class='Attr constant id'>Attr</span> <span class='then then kw'>then</span> <span class='dstring node'>&quot;#{parent.display_path}@#{name}&quot;</span>
  173 + <span class='end end kw'>end</span>
  174 +<span class='end end kw'>end</span>
  175 +</pre>
  176 + </td>
  177 + </tr>
  178 +</table>
  179 +</div>
  180 +
  181 + <div class="method_details ">
  182 + <p class="signature " id="uri-instance_method">
  183 +
  184 + - (<tt>Object</tt>) <strong>uri</strong>
  185 +
  186 +
  187 +
  188 +</p><div class="docstring">
  189 + <div class="discussion">
  190 + <p>URI of namespace + node_name</p>
  191 +
  192 + </div>
  193 +</div>
  194 +<div class="tags">
  195 +
  196 +</div><table class="source_code">
  197 + <tr>
  198 + <td>
  199 + <pre class="lines">
  200 +
  201 +
  202 +4
  203 +5
  204 +6
  205 +7</pre>
  206 + </td>
  207 + <td>
  208 + <pre class="code"><span class="info file"># File 'lib/rdf/rdfa/patches/nokogiri_hacks.rb', line 4</span>
  209 +
  210 +<span class='def def kw'>def</span> <span class='uri identifier id'>uri</span>
  211 + <span class='ns identifier id'>ns</span> <span class='assign token'>=</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='namespace identifier id'>namespace</span> <span class='integer val'>? </span><span class='self self kw'>self</span><span class='dot token'>.</span><span class='namespace identifier id'>namespace</span><span class='dot token'>.</span><span class='href identifier id'>href</span> <span class='colon op'>:</span> <span class='RDF constant id'>RDF</span><span class='colon2 op'>::</span><span class='XML constant id'>XML</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span>
  212 + <span class='RDF constant id'>RDF</span><span class='colon2 op'>::</span><span class='URI constant id'>URI</span><span class='dot token'>.</span><span class='intern identifier id'>intern</span><span class='lparen token'>(</span><span class='ns identifier id'>ns</span> <span class='plus op'>+</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='node_name identifier id'>node_name</span><span class='rparen token'>)</span>
  213 +<span class='end end kw'>end</span>
  214 +</pre>
  215 + </td>
  216 + </tr>
  217 +</table>
  218 +</div>
  219 +
  220 + </div>
  221 +
  222 +</div>
  223 +
  224 + <div id="footer">
  225 + Generated on Fri Apr 29 10:44:44 2011 by
  226 + <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
  227 + 0.6.5 (ruby-1.8.7).
  228 +</div>
  229 +
  230 + </body>
  231 +</html>
95 doc/yard/RDF.html
... ... @@ -0,0 +1,95 @@
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4 + <head>
  5 + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6 +<title>Module: RDF</title>
  7 +<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
  8 +<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
  9 +
  10 +<script type="text/javascript" charset="utf-8">
  11 + relpath = '';
  12 + if (relpath != '') relpath += '/';
  13 +</script>
  14 +<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
  15 +<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
  16 +
  17 + </head>
  18 + <body>
  19 + <script type="text/javascript" charset="utf-8">
  20 + if (window.top.frames.main) document.body.className = 'frames';
  21 + </script>
  22 +
  23 + <div id="header">
  24 + <div id="menu">
  25 +
  26 + <a href="_index.html">Index (R)</a> &raquo;
  27 +
  28 +
  29 + <span class="title">RDF</span>
  30 +
  31 +
  32 + <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
  33 +</div>
  34 +
  35 + <div id="search">
  36 + <a id="class_list_link" href="#">Class List</a>
  37 + <a id="method_list_link" href="#">Method List</a>
  38 + <a id ="file_list_link" href="#">File List</a>
  39 +</div>
  40 +
  41 + <div class="clear"></div>
  42 + </div>
  43 +
  44 + <iframe id="search_frame"></iframe>
  45 +
  46 + <div id="content"><h1>Module: RDF
  47 +
  48 +
  49 +
  50 +</h1>
  51 +
  52 +<dl class="box">
  53 +
  54 +
  55 +
  56 +
  57 +
  58 +
  59 +
  60 +
  61 + <dt class="r1 last">Defined in:</dt>
  62 + <dd class="r1 last">lib/rdf/rdfa.rb<span class="defines">,<br />
  63 + lib/rdf/rdfa/vocab.rb,<br /> lib/rdf/rdfa/patches/literal_hacks.rb,<br /> lib/rdf/rdfa/patches/graph_properties.rb</span>
  64 +</dd>
  65 +
  66 +</dl>
  67 +<div class="clear"></div>
  68 +
  69 +<h2>Defined Under Namespace</h2>
  70 +<p class="children">
  71 +
  72 +
  73 + <strong class="modules">Modules:</strong> <span class='object_link'><a href="RDF/RDFa.html" title="RDF::RDFa (module)">RDFa</a></span>
  74 +
  75 +
  76 +
  77 + <strong class="classes">Classes:</strong> <span class='object_link'><a href="RDF/Graph.html" title="RDF::Graph (class)">Graph</a></span>, <span class='object_link'><a href="RDF/Literal.html" title="RDF::Literal (class)">Literal</a></span>, <span class='object_link'><a href="RDF/PTR.html" title="RDF::PTR (class)">PTR</a></span>, <span class='object_link'><a href="RDF/RDFA.html" title="RDF::RDFA (class)">RDFA</a></span>, <span class='object_link'><a href="RDF/XHV.html" title="RDF::XHV (class)">XHV</a></span>, <span class='object_link'><a href="RDF/XML.html" title="RDF::XML (class)">XML</a></span>, <span class='object_link'><a href="RDF/XSI.html" title="RDF::XSI (class)">XSI</a></span>
  78 +
  79 +
  80 +</p>
  81 +
  82 +
  83 +
  84 +
  85 +
  86 +</div>
  87 +
  88 + <div id="footer">
  89 + Generated on Fri Apr 29 10:44:45 2011 by
  90 + <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
  91 + 0.6.5 (ruby-1.8.7).
  92 +</div>
  93 +
  94 + </body>
  95 +</html>
264 doc/yard/RDF/Graph.html
... ... @@ -0,0 +1,264 @@
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4 + <head>
  5 + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6 +<title>Class: RDF::Graph</title>
  7 +<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
  8 +<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
  9 +
  10 +<script type="text/javascript" charset="utf-8">
  11 + relpath = '..';
  12 + if (relpath != '') relpath += '/';
  13 +</script>
  14 +<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
  15 +<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
  16 +
  17 + </head>
  18 + <body>
  19 + <script type="text/javascript" charset="utf-8">
  20 + if (window.top.frames.main) document.body.className = 'frames';
  21 + </script>
  22 +
  23 + <div id="header">
  24 + <div id="menu">
  25 +
  26 + <a href="../_index.html">Index (G)</a> &raquo;
  27 + <span class='title'><span class='object_link'><a href="../RDF.html" title="RDF (module)">RDF</a></span></span>
  28 + &raquo;
  29 + <span class="title">Graph</span>
  30 +
  31 +
  32 + <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
  33 +</div>
  34 +
  35 + <div id="search">
  36 + <a id="class_list_link" href="#">Class List</a>
  37 + <a id="method_list_link" href="#">Method List</a>
  38 + <a id ="file_list_link" href="#">File List</a>
  39 +</div>
  40 +
  41 + <div class="clear"></div>
  42 + </div>
  43 +
  44 + <iframe id="search_frame"></iframe>
  45 +
  46 + <div id="content"><h1>Class: RDF::Graph
  47 +
  48 +
  49 +
  50 +</h1>
  51 +
  52 +<dl class="box">
  53 +
  54 + <dt class="r1">Inherits:</dt>
  55 + <dd class="r1">
  56 + <span class="inheritName">Object</span>
  57 +
  58 + <ul class="fullTree">
  59 + <li>Object</li>
  60 +
  61 + <li class="next">RDF::Graph</li>
  62 +
  63 + </ul>
  64 + <a href="#" class="inheritanceTree">show all</a>
  65 +
  66 + </dd>
  67 +
  68 +
  69 +
  70 +
  71 +
  72 +
  73 +
  74 +
  75 +
  76 + <dt class="r2 last">Defined in:</dt>
  77 + <dd class="r2 last">lib/rdf/rdfa/patches/graph_properties.rb</dd>
  78 +
  79 +</dl>
  80 +<div class="clear"></div>
  81 +
  82 +
  83 +
  84 +
  85 +
  86 + <h2>
  87 + Instance Method Summary
  88 + <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
  89 + </h2>
  90 +
  91 + <ul class="summary">
  92 +
  93 + <li class="public ">
  94 + <span class="summary_signature">
  95 +
  96 + <a href="#properties-instance_method" title="#properties (instance method)">- (Object) <strong>properties</strong>(subject, recalc = false) </a>
  97 +
  98 +
  99 +
  100 + </span>
  101 +
  102 +
  103 +
  104 +
  105 +
  106 +
  107 +
  108 +
  109 + <span class="summary_desc"><div class='inline'><p>Resource properties.</p></div></span>
  110 +
  111 +</li>
  112 +
  113 +
  114 + <li class="public ">
  115 + <span class="summary_signature">
  116 +
  117 + <a href="#type_of-instance_method" title="#type_of (instance method)">- (Object) <strong>type_of</strong>(subject) </a>
  118 +
  119 +
  120 +
  121 + </span>
  122 +
  123 +
  124 +
  125 +
  126 +
  127 +
  128 +
  129 +
  130 + <span class="summary_desc"><div class='inline'><p>Get type(s) of subject, returns a list of symbols.</p></div></span>
  131 +
  132 +</li>
  133 +
  134 +
  135 + </ul>
  136 +
  137 +
  138 +
  139 +
  140 + <div id="instance_method_details" class="method_details_list">
  141 + <h2>Instance Method Details</h2>
  142 +
  143 +
  144 + <div class="method_details first">
  145 + <p class="signature first" id="properties-instance_method">
  146 +
  147 + - (<tt>Object</tt>) <strong>properties</strong>(subject, recalc = false)
  148 +
  149 +
  150 +
  151 +</p><div class="docstring">
  152 + <div class="discussion">
  153 + <p>Resource properties</p>
  154 +
  155 +<p>Properties arranged as a hash with the predicate Term as index to an array of resources or literals</p>
  156 +
  157 +<p>Example:
  158 + graph.load(':foo a :bar; rdfs:label "An example" .', "http://example.com/")
  159 + graph.resources(URI.new("http://example.com/subject")) =>
  160 + {</p>
  161 +
  162 +<pre class="code"><span class='string val'>&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&quot;</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='lbrack token'>[</span><span class='lt op'>&lt;</span><span class='http identifier id'>http</span><span class='symbol val'>:/</span><span class='regexp val'>/example.com/</span><span class='comment val'>#bar&gt;],</span>
  163 +<span class='string val'>&quot;http://example.com/#label&quot;</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='lbrack token'>[</span><span class='string val'>&quot;An example&quot;</span><span class='rbrack token'>]</span>
  164 +</pre>
  165 +
  166 +<p> }</p>
  167 +
  168 + </div>
  169 +</div>
  170 +<div class="tags">
  171 +
  172 +</div><table class="source_code">
  173 + <tr>
  174 + <td>
  175 + <pre class="lines">
  176 +
  177 +
  178 +14
  179 +15
  180 +16
  181 +17
  182 +18
  183 +19
  184 +20
  185 +21
  186 +22
  187 +23
  188 +24
  189 +25
  190 +26
  191 +27</pre>
  192 + </td>
  193 + <td>
  194 + <pre class="code"><span class="info file"># File 'lib/rdf/rdfa/patches/graph_properties.rb', line 14</span>
  195 +
  196 +<span class='def def kw'>def</span> <span class='properties identifier id'>properties</span><span class='lparen token'>(</span><span class='subject identifier id'>subject</span><span class='comma token'>,</span> <span class='recalc identifier id'>recalc</span> <span class='assign token'>=</span> <span class='false false kw'>false</span><span class='rparen token'>)</span>
  197 + <span class='@properties ivar id'>@properties</span> <span class='opasgn op'>||=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span>
  198 + <span class='@properties ivar id'>@properties</span><span class='dot token'>.</span><span class='delete identifier id'>delete</span><span class='lparen token'>(</span><span class='subject identifier id'>subject</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='recalc identifier id'>recalc</span>
  199 + <span class='@properties ivar id'>@properties</span><span class='lbrack token'>[</span><span class='subject identifier id'>subject</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='rbrack token'>]</span> <span class='opasgn op'>||=</span> <span class='begin begin kw'>begin</span>
  200 + <span class='hash identifier id'>hash</span> <span class='assign token'>=</span> <span class='Hash constant id'>Hash</span><span class='dot token'>.</span><span class='new identifier id'>new</span>
  201 + <span class='self self kw'>self</span><span class='dot token'>.</span><span class='query identifier id'>query</span><span class='lparen token'>(</span><span class='symbol val'>:subject</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='subject identifier id'>subject</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='statement identifier id'>statement</span><span class='bitor op'>|</span>
  202 + <span class='pred identifier id'>pred</span> <span class='assign token'>=</span> <span class='statement identifier id'>statement</span><span class='dot token'>.</span><span class='predicate identifier id'>predicate</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span>
  203 +
  204 + <span class='hash identifier id'>hash</span><span class='lbrack token'>[</span><span class='pred identifier id'>pred</span><span class='rbrack token'>]</span> <span class='opasgn op'>||=</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
  205 + <span class='hash identifier id'>hash</span><span class='lbrack token'>[</span><span class='pred identifier id'>pred</span><span class='rbrack token'>]</span> <span class='lshft op'>&lt;&lt;</span> <span class='statement identifier id'>statement</span><span class='dot token'>.</span><span class='object identifier id'>object</span>
  206 + <span class='end end kw'>end</span>
  207 + <span class='hash identifier id'>hash</span>
  208 + <span class='end end kw'>end</span>
  209 +<span class='end end kw'>end</span>
  210 +</pre>
  211 + </td>
  212 + </tr>
  213 +</table>
  214 +</div>
  215 +
  216 + <div class="method_details ">
  217 + <p class="signature " id="type_of-instance_method">
  218 +
  219 + - (<tt>Object</tt>) <strong>type_of</strong>(subject)
  220 +
  221 +
  222 +
  223 +</p><div class="docstring">
  224 + <div class="discussion">
  225 + <p>Get type(s) of subject, returns a list of symbols</p>
  226 +
  227 + </div>
  228 +</div>
  229 +<div class="tags">
  230 +
  231 +</div><table class="source_code">
  232 + <tr>
  233 + <td>
  234 + <pre class="lines">
  235 +
  236 +
  237 +30
  238 +31
  239 +32</pre>
  240 + </td>
  241 + <td>
  242 + <pre class="code"><span class="info file"># File 'lib/rdf/rdfa/patches/graph_properties.rb', line 30</span>
  243 +
  244 +<span class='def def kw'>def</span> <span class='type_of identifier id'>type_of</span><span class='lparen token'>(</span><span class='subject identifier id'>subject</span><span class='rparen token'>)</span>
  245 + <span class='query identifier id'>query</span><span class='lparen token'>(</span><span class='symbol val'>:subject</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='subject identifier id'>subject</span><span class='comma token'>,</span> <span class='symbol val'>:predicate</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='RDF constant id'>RDF</span><span class='dot token'>.</span><span class='type identifier id'>type</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='map identifier id'>map</span> <span class='lbrace token'>{</span><span class='bitor op'>|</span><span class='st identifier id'>st</span><span class='bitor op'>|</span> <span class='st identifier id'>st</span><span class='dot token'>.</span><span class='object identifier id'>object</span><span class='rbrace token'>}</span>
  246 +<span class='end end kw'>end</span>
  247 +</pre>
  248 + </td>
  249 + </tr>
  250 +</table>
  251 +</div>
  252 +
  253 + </div>
  254 +
  255 +</div>
  256 +
  257 + <div id="footer">
  258 + Generated on Fri Apr 29 10:44:45 2011 by
  259 + <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
  260 + 0.6.5 (ruby-1.8.7).
  261 +</div>
  262 +
  263 + </body>
  264 +</html>
110 doc/yard/RDF/Literal.html
... ... @@ -0,0 +1,110 @@
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4 + <head>
  5 + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6 +<title>Class: RDF::Literal</title>
  7 +<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
  8 +<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
  9 +
  10 +<script type="text/javascript" charset="utf-8">
  11 + relpath = '..';
  12 + if (relpath != '') relpath += '/';
  13 +</script>
  14 +<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
  15 +<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
  16 +
  17 + </head>
  18 + <body>
  19 + <script type="text/javascript" charset="utf-8">
  20 + if (window.top.frames.main) document.body.className = 'frames';
  21 + </script>
  22 +
  23 + <div id="header">
  24 + <div id="menu">
  25 +
  26 + <a href="../_index.html">Index (L)</a> &raquo;
  27 + <span class='title'><span class='object_link'><a href="../RDF.html" title="RDF (module)">RDF</a></span></span>
  28 + &raquo;
  29 + <span class="title">Literal</span>
  30 +
  31 +
  32 + <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
  33 +</div>
  34 +
  35 + <div id="search">
  36 + <a id="class_list_link" href="#">Class List</a>
  37 + <a id="method_list_link" href="#">Method List</a>
  38 + <a id ="file_list_link" href="#">File List</a>
  39 +</div>
  40 +
  41 + <div class="clear"></div>
  42 + </div>
  43 +
  44 + <iframe id="search_frame"></iframe>
  45 +
  46 + <div id="content"><h1>Class: RDF::Literal
  47 +
  48 +
  49 +
  50 +</h1>
  51 +
  52 +<dl class="box">
  53 +
  54 + <dt class="r1">Inherits:</dt>
  55 + <dd class="r1">
  56 + <span class="inheritName">Object</span>
  57 +
  58 + <ul class="fullTree">
  59 + <li>Object</li>
  60 +
  61 + <li class="next">RDF::Literal</li>
  62 +
  63 + </ul>
  64 + <a href="#" class="inheritanceTree">show all</a>
  65 +
  66 + </dd>
  67 +
  68 +
  69 +
  70 +
  71 +
  72 +
  73 +
  74 +
  75 +
  76 + <dt class="r2 last">Defined in:</dt>
  77 + <dd class="r2 last">lib/rdf/rdfa/patches/literal_hacks.rb</dd>
  78 +
  79 +</dl>
  80 +<div class="clear"></div>
  81 +
  82 +<div id="subclasses">
  83 + <h2>Direct Known Subclasses</h2>
  84 + <p class="children"><span class='object_link'><a href="Literal/XML.html" title="RDF::Literal::XML (class)">XML</a></span></p>
  85 +</div>
  86 +<h2>Defined Under Namespace</h2>
  87 +<p class="children">
  88 +
  89 +
  90 +
  91 +
  92 + <strong class="classes">Classes:</strong> <span class='object_link'><a href="Literal/XML.html" title="RDF::Literal::XML (class)">XML</a></span>
  93 +
  94 +
  95 +</p>
  96 +
  97 +
  98 +
  99 +
  100 +
  101 +</div>
  102 +
  103 + <div id="footer">
  104 + Generated on Fri Apr 29 10:44:44 2011 by
  105 + <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
  106 + 0.6.5 (ruby-1.8.7).
  107 +</div>
  108 +
  109 + </body>
  110 +</html>
875 doc/yard/RDF/Literal/XML.html
... ... @@ -0,0 +1,875 @@
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4 + <head>
  5 + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6 +<title>Class: RDF::Literal::XML</title>
  7 +<link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
  8 +<link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
  9 +
  10 +<script type="text/javascript" charset="utf-8">
  11 + relpath = '../..';
  12 + if (relpath != '') relpath += '/';
  13 +</script>
  14 +<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
  15 +<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
  16 +
  17 + </head>
  18 + <body>
  19 + <script type="text/javascript" charset="utf-8">
  20 + if (window.top.frames.main) document.body.className = 'frames';
  21 + </script>
  22 +
  23 + <div id="header">
  24 + <div id="menu">
  25 +
  26 + <a href="../../_index.html">Index (X)</a> &raquo;
  27 + <span class='title'><span class='object_link'><a href="../../RDF.html" title="RDF (module)">RDF</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Literal.html" title="RDF::Literal (class)">Literal</a></span></span>
  28 + &raquo;
  29 + <span class="title">XML</span>
  30 +
  31 +
  32 + <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
  33 +</div>
  34 +
  35 + <div id="search">
  36 + <a id="class_list_link" href="#">Class List</a>
  37 + <a id="method_list_link" href="#">Method List</a>
  38 + <a id ="file_list_link" href="#">File List</a>
  39 +</div>
  40 +
  41 + <div class="clear"></div>
  42 + </div>
  43 +