Package mdp :: Package hinet :: Module htmlvisitor :: Class HiNetXHTMLVisitor
[hide private]
[frames] | no frames]

Class HiNetXHTMLVisitor


Modified converter to create valid XHTML.

Instance Methods [hide private]
 
convert_flow(self, flow)
Convert the flow into XHTML and write it into the internal file.

Inherited from unreachable.newobject: __long__, __native__, __nonzero__, __unicode__, next

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

    Inherited from HiNetHTMLVisitor
 
__init__(self, html_file, show_size=False)
Initialize the HMTL converter.
 
_close_node_env(self, node, type_id='node')
Close the HTML environment for the node internals.
 
_open_node_env(self, node, type_id='node')
Open the HTML environment for the node internals.
 
_visit_clonelayer(self, layer)
 
_visit_flownode(self, flownode)
 
_visit_layer(self, layer)
 
_visit_node(self, node)
Translate a node and return the translation.
 
_visit_sameinputlayer(self, layer)
 
_visit_standard_node(self, node)
 
_write_node_header(self, node, type_id='node')
Write the header content for the node into the HTML file.
Class Methods [hide private]
    Inherited from HiNetHTMLVisitor
 
hinet_css(cls)
Return the standard CSS string.
Class Variables [hide private]
    Inherited from HiNetHTMLVisitor
  _CSS_FILENAME = 'hinet.css'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

convert_flow(self, flow)

 
Convert the flow into XHTML and write it into the internal file.

Overrides: HiNetHTMLVisitor.convert_flow