Package common :: Package ureports :: Module nodes :: Class Link
[frames] | no frames]

Class Link

source code

logilab.common.tree.VNode --+    
                            |    
                BaseComponent --+
                                |
                               Link

a labelled link

attributes :
* BaseComponent attributes
* url : the link's target (REQUIRED)
* label : the link's label as a string (use the url by default)

Instance Methods
 
__init__(self, url, label=None, **kwargs) source code
Method Details

__init__(self, url, label=None, **kwargs)
(Constructor)

source code 
Overrides: BaseComponent.__init__