Package glue :: Package ligolw :: Module table :: Class TableStream
[hide private]
[frames] | no frames]

Class TableStream

source code

    object --+        
             |        
ligolw.Element --+    
                 |    
     ligolw.Stream --+
                     |
                    TableStream

High-level Stream element for use inside Tables. This element knows how to parse the delimited character stream into row objects that it appends into the list-like parent element, and knows how to turn the parent's rows back into a character stream.

Nested Classes [hide private]
  RowBuilder
This class provides the logic required to transform a sequence of of tokens parsed out of the delimited text of a Stream element into a sequence of row objects for insertion into a Table element.
Instance Methods [hide private]
 
appendData(self, content)
Add characters to the element's pcdata.
source code
 
config(self, parentNode) source code
 
endElement(self)
Method invoked by document parser when it encounters the end-of-element event.
source code
 
write(self, fileobj=<epydoc.docintrospecter._DevNull instance at 0x7f39154699e0>, indent=u'')
Recursively write an element and it's children to a file.
source code

Inherited from ligolw.Stream: __init__

Inherited from ligolw.Element: appendChild, end_tag, getAttribute, getChildrenByAttributes, getElements, getElementsByTagName, hasAttribute, insertBefore, removeAttribute, removeChild, replaceChild, setAttribute, start_tag, unlink

Inherited from ligolw.Element (private): _verifyChildren

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

Class Methods [hide private]

Inherited from ligolw.Element: validattributes

Class Variables [hide private]

Inherited from ligolw.Stream: tagName

Inherited from ligolw.Element: validchildren

Properties [hide private]

Inherited from ligolw.Stream: Content, Delimiter, Encoding, Name, Type

Inherited from object: __class__

Method Details [hide private]

appendData(self, content)

source code 

Add characters to the element's pcdata.

Overrides: ligolw.Element.appendData
(inherited documentation)

endElement(self)

source code 

Method invoked by document parser when it encounters the end-of-element event.

Overrides: ligolw.Element.endElement
(inherited documentation)

write(self, fileobj=<epydoc.docintrospecter._DevNull instance at 0x7f39154699e0>, indent=u'')

source code 

Recursively write an element and it's children to a file.

Overrides: ligolw.Element.write
(inherited documentation)