Package doapfiend :: Package plugins :: Module url :: Class UrlPlugin
[hide private]
[frames] | no frames]

Class UrlPlugin

source code

 object --+    
          |    
base.Plugin --+
              |
             UrlPlugin

Class for formatting DOAP output

Instance Methods [hide private]
 
__init__(self)
Setup RDF/XML OutputPlugin class
source code
 
add_options(self, parser, output, search)
Add plugin's options to doapfiend's opt parser
source code
unicode
search(self)
Get DOAP by its URL or file path This can be any RDF as long as it has the DOAP namespace.
source code

Inherited from base.Plugin: configure, help

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  name = 'url'
  enabled = False
  enable_opt = 'url'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Setup RDF/XML OutputPlugin class

Overrides: object.__init__

add_options(self, parser, output, search)

source code 

Add plugin's options to doapfiend's opt parser

Overrides: base.Plugin.add_options

search(self)

source code 

Get DOAP by its URL or file path This can be any RDF as long as it has the DOAP namespace.

Returns: unicode
DOAP