|
|
object
|
|
list
|
|
|
startElement(self,
name,
attrs)
Function called when the parser finds the starting element in the
XML file. |
source code
|
|
|
endElement(self,
name)
Function called when the parser finds the starting element in the
XML file. |
source code
|
|
|
characters(self,
chars)
Called by xml.sax.parse() with data found in an element eg
<object>my characters stuff</object> |
source code
|
|
object
|
|
|
|
|
addLink(self,
rel,
objid)
Build list of links to form after all objects have been created
make sure that we don't add other side of a bidirectional
relation |
source code
|
|
|
processLinks(self)
Walk through all the links that we saved and link them up |
source code
|
|
|
buildOptions(self)
Command-line options specific to this command |
source code
|
|
|
loadObjectFromXML(self,
xmlfile='')
This method can be used to load data for the root of Zenoss
(default behavior) or it can be used to operate on a specific point
in the Zenoss hierarchy (ZODB). |
source code
|
|
|
loadDatabase(self)
The default behavior of loadObjectFromXML() will be to use the
Zope app object, and thus operatate on the whole of Zenoss. |
source code
|
|
|
commit(self)
Wrapper around the Zope database commit() |
source code
|
|
Inherited from xml.sax.handler.ContentHandler :
endDocument ,
endElementNS ,
endPrefixMapping ,
ignorableWhitespace ,
processingInstruction ,
setDocumentLocator ,
skippedEntity ,
startDocument ,
startElementNS ,
startPrefixMapping
|