Package docutils :: Package writers :: Module html4css1 :: Class Writer
[show private | hide private]
[frames | no frames]

Class Writer

 SettingsSpec --+        
                |        
TransformSpec --+        
                |        
        Component --+    
                    |    
               Writer --+
                        |
                       Writer

Known Subclasses:
Writer

Method Summary
  __init__(self)
Initialize the Writer instance.
  translate(self)
Override to do final document tree translation.
    Inherited from Writer
  write(self, document, destination)
    Inherited from Component
  supports(self, format)
Is format supported by this component?

Class Variable Summary
NoneType output = None                                                                  
tuple relative_path_settings = ('stylesheet_path',)
tuple settings_spec = ('HTML-Specific Options', None, (('Speci...
tuple supported = ('html', 'html4css1', 'xhtml')
    Inherited from Writer
str component_type = 'writer'
NoneType destination = None                                                                  
NoneType document = None                                                                  
NoneType language = None                                                                  
    Inherited from SettingsSpec
NoneType settings_default_overrides = None                                                                  
NoneType settings_defaults = None                                                                  
    Inherited from TransformSpec
tuple default_transforms = ()

Method Details

__init__(self)
(Constructor)

Initialize the Writer instance.
Overrides:
docutils.writers.Writer.__init__ (inherited documentation)

translate(self)

Override to do final document tree translation.

This is usually done with a docutils.nodes.NodeVisitor subclass, in combination with a call to docutils.nodes.Node.walk() or docutils.nodes.Node.walkabout(). The NodeVisitor subclass must support all standard elements (listed in docutils.nodes.node_class_names) and possibly non-standard elements used by the current Reader as well.

Overrides:
docutils.writers.Writer.translate (inherited documentation)

Class Variable Details

output

Type:
NoneType
Value:
None                                                                  

relative_path_settings

Type:
tuple
Value:
('stylesheet_path',)                                                   

settings_spec

Type:
tuple
Value:
('HTML-Specific Options',
 None,
 (('Specify a stylesheet URL, used verbatim.  Default is "default.css"\
.  Overridden by --stylesheet-path.',
   ['--stylesheet'],
   {'default': 'default.css', 'metavar': '<URL>'}),
  ('Specify a stylesheet file, relative to the current working directo\
ry.  The path is adjusted relative to the output HTML file.  Overrides\
...                                                                    

supported

Type:
tuple
Value:
('html', 'html4css1', 'xhtml')                                         

Generated by Epydoc 2.0 on Tue Jul 22 05:30:44 2003 http://epydoc.sf.net