|
|
|
|
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
|
|
|
|
|
|
|
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 ZenUtils.ZCmdBase.ZCmdBase:
closeAll,
closedb,
findDevice,
getConnection,
getContext,
getDataRoot,
getDmdObj,
login,
logout,
opendb,
sigTerm,
syncdb,
zeoConnect
Inherited from ZenUtils.ZenDaemon.ZenDaemon:
becomeDaemon,
becomeWatchdog,
changeUser,
niceDoggie,
openPrivilegedPort,
setupLogging,
sighandler_USR1,
watchdogCycleTime,
watchdogMaxRestartTime,
watchdogStartTimeout,
writePidFile
Inherited from ZenUtils.CmdBase.CmdBase:
buildParser,
checkLogpath,
generate_configs,
generate_xml_configs,
generate_xml_table,
getConfigFileDefaults,
parseOptions,
pretty_print_config_comment
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
Inherited from xml.sax.handler.ContentHandler:
endDocument,
endElementNS,
endPrefixMapping,
ignorableWhitespace,
processingInstruction,
setDocumentLocator,
skippedEntity,
startDocument,
startElementNS,
startPrefixMapping
|