Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes | Static Public Attributes
MoinMoin.wikixml.util.RssGenerator Class Reference
Inheritance diagram for MoinMoin.wikixml.util.RssGenerator:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.wikixml.util.RssGenerator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def startDocument
def endDocument
def startNode
def endNode
def simpleNode

Public Attributes

 xmlns

Static Public Attributes

dictionary default_xmlns

Detailed Description

Definition at line 54 of file util.py.


Constructor & Destructor Documentation

Reimplemented from MoinMoin.wikixml.util.XMLGenerator.

Definition at line 63 of file util.py.

00063 
00064     def __init__(self, out):
00065         XMLGenerator.__init__(self, out=out)


Member Function Documentation

Reimplemented from MoinMoin.wikixml.util.XMLGenerator.

Definition at line 70 of file util.py.

00070 
00071     def endDocument(self):
00072         self.endElementNS((self.xmlns['rdf'], 'RDF'), 'rdf:RDF')
00073         XMLGenerator.endDocument(self)
00074 
def MoinMoin.wikixml.util.XMLGenerator.endNode (   self,
  tag 
) [inherited]

Definition at line 33 of file util.py.

00033 
00034     def endNode(self, tag):
00035         tag, qname = self._build_tag(tag)
00036         self.endElementNS(tag, qname)

Here is the call graph for this function:

Here is the caller graph for this function:

def MoinMoin.wikixml.util.XMLGenerator.simpleNode (   self,
  tag,
  value,
  attr = {} 
) [inherited]

Definition at line 37 of file util.py.

00037 
00038     def simpleNode(self, tag, value, attr={}):
00039         self.startNode(tag, attr)
00040         if value:
00041             self.characters(value)
00042         self.endNode(tag)

Here is the call graph for this function:

Reimplemented from MoinMoin.wikixml.util.XMLGenerator.

Definition at line 66 of file util.py.

00066 
00067     def startDocument(self):
00068         XMLGenerator.startDocument(self)
00069         self.startElementNS((self.xmlns['rdf'], 'RDF'), 'rdf:RDF', {})

def MoinMoin.wikixml.util.XMLGenerator.startNode (   self,
  tag,
  attr = {} 
) [inherited]

Definition at line 29 of file util.py.

00029 
00030     def startNode(self, tag, attr={}):
00031         tag, qname = self._build_tag(tag)
00032         self.startElementNS(tag, qname, attr)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Initial value:
{
        None:       "http://purl.org/rss/1.0/",
        'rdf':      "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
        'xlink':    "http://www.w3.org/1999/xlink",
        'dc':       "http://purl.org/dc/elements/1.1/",
        'wiki':     "http://purl.org/rss/1.0/modules/wiki/",
    }

Reimplemented from MoinMoin.wikixml.util.XMLGenerator.

Definition at line 55 of file util.py.

Definition at line 18 of file util.py.


The documentation for this class was generated from the following file: