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

Class Link

    object --+    
             |    
      BIObject --+
                 |
    object --+   |
             |   |
BIXMLWriteable --+
                 |
                Link


The representation of a link in a linkage.
Method Summary
  __init__(self, oStack, attrs, **args)
  computeXMLArgs(self)
  __getMacro(self)
    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

Property Summary
  macro

Instance Variable Summary
list category: The list of categories of the link as strings.
Token token1: The first token of the link.
Token token2: The second token of the link.
string type: The link type of this link

Class Variable Summary
list persistentAttrs: The list of attributes to be included in the XML output.
str XMLTag = 'link'

Property Details

macro

Get Method:
__getMacro(self)

Instance Variable Details

category

The list of categories of the link as strings.
Type:
list

token1

The first token of the link.
Type:
Token

token2

The second token of the link.
Type:
Token

type

The link type of this link
Type:
string

Class Variable Details

persistentAttrs

The list of attributes to be included in the XML output. By default an empty list, that is, no attributes are included by default.
Type:
list
Value:
['type']                                                               

XMLTag

Type:
str
Value:
'link'                                                                 

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