Package ccrdf :: Module ccrdf :: Class ccRdf
[show private | hide private]
[frames | no frames]

Class ccRdf

rdfStore --+
           |
          ccRdf


Provides RDF parsing and output functions for CC license and work definitions.
Method Summary
  addLicense(self, newItem)
Adds a new work or license to the RDF store.
  addWork(self, newItem)
Adds a new work or license to the RDF store.
  licenses(self)
Returns a list of licenses described by the RDF.
  works(self)
Returns a list of works described by the RDF.
    Inherited from rdfStore
  __init__(self)
  __str__(self)
Return a string containing the RDF representation of the licenses and works.
  append(self, newItem)
Adds a new work or license to the RDF store.
  output(self)
Return a string containing the RDF representation of the licenses and works.
  parse(self, rdf)
Parse the given String, rdf, into it's component triples.
  subjects(self)
A generator which successivly returns each subject contained in the store, wrapped in an instance of rdfDict.

Method Details

addLicense(self, newItem)

Adds a new work or license to the RDF store.

addWork(self, newItem)

Adds a new work or license to the RDF store.

licenses(self)

Returns a list of licenses described by the RDF.

works(self)

Returns a list of works described by the RDF.

Generated by Epydoc 2.1 on Mon Jul 10 17:08:26 2006 http://epydoc.sf.net