Module BasicClasses :: Class Linkages
[show private | hide private]
[frames | no frames]

Class Linkages

    object --+    
             |    
      BIObject --+
                 |
    object --+   |
             |   |
BIXMLWriteable --+
                 |
                Linkages


This class is only used during the XML parsing and it corresponds to the linkages tag and mediates the inclusion of linkages into the sentence instances. Instances of this class are not preserved outside of the parsing process.
Method Summary
  __init__(self, oStack, attrs, **args)
  addLinkage(self, linkage)
Passes a linkage into the currently open sentence (during XML parsing).
    Inherited from BIXMLWriteable
  writeXML(self, out, indent, **kwArgs)
Outputs the complete XML representation of the given object.
  writeXMLClose(self, out, indent)
Prints the closing tag of the object: </tag>.
  writeXMLOpen(self, out, indent, closing)
Writes opening tag into the XML output.
  XMLAttrs(self)
Computes the string representation of the object's attributes, which are included into the XML tag.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T

Class Variable Summary
    Inherited from BIObject
NoneType XMLTag = None                                                                  
    Inherited from BIXMLWriteable
list persistentAttrs: The list of attributes to be included in the XML output.

Method Details

addLinkage(self, linkage)

Passes a linkage into the currently open sentence (during XML parsing).
Parameters:
linkage - The linkage to be appended to the sentence.
           (type=Linkage)

Generated by Epydoc 2.0 on Tue Nov 21 15:32:22 2006 http://epydoc.sf.net