Tue, 12 Jan 2010 17:55:24 +0000
Renamed E4XML to E5XML.
--- a/APIs/Python3/eric5.api Tue Jan 12 07:38:28 2010 +0000 +++ b/APIs/Python3/eric5.api Tue Jan 12 17:55:24 2010 +0000 @@ -1213,277 +1213,277 @@ eric5.E4Network.E4NetworkMonitor.E4RequestModel.removeRows?4(row, count, parent) eric5.E4Network.E4NetworkMonitor.E4RequestModel.rowCount?4(parent) eric5.E4Network.E4NetworkMonitor.E4RequestModel?1(networkAccessManager, parent = None) -eric5.E4XML.Config.debuggerPropertiesFileFormatVersion?7 -eric5.E4XML.Config.highlightingStylesFileFormatVersion?7 -eric5.E4XML.Config.multiProjectFileFormatVersion?7 -eric5.E4XML.Config.pluginRepositoryFileFormatVersion?7 -eric5.E4XML.Config.projectFileFormatVersion?7 -eric5.E4XML.Config.sessionFileFormatVersion?7 -eric5.E4XML.Config.shortcutsFileFormatVersion?7 -eric5.E4XML.Config.tasksFileFormatVersion?7 -eric5.E4XML.Config.templatesFileFormatVersion?7 -eric5.E4XML.Config.userProjectFileFormatVersion?7 -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.endConsoleDebugger?4() -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.endDebugClient?4() -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.endEnvironment?4() -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.endInterpreter?4() -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.endLocalPath?4() -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.endRemoteCommand?4() -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.endRemoteHost?4() -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.endRemotePath?4() -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.getVersion?4() -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.startConsoleDebugger?4(attrs) -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.startDebuggerProperties?4(attrs) -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.startDocumentDebuggerProperties?4() -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.startEnvironment?4(attrs) -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.startNoencoding?4(attrs) -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.startPathTranslation?4(attrs) -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.startRedirect?4(attrs) -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.startRemoteDebugger?4(attrs) -eric5.E4XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler?1(project) -eric5.E4XML.DebuggerPropertiesWriter.DebuggerPropertiesWriter.writeXML?4() -eric5.E4XML.DebuggerPropertiesWriter.DebuggerPropertiesWriter?1(file, projectName) -eric5.E4XML.HighlightingStylesHandler.HighlightingStylesHandler.getVersion?4() -eric5.E4XML.HighlightingStylesHandler.HighlightingStylesHandler.startDocumentHighlightingStyles?4() -eric5.E4XML.HighlightingStylesHandler.HighlightingStylesHandler.startHighlightingStyles?4(attrs) -eric5.E4XML.HighlightingStylesHandler.HighlightingStylesHandler.startLexer?4(attrs) -eric5.E4XML.HighlightingStylesHandler.HighlightingStylesHandler.startStyle?4(attrs) -eric5.E4XML.HighlightingStylesHandler.HighlightingStylesHandler?1(lexers) -eric5.E4XML.HighlightingStylesWriter.HighlightingStylesWriter.writeXML?4() -eric5.E4XML.HighlightingStylesWriter.HighlightingStylesWriter?1(file, lexers) -eric5.E4XML.MultiProjectHandler.MultiProjectHandler.endDescription?4() -eric5.E4XML.MultiProjectHandler.MultiProjectHandler.endProject?4() -eric5.E4XML.MultiProjectHandler.MultiProjectHandler.endProjectDescription?4() -eric5.E4XML.MultiProjectHandler.MultiProjectHandler.endProjectFile?4() -eric5.E4XML.MultiProjectHandler.MultiProjectHandler.endProjectName?4() -eric5.E4XML.MultiProjectHandler.MultiProjectHandler.getVersion?4() -eric5.E4XML.MultiProjectHandler.MultiProjectHandler.startDocumentMultiProject?4() -eric5.E4XML.MultiProjectHandler.MultiProjectHandler.startMultiProject?4(attrs) -eric5.E4XML.MultiProjectHandler.MultiProjectHandler.startProject?4(attrs) -eric5.E4XML.MultiProjectHandler.MultiProjectHandler?1(multiProject) -eric5.E4XML.MultiProjectWriter.MultiProjectWriter.writeXML?4() -eric5.E4XML.MultiProjectWriter.MultiProjectWriter?1(multiProject, file, multiProjectName) -eric5.E4XML.PluginRepositoryHandler.PluginRepositoryHandler.endAuthor?4() -eric5.E4XML.PluginRepositoryHandler.PluginRepositoryHandler.endDescription?4() -eric5.E4XML.PluginRepositoryHandler.PluginRepositoryHandler.endFilename?4() -eric5.E4XML.PluginRepositoryHandler.PluginRepositoryHandler.endName?4() -eric5.E4XML.PluginRepositoryHandler.PluginRepositoryHandler.endPlugin?4() -eric5.E4XML.PluginRepositoryHandler.PluginRepositoryHandler.endRepositoryUrl?4() -eric5.E4XML.PluginRepositoryHandler.PluginRepositoryHandler.endShort?4() -eric5.E4XML.PluginRepositoryHandler.PluginRepositoryHandler.endUrl?4() -eric5.E4XML.PluginRepositoryHandler.PluginRepositoryHandler.endVersion?4() -eric5.E4XML.PluginRepositoryHandler.PluginRepositoryHandler.getVersion?4() -eric5.E4XML.PluginRepositoryHandler.PluginRepositoryHandler.startDocumentPlugins?4() -eric5.E4XML.PluginRepositoryHandler.PluginRepositoryHandler.startPlugin?4(attrs) -eric5.E4XML.PluginRepositoryHandler.PluginRepositoryHandler.startPlugins?4(attrs) -eric5.E4XML.PluginRepositoryHandler.PluginRepositoryHandler?1(parent) -eric5.E4XML.ProjectHandler.ProjectHandler.endAuthor?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endCheckersParams?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endCxfreezeParams?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endDescription?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endDir?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endDocumentationParams?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endEmail?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endEric4ApiParams?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endEric4DocParams?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endForm?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endInterface?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endLanguage?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endMainScript?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endName?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endOther?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endOtherToolsParams?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endPackagersParams?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endProgLanguage?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endProjectExcludeList?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endProjectType?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endProjectTypeSpecificData?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endProjectWordList?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endPyLintParams?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endResource?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endSource?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endTranslation?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endTranslationException?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endTranslationPattern?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endTranslationPrefix?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endTranslationsBinPath?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endUIType?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endVcsOptions?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endVcsOtherData?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endVcsType?4() -eric5.E4XML.ProjectHandler.ProjectHandler.endVersion?4() -eric5.E4XML.ProjectHandler.ProjectHandler.getVersion?4() -eric5.E4XML.ProjectHandler.ProjectHandler.startCheckersParams?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startCxfreezeParams?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startDocumentProject?4() -eric5.E4XML.ProjectHandler.ProjectHandler.startDocumentationParams?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startEric4ApiParams?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startEric4DocParams?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startFiletypeAssociation?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startForm?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startInterface?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startLexerAssociation?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startMainScript?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startOther?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startOtherToolsParams?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startPackagersParams?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startProgLanguage?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startProject?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startProjectTypeSpecificData?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startPyLintParams?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startResource?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startSource?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startTranslation?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startTranslationException?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startTranslationPrefix?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startTranslationsBinPath?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startVcsOptions?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler.startVcsOtherData?4(attrs) -eric5.E4XML.ProjectHandler.ProjectHandler?1(project) -eric5.E4XML.ProjectWriter.ProjectWriter.writeXML?4() -eric5.E4XML.ProjectWriter.ProjectWriter?1(file, projectName) -eric5.E4XML.SessionHandler.SessionHandler.endBFilename?4() -eric5.E4XML.SessionHandler.SessionHandler.endBookmark?4() -eric5.E4XML.SessionHandler.SessionHandler.endBreakpoint?4() -eric5.E4XML.SessionHandler.SessionHandler.endCommandLine?4() -eric5.E4XML.SessionHandler.SessionHandler.endCondition?4() -eric5.E4XML.SessionHandler.SessionHandler.endEnvironment?4() -eric5.E4XML.SessionHandler.SessionHandler.endException?4() -eric5.E4XML.SessionHandler.SessionHandler.endExceptions?4() -eric5.E4XML.SessionHandler.SessionHandler.endFilename?4() -eric5.E4XML.SessionHandler.SessionHandler.endIgnoredException?4() -eric5.E4XML.SessionHandler.SessionHandler.endIgnoredExceptions?4() -eric5.E4XML.SessionHandler.SessionHandler.endMultiProject?4() -eric5.E4XML.SessionHandler.SessionHandler.endProject?4() -eric5.E4XML.SessionHandler.SessionHandler.endSpecial?4() -eric5.E4XML.SessionHandler.SessionHandler.endWatchexpression?4() -eric5.E4XML.SessionHandler.SessionHandler.endWorkingDirectory?4() -eric5.E4XML.SessionHandler.SessionHandler.getVersion?4() -eric5.E4XML.SessionHandler.SessionHandler.startAutoClearShell?4(attrs) -eric5.E4XML.SessionHandler.SessionHandler.startAutoContinue?4(attrs) -eric5.E4XML.SessionHandler.SessionHandler.startBookmark?4(attrs) -eric5.E4XML.SessionHandler.SessionHandler.startBreakpoint?4(attrs) -eric5.E4XML.SessionHandler.SessionHandler.startCount?4(attrs) -eric5.E4XML.SessionHandler.SessionHandler.startDocumentSession?4() -eric5.E4XML.SessionHandler.SessionHandler.startEnabled?4(attrs) -eric5.E4XML.SessionHandler.SessionHandler.startExceptions?4(attrs) -eric5.E4XML.SessionHandler.SessionHandler.startFilename?4(attrs) -eric5.E4XML.SessionHandler.SessionHandler.startIgnoredExceptions?4(attrs) -eric5.E4XML.SessionHandler.SessionHandler.startLinenumber?4(attrs) -eric5.E4XML.SessionHandler.SessionHandler.startReportExceptions?4(attrs) -eric5.E4XML.SessionHandler.SessionHandler.startSession?4(attrs) -eric5.E4XML.SessionHandler.SessionHandler.startTemporary?4(attrs) -eric5.E4XML.SessionHandler.SessionHandler.startTracePython?4(attrs) -eric5.E4XML.SessionHandler.SessionHandler.startWatchexpression?4(attrs) -eric5.E4XML.SessionHandler.SessionHandler?1(project) -eric5.E4XML.SessionWriter.SessionWriter.writeXML?4() -eric5.E4XML.SessionWriter.SessionWriter?1(file, projectName) -eric5.E4XML.ShortcutsHandler.ShortcutsHandler.endAccel?4() -eric5.E4XML.ShortcutsHandler.ShortcutsHandler.endAltAccel?4() -eric5.E4XML.ShortcutsHandler.ShortcutsHandler.endName?4() -eric5.E4XML.ShortcutsHandler.ShortcutsHandler.endShortcut?4() -eric5.E4XML.ShortcutsHandler.ShortcutsHandler.getShortcuts?4() -eric5.E4XML.ShortcutsHandler.ShortcutsHandler.getVersion?4() -eric5.E4XML.ShortcutsHandler.ShortcutsHandler.startDocumentShortcuts?4() -eric5.E4XML.ShortcutsHandler.ShortcutsHandler.startShortcut?4(attrs) -eric5.E4XML.ShortcutsHandler.ShortcutsHandler.startShortcuts?4(attrs) -eric5.E4XML.ShortcutsHandler.ShortcutsHandler?1() -eric5.E4XML.ShortcutsWriter.ShortcutsWriter.writeXML?4() -eric5.E4XML.ShortcutsWriter.ShortcutsWriter?1(file) -eric5.E4XML.TasksHandler.TasksHandler.endCreated?4() -eric5.E4XML.TasksHandler.TasksHandler.endDescription?4() -eric5.E4XML.TasksHandler.TasksHandler.endDir?4() -eric5.E4XML.TasksHandler.TasksHandler.endFilename?4() -eric5.E4XML.TasksHandler.TasksHandler.endLinenumber?4() -eric5.E4XML.TasksHandler.TasksHandler.endName?4() -eric5.E4XML.TasksHandler.TasksHandler.endSummary?4() -eric5.E4XML.TasksHandler.TasksHandler.endTask?4() -eric5.E4XML.TasksHandler.TasksHandler.getVersion?4() -eric5.E4XML.TasksHandler.TasksHandler.startDocumentTasks?4() -eric5.E4XML.TasksHandler.TasksHandler.startFilename?4(attrs) -eric5.E4XML.TasksHandler.TasksHandler.startTask?4(attrs) -eric5.E4XML.TasksHandler.TasksHandler.startTasks?4(attrs) -eric5.E4XML.TasksHandler.TasksHandler?1(forProject = False, taskViewer=None) -eric5.E4XML.TasksWriter.TasksWriter.writeXML?4() -eric5.E4XML.TasksWriter.TasksWriter?1(file, forProject = False, projectName="") -eric5.E4XML.TemplatesHandler.TemplatesHandler.endTemplate?4() -eric5.E4XML.TemplatesHandler.TemplatesHandler.endTemplateDescription?4() -eric5.E4XML.TemplatesHandler.TemplatesHandler.endTemplateText?4() -eric5.E4XML.TemplatesHandler.TemplatesHandler.getVersion?4() -eric5.E4XML.TemplatesHandler.TemplatesHandler.startDocumentTemplates?4() -eric5.E4XML.TemplatesHandler.TemplatesHandler.startTemplate?4(attrs) -eric5.E4XML.TemplatesHandler.TemplatesHandler.startTemplateGroup?4(attrs) -eric5.E4XML.TemplatesHandler.TemplatesHandler.startTemplates?4(attrs) -eric5.E4XML.TemplatesHandler.TemplatesHandler?1(templateViewer=None) -eric5.E4XML.TemplatesWriter.TemplatesWriter.writeXML?4() -eric5.E4XML.TemplatesWriter.TemplatesWriter?1(file, templatesViewer) -eric5.E4XML.UserProjectHandler.UserProjectHandler.endVcsType?4() -eric5.E4XML.UserProjectHandler.UserProjectHandler.getVersion?4() -eric5.E4XML.UserProjectHandler.UserProjectHandler.startDocumentProject?4() -eric5.E4XML.UserProjectHandler.UserProjectHandler.startUserProject?4(attrs) -eric5.E4XML.UserProjectHandler.UserProjectHandler.startVcsStatusMonitorInterval?4(attrs) -eric5.E4XML.UserProjectHandler.UserProjectHandler?1(project) -eric5.E4XML.UserProjectWriter.UserProjectWriter.writeXML?4() -eric5.E4XML.UserProjectWriter.UserProjectWriter?1(file, projectName) -eric5.E4XML.XMLEntityResolver.XMLEntityResolver.resolveEntity?4(publicId, systemId) -eric5.E4XML.XMLErrorHandler.XMLErrorHandler.error?4(exception) -eric5.E4XML.XMLErrorHandler.XMLErrorHandler.fatalError?4(exception) -eric5.E4XML.XMLErrorHandler.XMLErrorHandler.getParseMessages?4() -eric5.E4XML.XMLErrorHandler.XMLErrorHandler.showParseMessages?4() -eric5.E4XML.XMLErrorHandler.XMLErrorHandler.warning?4(exception) -eric5.E4XML.XMLErrorHandler.XMLErrorHandler?1() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase._prepareBasics?5() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.characters?4(chars) -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.decodedNewLines?4(text) -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.defaultEndElement?4() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.defaultStartElement?4(attrs) -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.endBool?4() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.endBytearray?4() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.endBytes?4() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.endComplex?4() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.endDictionary?4() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.endElement?4(name) -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.endFloat?4() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.endFrozenset?4() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.endInt?4() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.endList?4() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.endNone?4() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.endPickle?4() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.endSet?4() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.endString?4() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.endTuple?4() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.startDictionary?4(attrs) -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.startDocument?4() -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.startElement?4(name, attrs) -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.startFrozenset?4(attrs) -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.startList?4(attrs) -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.startPickle?4(attrs) -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.startSet?4(attrs) -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.startTuple?4(attrs) -eric5.E4XML.XMLHandlerBase.XMLHandlerBase.unescape?4(text, attribute = False) -eric5.E4XML.XMLHandlerBase.XMLHandlerBase?1() -eric5.E4XML.XMLMessageDialog.XMLMessageDialog?1(msgs, parent = None) -eric5.E4XML.XMLUtilities.make_parser?4(validating) -eric5.E4XML.XMLWriterBase.XMLWriterBase._write?5(s, newline = True) -eric5.E4XML.XMLWriterBase.XMLWriterBase._writeBasics?5(pyobject, indent = 0) -eric5.E4XML.XMLWriterBase.XMLWriterBase._write_bool?5(value, indent) -eric5.E4XML.XMLWriterBase.XMLWriterBase._write_bytearray?5(value, indent) -eric5.E4XML.XMLWriterBase.XMLWriterBase._write_bytes?5(value, indent) -eric5.E4XML.XMLWriterBase.XMLWriterBase._write_complex?5(value, indent) -eric5.E4XML.XMLWriterBase.XMLWriterBase._write_dictionary?5(value, indent) -eric5.E4XML.XMLWriterBase.XMLWriterBase._write_float?5(value, indent) -eric5.E4XML.XMLWriterBase.XMLWriterBase._write_frozenset?5(value, indent) -eric5.E4XML.XMLWriterBase.XMLWriterBase._write_int?5(value, indent) -eric5.E4XML.XMLWriterBase.XMLWriterBase._write_list?5(value, indent) -eric5.E4XML.XMLWriterBase.XMLWriterBase._write_none?5(value, indent) -eric5.E4XML.XMLWriterBase.XMLWriterBase._write_set?5(value, indent) -eric5.E4XML.XMLWriterBase.XMLWriterBase._write_string?5(value, indent) -eric5.E4XML.XMLWriterBase.XMLWriterBase._write_tuple?5(value, indent) -eric5.E4XML.XMLWriterBase.XMLWriterBase._write_unimplemented?5(value, indent) -eric5.E4XML.XMLWriterBase.XMLWriterBase.encodedNewLines?4(text) -eric5.E4XML.XMLWriterBase.XMLWriterBase.escape?4(data, attribute=False) -eric5.E4XML.XMLWriterBase.XMLWriterBase.writeXML?4() -eric5.E4XML.XMLWriterBase.XMLWriterBase?1(file) +eric5.E5XML.Config.debuggerPropertiesFileFormatVersion?7 +eric5.E5XML.Config.highlightingStylesFileFormatVersion?7 +eric5.E5XML.Config.multiProjectFileFormatVersion?7 +eric5.E5XML.Config.pluginRepositoryFileFormatVersion?7 +eric5.E5XML.Config.projectFileFormatVersion?7 +eric5.E5XML.Config.sessionFileFormatVersion?7 +eric5.E5XML.Config.shortcutsFileFormatVersion?7 +eric5.E5XML.Config.tasksFileFormatVersion?7 +eric5.E5XML.Config.templatesFileFormatVersion?7 +eric5.E5XML.Config.userProjectFileFormatVersion?7 +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.endConsoleDebugger?4() +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.endDebugClient?4() +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.endEnvironment?4() +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.endInterpreter?4() +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.endLocalPath?4() +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.endRemoteCommand?4() +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.endRemoteHost?4() +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.endRemotePath?4() +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.getVersion?4() +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.startConsoleDebugger?4(attrs) +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.startDebuggerProperties?4(attrs) +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.startDocumentDebuggerProperties?4() +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.startEnvironment?4(attrs) +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.startNoencoding?4(attrs) +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.startPathTranslation?4(attrs) +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.startRedirect?4(attrs) +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler.startRemoteDebugger?4(attrs) +eric5.E5XML.DebuggerPropertiesHandler.DebuggerPropertiesHandler?1(project) +eric5.E5XML.DebuggerPropertiesWriter.DebuggerPropertiesWriter.writeXML?4() +eric5.E5XML.DebuggerPropertiesWriter.DebuggerPropertiesWriter?1(file, projectName) +eric5.E5XML.HighlightingStylesHandler.HighlightingStylesHandler.getVersion?4() +eric5.E5XML.HighlightingStylesHandler.HighlightingStylesHandler.startDocumentHighlightingStyles?4() +eric5.E5XML.HighlightingStylesHandler.HighlightingStylesHandler.startHighlightingStyles?4(attrs) +eric5.E5XML.HighlightingStylesHandler.HighlightingStylesHandler.startLexer?4(attrs) +eric5.E5XML.HighlightingStylesHandler.HighlightingStylesHandler.startStyle?4(attrs) +eric5.E5XML.HighlightingStylesHandler.HighlightingStylesHandler?1(lexers) +eric5.E5XML.HighlightingStylesWriter.HighlightingStylesWriter.writeXML?4() +eric5.E5XML.HighlightingStylesWriter.HighlightingStylesWriter?1(file, lexers) +eric5.E5XML.MultiProjectHandler.MultiProjectHandler.endDescription?4() +eric5.E5XML.MultiProjectHandler.MultiProjectHandler.endProject?4() +eric5.E5XML.MultiProjectHandler.MultiProjectHandler.endProjectDescription?4() +eric5.E5XML.MultiProjectHandler.MultiProjectHandler.endProjectFile?4() +eric5.E5XML.MultiProjectHandler.MultiProjectHandler.endProjectName?4() +eric5.E5XML.MultiProjectHandler.MultiProjectHandler.getVersion?4() +eric5.E5XML.MultiProjectHandler.MultiProjectHandler.startDocumentMultiProject?4() +eric5.E5XML.MultiProjectHandler.MultiProjectHandler.startMultiProject?4(attrs) +eric5.E5XML.MultiProjectHandler.MultiProjectHandler.startProject?4(attrs) +eric5.E5XML.MultiProjectHandler.MultiProjectHandler?1(multiProject) +eric5.E5XML.MultiProjectWriter.MultiProjectWriter.writeXML?4() +eric5.E5XML.MultiProjectWriter.MultiProjectWriter?1(multiProject, file, multiProjectName) +eric5.E5XML.PluginRepositoryHandler.PluginRepositoryHandler.endAuthor?4() +eric5.E5XML.PluginRepositoryHandler.PluginRepositoryHandler.endDescription?4() +eric5.E5XML.PluginRepositoryHandler.PluginRepositoryHandler.endFilename?4() +eric5.E5XML.PluginRepositoryHandler.PluginRepositoryHandler.endName?4() +eric5.E5XML.PluginRepositoryHandler.PluginRepositoryHandler.endPlugin?4() +eric5.E5XML.PluginRepositoryHandler.PluginRepositoryHandler.endRepositoryUrl?4() +eric5.E5XML.PluginRepositoryHandler.PluginRepositoryHandler.endShort?4() +eric5.E5XML.PluginRepositoryHandler.PluginRepositoryHandler.endUrl?4() +eric5.E5XML.PluginRepositoryHandler.PluginRepositoryHandler.endVersion?4() +eric5.E5XML.PluginRepositoryHandler.PluginRepositoryHandler.getVersion?4() +eric5.E5XML.PluginRepositoryHandler.PluginRepositoryHandler.startDocumentPlugins?4() +eric5.E5XML.PluginRepositoryHandler.PluginRepositoryHandler.startPlugin?4(attrs) +eric5.E5XML.PluginRepositoryHandler.PluginRepositoryHandler.startPlugins?4(attrs) +eric5.E5XML.PluginRepositoryHandler.PluginRepositoryHandler?1(parent) +eric5.E5XML.ProjectHandler.ProjectHandler.endAuthor?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endCheckersParams?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endCxfreezeParams?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endDescription?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endDir?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endDocumentationParams?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endEmail?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endEric4ApiParams?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endEric4DocParams?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endForm?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endInterface?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endLanguage?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endMainScript?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endName?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endOther?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endOtherToolsParams?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endPackagersParams?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endProgLanguage?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endProjectExcludeList?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endProjectType?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endProjectTypeSpecificData?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endProjectWordList?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endPyLintParams?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endResource?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endSource?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endTranslation?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endTranslationException?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endTranslationPattern?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endTranslationPrefix?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endTranslationsBinPath?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endUIType?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endVcsOptions?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endVcsOtherData?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endVcsType?4() +eric5.E5XML.ProjectHandler.ProjectHandler.endVersion?4() +eric5.E5XML.ProjectHandler.ProjectHandler.getVersion?4() +eric5.E5XML.ProjectHandler.ProjectHandler.startCheckersParams?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startCxfreezeParams?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startDocumentProject?4() +eric5.E5XML.ProjectHandler.ProjectHandler.startDocumentationParams?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startEric4ApiParams?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startEric4DocParams?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startFiletypeAssociation?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startForm?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startInterface?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startLexerAssociation?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startMainScript?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startOther?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startOtherToolsParams?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startPackagersParams?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startProgLanguage?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startProject?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startProjectTypeSpecificData?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startPyLintParams?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startResource?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startSource?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startTranslation?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startTranslationException?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startTranslationPrefix?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startTranslationsBinPath?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startVcsOptions?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler.startVcsOtherData?4(attrs) +eric5.E5XML.ProjectHandler.ProjectHandler?1(project) +eric5.E5XML.ProjectWriter.ProjectWriter.writeXML?4() +eric5.E5XML.ProjectWriter.ProjectWriter?1(file, projectName) +eric5.E5XML.SessionHandler.SessionHandler.endBFilename?4() +eric5.E5XML.SessionHandler.SessionHandler.endBookmark?4() +eric5.E5XML.SessionHandler.SessionHandler.endBreakpoint?4() +eric5.E5XML.SessionHandler.SessionHandler.endCommandLine?4() +eric5.E5XML.SessionHandler.SessionHandler.endCondition?4() +eric5.E5XML.SessionHandler.SessionHandler.endEnvironment?4() +eric5.E5XML.SessionHandler.SessionHandler.endException?4() +eric5.E5XML.SessionHandler.SessionHandler.endExceptions?4() +eric5.E5XML.SessionHandler.SessionHandler.endFilename?4() +eric5.E5XML.SessionHandler.SessionHandler.endIgnoredException?4() +eric5.E5XML.SessionHandler.SessionHandler.endIgnoredExceptions?4() +eric5.E5XML.SessionHandler.SessionHandler.endMultiProject?4() +eric5.E5XML.SessionHandler.SessionHandler.endProject?4() +eric5.E5XML.SessionHandler.SessionHandler.endSpecial?4() +eric5.E5XML.SessionHandler.SessionHandler.endWatchexpression?4() +eric5.E5XML.SessionHandler.SessionHandler.endWorkingDirectory?4() +eric5.E5XML.SessionHandler.SessionHandler.getVersion?4() +eric5.E5XML.SessionHandler.SessionHandler.startAutoClearShell?4(attrs) +eric5.E5XML.SessionHandler.SessionHandler.startAutoContinue?4(attrs) +eric5.E5XML.SessionHandler.SessionHandler.startBookmark?4(attrs) +eric5.E5XML.SessionHandler.SessionHandler.startBreakpoint?4(attrs) +eric5.E5XML.SessionHandler.SessionHandler.startCount?4(attrs) +eric5.E5XML.SessionHandler.SessionHandler.startDocumentSession?4() +eric5.E5XML.SessionHandler.SessionHandler.startEnabled?4(attrs) +eric5.E5XML.SessionHandler.SessionHandler.startExceptions?4(attrs) +eric5.E5XML.SessionHandler.SessionHandler.startFilename?4(attrs) +eric5.E5XML.SessionHandler.SessionHandler.startIgnoredExceptions?4(attrs) +eric5.E5XML.SessionHandler.SessionHandler.startLinenumber?4(attrs) +eric5.E5XML.SessionHandler.SessionHandler.startReportExceptions?4(attrs) +eric5.E5XML.SessionHandler.SessionHandler.startSession?4(attrs) +eric5.E5XML.SessionHandler.SessionHandler.startTemporary?4(attrs) +eric5.E5XML.SessionHandler.SessionHandler.startTracePython?4(attrs) +eric5.E5XML.SessionHandler.SessionHandler.startWatchexpression?4(attrs) +eric5.E5XML.SessionHandler.SessionHandler?1(project) +eric5.E5XML.SessionWriter.SessionWriter.writeXML?4() +eric5.E5XML.SessionWriter.SessionWriter?1(file, projectName) +eric5.E5XML.ShortcutsHandler.ShortcutsHandler.endAccel?4() +eric5.E5XML.ShortcutsHandler.ShortcutsHandler.endAltAccel?4() +eric5.E5XML.ShortcutsHandler.ShortcutsHandler.endName?4() +eric5.E5XML.ShortcutsHandler.ShortcutsHandler.endShortcut?4() +eric5.E5XML.ShortcutsHandler.ShortcutsHandler.getShortcuts?4() +eric5.E5XML.ShortcutsHandler.ShortcutsHandler.getVersion?4() +eric5.E5XML.ShortcutsHandler.ShortcutsHandler.startDocumentShortcuts?4() +eric5.E5XML.ShortcutsHandler.ShortcutsHandler.startShortcut?4(attrs) +eric5.E5XML.ShortcutsHandler.ShortcutsHandler.startShortcuts?4(attrs) +eric5.E5XML.ShortcutsHandler.ShortcutsHandler?1() +eric5.E5XML.ShortcutsWriter.ShortcutsWriter.writeXML?4() +eric5.E5XML.ShortcutsWriter.ShortcutsWriter?1(file) +eric5.E5XML.TasksHandler.TasksHandler.endCreated?4() +eric5.E5XML.TasksHandler.TasksHandler.endDescription?4() +eric5.E5XML.TasksHandler.TasksHandler.endDir?4() +eric5.E5XML.TasksHandler.TasksHandler.endFilename?4() +eric5.E5XML.TasksHandler.TasksHandler.endLinenumber?4() +eric5.E5XML.TasksHandler.TasksHandler.endName?4() +eric5.E5XML.TasksHandler.TasksHandler.endSummary?4() +eric5.E5XML.TasksHandler.TasksHandler.endTask?4() +eric5.E5XML.TasksHandler.TasksHandler.getVersion?4() +eric5.E5XML.TasksHandler.TasksHandler.startDocumentTasks?4() +eric5.E5XML.TasksHandler.TasksHandler.startFilename?4(attrs) +eric5.E5XML.TasksHandler.TasksHandler.startTask?4(attrs) +eric5.E5XML.TasksHandler.TasksHandler.startTasks?4(attrs) +eric5.E5XML.TasksHandler.TasksHandler?1(forProject = False, taskViewer=None) +eric5.E5XML.TasksWriter.TasksWriter.writeXML?4() +eric5.E5XML.TasksWriter.TasksWriter?1(file, forProject = False, projectName="") +eric5.E5XML.TemplatesHandler.TemplatesHandler.endTemplate?4() +eric5.E5XML.TemplatesHandler.TemplatesHandler.endTemplateDescription?4() +eric5.E5XML.TemplatesHandler.TemplatesHandler.endTemplateText?4() +eric5.E5XML.TemplatesHandler.TemplatesHandler.getVersion?4() +eric5.E5XML.TemplatesHandler.TemplatesHandler.startDocumentTemplates?4() +eric5.E5XML.TemplatesHandler.TemplatesHandler.startTemplate?4(attrs) +eric5.E5XML.TemplatesHandler.TemplatesHandler.startTemplateGroup?4(attrs) +eric5.E5XML.TemplatesHandler.TemplatesHandler.startTemplates?4(attrs) +eric5.E5XML.TemplatesHandler.TemplatesHandler?1(templateViewer=None) +eric5.E5XML.TemplatesWriter.TemplatesWriter.writeXML?4() +eric5.E5XML.TemplatesWriter.TemplatesWriter?1(file, templatesViewer) +eric5.E5XML.UserProjectHandler.UserProjectHandler.endVcsType?4() +eric5.E5XML.UserProjectHandler.UserProjectHandler.getVersion?4() +eric5.E5XML.UserProjectHandler.UserProjectHandler.startDocumentProject?4() +eric5.E5XML.UserProjectHandler.UserProjectHandler.startUserProject?4(attrs) +eric5.E5XML.UserProjectHandler.UserProjectHandler.startVcsStatusMonitorInterval?4(attrs) +eric5.E5XML.UserProjectHandler.UserProjectHandler?1(project) +eric5.E5XML.UserProjectWriter.UserProjectWriter.writeXML?4() +eric5.E5XML.UserProjectWriter.UserProjectWriter?1(file, projectName) +eric5.E5XML.XMLEntityResolver.XMLEntityResolver.resolveEntity?4(publicId, systemId) +eric5.E5XML.XMLErrorHandler.XMLErrorHandler.error?4(exception) +eric5.E5XML.XMLErrorHandler.XMLErrorHandler.fatalError?4(exception) +eric5.E5XML.XMLErrorHandler.XMLErrorHandler.getParseMessages?4() +eric5.E5XML.XMLErrorHandler.XMLErrorHandler.showParseMessages?4() +eric5.E5XML.XMLErrorHandler.XMLErrorHandler.warning?4(exception) +eric5.E5XML.XMLErrorHandler.XMLErrorHandler?1() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase._prepareBasics?5() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.characters?4(chars) +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.decodedNewLines?4(text) +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.defaultEndElement?4() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.defaultStartElement?4(attrs) +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.endBool?4() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.endBytearray?4() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.endBytes?4() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.endComplex?4() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.endDictionary?4() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.endElement?4(name) +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.endFloat?4() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.endFrozenset?4() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.endInt?4() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.endList?4() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.endNone?4() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.endPickle?4() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.endSet?4() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.endString?4() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.endTuple?4() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.startDictionary?4(attrs) +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.startDocument?4() +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.startElement?4(name, attrs) +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.startFrozenset?4(attrs) +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.startList?4(attrs) +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.startPickle?4(attrs) +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.startSet?4(attrs) +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.startTuple?4(attrs) +eric5.E5XML.XMLHandlerBase.XMLHandlerBase.unescape?4(text, attribute = False) +eric5.E5XML.XMLHandlerBase.XMLHandlerBase?1() +eric5.E5XML.XMLMessageDialog.XMLMessageDialog?1(msgs, parent = None) +eric5.E5XML.XMLUtilities.make_parser?4(validating) +eric5.E5XML.XMLWriterBase.XMLWriterBase._write?5(s, newline = True) +eric5.E5XML.XMLWriterBase.XMLWriterBase._writeBasics?5(pyobject, indent = 0) +eric5.E5XML.XMLWriterBase.XMLWriterBase._write_bool?5(value, indent) +eric5.E5XML.XMLWriterBase.XMLWriterBase._write_bytearray?5(value, indent) +eric5.E5XML.XMLWriterBase.XMLWriterBase._write_bytes?5(value, indent) +eric5.E5XML.XMLWriterBase.XMLWriterBase._write_complex?5(value, indent) +eric5.E5XML.XMLWriterBase.XMLWriterBase._write_dictionary?5(value, indent) +eric5.E5XML.XMLWriterBase.XMLWriterBase._write_float?5(value, indent) +eric5.E5XML.XMLWriterBase.XMLWriterBase._write_frozenset?5(value, indent) +eric5.E5XML.XMLWriterBase.XMLWriterBase._write_int?5(value, indent) +eric5.E5XML.XMLWriterBase.XMLWriterBase._write_list?5(value, indent) +eric5.E5XML.XMLWriterBase.XMLWriterBase._write_none?5(value, indent) +eric5.E5XML.XMLWriterBase.XMLWriterBase._write_set?5(value, indent) +eric5.E5XML.XMLWriterBase.XMLWriterBase._write_string?5(value, indent) +eric5.E5XML.XMLWriterBase.XMLWriterBase._write_tuple?5(value, indent) +eric5.E5XML.XMLWriterBase.XMLWriterBase._write_unimplemented?5(value, indent) +eric5.E5XML.XMLWriterBase.XMLWriterBase.encodedNewLines?4(text) +eric5.E5XML.XMLWriterBase.XMLWriterBase.escape?4(data, attribute=False) +eric5.E5XML.XMLWriterBase.XMLWriterBase.writeXML?4() +eric5.E5XML.XMLWriterBase.XMLWriterBase?1(file) eric5.Globals.isWindowsPlatform?4() eric5.Globals.recentNameFiles?7 eric5.Globals.recentNameMultiProject?7
--- a/Documentation/Help/source.qhp Tue Jan 12 07:38:28 2010 +0000 +++ b/Documentation/Help/source.qhp Tue Jan 12 17:55:24 2010 +0000 @@ -129,33 +129,33 @@ <section title="eric5.E4Network.E4NetworkHeaderDetailsDialog" ref="eric5.E4Network.E4NetworkHeaderDetailsDialog.html" /> <section title="eric5.E4Network.E4NetworkMonitor" ref="eric5.E4Network.E4NetworkMonitor.html" /> </section> - <section title="eric5.E4XML" ref="index-eric5.E4XML.html"> - <section title="eric5.E4XML.Config" ref="eric5.E4XML.Config.html" /> - <section title="eric5.E4XML.DebuggerPropertiesHandler" ref="eric5.E4XML.DebuggerPropertiesHandler.html" /> - <section title="eric5.E4XML.DebuggerPropertiesWriter" ref="eric5.E4XML.DebuggerPropertiesWriter.html" /> - <section title="eric5.E4XML.HighlightingStylesHandler" ref="eric5.E4XML.HighlightingStylesHandler.html" /> - <section title="eric5.E4XML.HighlightingStylesWriter" ref="eric5.E4XML.HighlightingStylesWriter.html" /> - <section title="eric5.E4XML.MultiProjectHandler" ref="eric5.E4XML.MultiProjectHandler.html" /> - <section title="eric5.E4XML.MultiProjectWriter" ref="eric5.E4XML.MultiProjectWriter.html" /> - <section title="eric5.E4XML.PluginRepositoryHandler" ref="eric5.E4XML.PluginRepositoryHandler.html" /> - <section title="eric5.E4XML.ProjectHandler" ref="eric5.E4XML.ProjectHandler.html" /> - <section title="eric5.E4XML.ProjectWriter" ref="eric5.E4XML.ProjectWriter.html" /> - <section title="eric5.E4XML.SessionHandler" ref="eric5.E4XML.SessionHandler.html" /> - <section title="eric5.E4XML.SessionWriter" ref="eric5.E4XML.SessionWriter.html" /> - <section title="eric5.E4XML.ShortcutsHandler" ref="eric5.E4XML.ShortcutsHandler.html" /> - <section title="eric5.E4XML.ShortcutsWriter" ref="eric5.E4XML.ShortcutsWriter.html" /> - <section title="eric5.E4XML.TasksHandler" ref="eric5.E4XML.TasksHandler.html" /> - <section title="eric5.E4XML.TasksWriter" ref="eric5.E4XML.TasksWriter.html" /> - <section title="eric5.E4XML.TemplatesHandler" ref="eric5.E4XML.TemplatesHandler.html" /> - <section title="eric5.E4XML.TemplatesWriter" ref="eric5.E4XML.TemplatesWriter.html" /> - <section title="eric5.E4XML.UserProjectHandler" ref="eric5.E4XML.UserProjectHandler.html" /> - <section title="eric5.E4XML.UserProjectWriter" ref="eric5.E4XML.UserProjectWriter.html" /> - <section title="eric5.E4XML.XMLEntityResolver" ref="eric5.E4XML.XMLEntityResolver.html" /> - <section title="eric5.E4XML.XMLErrorHandler" ref="eric5.E4XML.XMLErrorHandler.html" /> - <section title="eric5.E4XML.XMLHandlerBase" ref="eric5.E4XML.XMLHandlerBase.html" /> - <section title="eric5.E4XML.XMLMessageDialog" ref="eric5.E4XML.XMLMessageDialog.html" /> - <section title="eric5.E4XML.XMLUtilities" ref="eric5.E4XML.XMLUtilities.html" /> - <section title="eric5.E4XML.XMLWriterBase" ref="eric5.E4XML.XMLWriterBase.html" /> + <section title="eric5.E5XML" ref="index-eric5.E5XML.html"> + <section title="eric5.E5XML.Config" ref="eric5.E5XML.Config.html" /> + <section title="eric5.E5XML.DebuggerPropertiesHandler" ref="eric5.E5XML.DebuggerPropertiesHandler.html" /> + <section title="eric5.E5XML.DebuggerPropertiesWriter" ref="eric5.E5XML.DebuggerPropertiesWriter.html" /> + <section title="eric5.E5XML.HighlightingStylesHandler" ref="eric5.E5XML.HighlightingStylesHandler.html" /> + <section title="eric5.E5XML.HighlightingStylesWriter" ref="eric5.E5XML.HighlightingStylesWriter.html" /> + <section title="eric5.E5XML.MultiProjectHandler" ref="eric5.E5XML.MultiProjectHandler.html" /> + <section title="eric5.E5XML.MultiProjectWriter" ref="eric5.E5XML.MultiProjectWriter.html" /> + <section title="eric5.E5XML.PluginRepositoryHandler" ref="eric5.E5XML.PluginRepositoryHandler.html" /> + <section title="eric5.E5XML.ProjectHandler" ref="eric5.E5XML.ProjectHandler.html" /> + <section title="eric5.E5XML.ProjectWriter" ref="eric5.E5XML.ProjectWriter.html" /> + <section title="eric5.E5XML.SessionHandler" ref="eric5.E5XML.SessionHandler.html" /> + <section title="eric5.E5XML.SessionWriter" ref="eric5.E5XML.SessionWriter.html" /> + <section title="eric5.E5XML.ShortcutsHandler" ref="eric5.E5XML.ShortcutsHandler.html" /> + <section title="eric5.E5XML.ShortcutsWriter" ref="eric5.E5XML.ShortcutsWriter.html" /> + <section title="eric5.E5XML.TasksHandler" ref="eric5.E5XML.TasksHandler.html" /> + <section title="eric5.E5XML.TasksWriter" ref="eric5.E5XML.TasksWriter.html" /> + <section title="eric5.E5XML.TemplatesHandler" ref="eric5.E5XML.TemplatesHandler.html" /> + <section title="eric5.E5XML.TemplatesWriter" ref="eric5.E5XML.TemplatesWriter.html" /> + <section title="eric5.E5XML.UserProjectHandler" ref="eric5.E5XML.UserProjectHandler.html" /> + <section title="eric5.E5XML.UserProjectWriter" ref="eric5.E5XML.UserProjectWriter.html" /> + <section title="eric5.E5XML.XMLEntityResolver" ref="eric5.E5XML.XMLEntityResolver.html" /> + <section title="eric5.E5XML.XMLErrorHandler" ref="eric5.E5XML.XMLErrorHandler.html" /> + <section title="eric5.E5XML.XMLHandlerBase" ref="eric5.E5XML.XMLHandlerBase.html" /> + <section title="eric5.E5XML.XMLMessageDialog" ref="eric5.E5XML.XMLMessageDialog.html" /> + <section title="eric5.E5XML.XMLUtilities" ref="eric5.E5XML.XMLUtilities.html" /> + <section title="eric5.E5XML.XMLWriterBase" ref="eric5.E5XML.XMLWriterBase.html" /> </section> <section title="eric5.Globals" ref="index-eric5.Globals.html"> <section title="eric5.Globals.__init__" ref="eric5.Globals.__init__.html" /> @@ -918,6 +918,323 @@ <keyword name="IconEditorWindow.__zoomOut" id="IconEditorWindow.__zoomOut" ref="eric5.IconEditor.IconEditorWindow.html#IconEditorWindow.__zoomOut" /> <keyword name="IconEditorWindow.__zoomReset" id="IconEditorWindow.__zoomReset" ref="eric5.IconEditor.IconEditorWindow.html#IconEditorWindow.__zoomReset" /> <keyword name="IconEditorWindow.closeEvent" id="IconEditorWindow.closeEvent" ref="eric5.IconEditor.IconEditorWindow.html#IconEditorWindow.closeEvent" /> + <keyword name="E5XML (Package)" id="E5XML (Package)" ref="index-eric5.E5XML.html" /> + <keyword name="TemplatesWriter (Module)" id="TemplatesWriter (Module)" ref="eric5.E5XML.TemplatesWriter.html" /> + <keyword name="TemplatesWriter" id="TemplatesWriter" ref="eric5.E5XML.TemplatesWriter.html#TemplatesWriter" /> + <keyword name="TemplatesWriter (Constructor)" id="TemplatesWriter (Constructor)" ref="eric5.E5XML.TemplatesWriter.html#TemplatesWriter.__init__" /> + <keyword name="TemplatesWriter.writeXML" id="TemplatesWriter.writeXML" ref="eric5.E5XML.TemplatesWriter.html#TemplatesWriter.writeXML" /> + <keyword name="PluginRepositoryHandler (Module)" id="PluginRepositoryHandler (Module)" ref="eric5.E5XML.PluginRepositoryHandler.html" /> + <keyword name="PluginRepositoryHandler" id="PluginRepositoryHandler" ref="eric5.E5XML.PluginRepositoryHandler.html#PluginRepositoryHandler" /> + <keyword name="PluginRepositoryHandler (Constructor)" id="PluginRepositoryHandler (Constructor)" ref="eric5.E5XML.PluginRepositoryHandler.html#PluginRepositoryHandler.__init__" /> + <keyword name="PluginRepositoryHandler.endAuthor" id="PluginRepositoryHandler.endAuthor" ref="eric5.E5XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endAuthor" /> + <keyword name="PluginRepositoryHandler.endDescription" id="PluginRepositoryHandler.endDescription" ref="eric5.E5XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endDescription" /> + <keyword name="PluginRepositoryHandler.endFilename" id="PluginRepositoryHandler.endFilename" ref="eric5.E5XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endFilename" /> + <keyword name="PluginRepositoryHandler.endName" id="PluginRepositoryHandler.endName" ref="eric5.E5XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endName" /> + <keyword name="PluginRepositoryHandler.endPlugin" id="PluginRepositoryHandler.endPlugin" ref="eric5.E5XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endPlugin" /> + <keyword name="PluginRepositoryHandler.endRepositoryUrl" id="PluginRepositoryHandler.endRepositoryUrl" ref="eric5.E5XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endRepositoryUrl" /> + <keyword name="PluginRepositoryHandler.endShort" id="PluginRepositoryHandler.endShort" ref="eric5.E5XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endShort" /> + <keyword name="PluginRepositoryHandler.endUrl" id="PluginRepositoryHandler.endUrl" ref="eric5.E5XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endUrl" /> + <keyword name="PluginRepositoryHandler.endVersion" id="PluginRepositoryHandler.endVersion" ref="eric5.E5XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endVersion" /> + <keyword name="PluginRepositoryHandler.getVersion" id="PluginRepositoryHandler.getVersion" ref="eric5.E5XML.PluginRepositoryHandler.html#PluginRepositoryHandler.getVersion" /> + <keyword name="PluginRepositoryHandler.startDocumentPlugins" id="PluginRepositoryHandler.startDocumentPlugins" ref="eric5.E5XML.PluginRepositoryHandler.html#PluginRepositoryHandler.startDocumentPlugins" /> + <keyword name="PluginRepositoryHandler.startPlugin" id="PluginRepositoryHandler.startPlugin" ref="eric5.E5XML.PluginRepositoryHandler.html#PluginRepositoryHandler.startPlugin" /> + <keyword name="PluginRepositoryHandler.startPlugins" id="PluginRepositoryHandler.startPlugins" ref="eric5.E5XML.PluginRepositoryHandler.html#PluginRepositoryHandler.startPlugins" /> + <keyword name="ShortcutsWriter (Module)" id="ShortcutsWriter (Module)" ref="eric5.E5XML.ShortcutsWriter.html" /> + <keyword name="ShortcutsWriter" id="ShortcutsWriter" ref="eric5.E5XML.ShortcutsWriter.html#ShortcutsWriter" /> + <keyword name="ShortcutsWriter (Constructor)" id="ShortcutsWriter (Constructor)" ref="eric5.E5XML.ShortcutsWriter.html#ShortcutsWriter.__init__" /> + <keyword name="ShortcutsWriter.writeXML" id="ShortcutsWriter.writeXML" ref="eric5.E5XML.ShortcutsWriter.html#ShortcutsWriter.writeXML" /> + <keyword name="UserProjectHandler (Module)" id="UserProjectHandler (Module)" ref="eric5.E5XML.UserProjectHandler.html" /> + <keyword name="UserProjectHandler" id="UserProjectHandler" ref="eric5.E5XML.UserProjectHandler.html#UserProjectHandler" /> + <keyword name="UserProjectHandler (Constructor)" id="UserProjectHandler (Constructor)" ref="eric5.E5XML.UserProjectHandler.html#UserProjectHandler.__init__" /> + <keyword name="UserProjectHandler.endVcsType" id="UserProjectHandler.endVcsType" ref="eric5.E5XML.UserProjectHandler.html#UserProjectHandler.endVcsType" /> + <keyword name="UserProjectHandler.getVersion" id="UserProjectHandler.getVersion" ref="eric5.E5XML.UserProjectHandler.html#UserProjectHandler.getVersion" /> + <keyword name="UserProjectHandler.startDocumentProject" id="UserProjectHandler.startDocumentProject" ref="eric5.E5XML.UserProjectHandler.html#UserProjectHandler.startDocumentProject" /> + <keyword name="UserProjectHandler.startUserProject" id="UserProjectHandler.startUserProject" ref="eric5.E5XML.UserProjectHandler.html#UserProjectHandler.startUserProject" /> + <keyword name="UserProjectHandler.startVcsStatusMonitorInterval" id="UserProjectHandler.startVcsStatusMonitorInterval" ref="eric5.E5XML.UserProjectHandler.html#UserProjectHandler.startVcsStatusMonitorInterval" /> + <keyword name="ProjectHandler (Module)" id="ProjectHandler (Module)" ref="eric5.E5XML.ProjectHandler.html" /> + <keyword name="ProjectHandler" id="ProjectHandler" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler" /> + <keyword name="ProjectHandler (Constructor)" id="ProjectHandler (Constructor)" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.__init__" /> + <keyword name="ProjectHandler.__buildPath" id="ProjectHandler.__buildPath" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.__buildPath" /> + <keyword name="ProjectHandler.endAuthor" id="ProjectHandler.endAuthor" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endAuthor" /> + <keyword name="ProjectHandler.endCheckersParams" id="ProjectHandler.endCheckersParams" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endCheckersParams" /> + <keyword name="ProjectHandler.endCxfreezeParams" id="ProjectHandler.endCxfreezeParams" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endCxfreezeParams" /> + <keyword name="ProjectHandler.endDescription" id="ProjectHandler.endDescription" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endDescription" /> + <keyword name="ProjectHandler.endDir" id="ProjectHandler.endDir" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endDir" /> + <keyword name="ProjectHandler.endDocumentationParams" id="ProjectHandler.endDocumentationParams" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endDocumentationParams" /> + <keyword name="ProjectHandler.endEmail" id="ProjectHandler.endEmail" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endEmail" /> + <keyword name="ProjectHandler.endEric4ApiParams" id="ProjectHandler.endEric4ApiParams" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endEric4ApiParams" /> + <keyword name="ProjectHandler.endEric4DocParams" id="ProjectHandler.endEric4DocParams" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endEric4DocParams" /> + <keyword name="ProjectHandler.endForm" id="ProjectHandler.endForm" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endForm" /> + <keyword name="ProjectHandler.endInterface" id="ProjectHandler.endInterface" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endInterface" /> + <keyword name="ProjectHandler.endLanguage" id="ProjectHandler.endLanguage" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endLanguage" /> + <keyword name="ProjectHandler.endMainScript" id="ProjectHandler.endMainScript" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endMainScript" /> + <keyword name="ProjectHandler.endName" id="ProjectHandler.endName" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endName" /> + <keyword name="ProjectHandler.endOther" id="ProjectHandler.endOther" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endOther" /> + <keyword name="ProjectHandler.endOtherToolsParams" id="ProjectHandler.endOtherToolsParams" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endOtherToolsParams" /> + <keyword name="ProjectHandler.endPackagersParams" id="ProjectHandler.endPackagersParams" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endPackagersParams" /> + <keyword name="ProjectHandler.endProgLanguage" id="ProjectHandler.endProgLanguage" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endProgLanguage" /> + <keyword name="ProjectHandler.endProjectExcludeList" id="ProjectHandler.endProjectExcludeList" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endProjectExcludeList" /> + <keyword name="ProjectHandler.endProjectType" id="ProjectHandler.endProjectType" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endProjectType" /> + <keyword name="ProjectHandler.endProjectTypeSpecificData" id="ProjectHandler.endProjectTypeSpecificData" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endProjectTypeSpecificData" /> + <keyword name="ProjectHandler.endProjectWordList" id="ProjectHandler.endProjectWordList" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endProjectWordList" /> + <keyword name="ProjectHandler.endPyLintParams" id="ProjectHandler.endPyLintParams" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endPyLintParams" /> + <keyword name="ProjectHandler.endResource" id="ProjectHandler.endResource" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endResource" /> + <keyword name="ProjectHandler.endSource" id="ProjectHandler.endSource" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endSource" /> + <keyword name="ProjectHandler.endTranslation" id="ProjectHandler.endTranslation" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endTranslation" /> + <keyword name="ProjectHandler.endTranslationException" id="ProjectHandler.endTranslationException" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endTranslationException" /> + <keyword name="ProjectHandler.endTranslationPattern" id="ProjectHandler.endTranslationPattern" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endTranslationPattern" /> + <keyword name="ProjectHandler.endTranslationPrefix" id="ProjectHandler.endTranslationPrefix" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endTranslationPrefix" /> + <keyword name="ProjectHandler.endTranslationsBinPath" id="ProjectHandler.endTranslationsBinPath" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endTranslationsBinPath" /> + <keyword name="ProjectHandler.endUIType" id="ProjectHandler.endUIType" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endUIType" /> + <keyword name="ProjectHandler.endVcsOptions" id="ProjectHandler.endVcsOptions" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endVcsOptions" /> + <keyword name="ProjectHandler.endVcsOtherData" id="ProjectHandler.endVcsOtherData" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endVcsOtherData" /> + <keyword name="ProjectHandler.endVcsType" id="ProjectHandler.endVcsType" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endVcsType" /> + <keyword name="ProjectHandler.endVersion" id="ProjectHandler.endVersion" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.endVersion" /> + <keyword name="ProjectHandler.getVersion" id="ProjectHandler.getVersion" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.getVersion" /> + <keyword name="ProjectHandler.startCheckersParams" id="ProjectHandler.startCheckersParams" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startCheckersParams" /> + <keyword name="ProjectHandler.startCxfreezeParams" id="ProjectHandler.startCxfreezeParams" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startCxfreezeParams" /> + <keyword name="ProjectHandler.startDocumentProject" id="ProjectHandler.startDocumentProject" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startDocumentProject" /> + <keyword name="ProjectHandler.startDocumentationParams" id="ProjectHandler.startDocumentationParams" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startDocumentationParams" /> + <keyword name="ProjectHandler.startEric4ApiParams" id="ProjectHandler.startEric4ApiParams" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startEric4ApiParams" /> + <keyword name="ProjectHandler.startEric4DocParams" id="ProjectHandler.startEric4DocParams" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startEric4DocParams" /> + <keyword name="ProjectHandler.startFiletypeAssociation" id="ProjectHandler.startFiletypeAssociation" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startFiletypeAssociation" /> + <keyword name="ProjectHandler.startForm" id="ProjectHandler.startForm" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startForm" /> + <keyword name="ProjectHandler.startInterface" id="ProjectHandler.startInterface" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startInterface" /> + <keyword name="ProjectHandler.startLexerAssociation" id="ProjectHandler.startLexerAssociation" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startLexerAssociation" /> + <keyword name="ProjectHandler.startMainScript" id="ProjectHandler.startMainScript" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startMainScript" /> + <keyword name="ProjectHandler.startOther" id="ProjectHandler.startOther" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startOther" /> + <keyword name="ProjectHandler.startOtherToolsParams" id="ProjectHandler.startOtherToolsParams" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startOtherToolsParams" /> + <keyword name="ProjectHandler.startPackagersParams" id="ProjectHandler.startPackagersParams" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startPackagersParams" /> + <keyword name="ProjectHandler.startProgLanguage" id="ProjectHandler.startProgLanguage" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startProgLanguage" /> + <keyword name="ProjectHandler.startProject" id="ProjectHandler.startProject" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startProject" /> + <keyword name="ProjectHandler.startProjectTypeSpecificData" id="ProjectHandler.startProjectTypeSpecificData" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startProjectTypeSpecificData" /> + <keyword name="ProjectHandler.startPyLintParams" id="ProjectHandler.startPyLintParams" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startPyLintParams" /> + <keyword name="ProjectHandler.startResource" id="ProjectHandler.startResource" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startResource" /> + <keyword name="ProjectHandler.startSource" id="ProjectHandler.startSource" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startSource" /> + <keyword name="ProjectHandler.startTranslation" id="ProjectHandler.startTranslation" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startTranslation" /> + <keyword name="ProjectHandler.startTranslationException" id="ProjectHandler.startTranslationException" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startTranslationException" /> + <keyword name="ProjectHandler.startTranslationPrefix" id="ProjectHandler.startTranslationPrefix" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startTranslationPrefix" /> + <keyword name="ProjectHandler.startTranslationsBinPath" id="ProjectHandler.startTranslationsBinPath" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startTranslationsBinPath" /> + <keyword name="ProjectHandler.startVcsOptions" id="ProjectHandler.startVcsOptions" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startVcsOptions" /> + <keyword name="ProjectHandler.startVcsOtherData" id="ProjectHandler.startVcsOtherData" ref="eric5.E5XML.ProjectHandler.html#ProjectHandler.startVcsOtherData" /> + <keyword name="DebuggerPropertiesHandler (Module)" id="DebuggerPropertiesHandler (Module)" ref="eric5.E5XML.DebuggerPropertiesHandler.html" /> + <keyword name="DebuggerPropertiesHandler" id="DebuggerPropertiesHandler" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler" /> + <keyword name="DebuggerPropertiesHandler (Constructor)" id="DebuggerPropertiesHandler (Constructor)" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.__init__" /> + <keyword name="DebuggerPropertiesHandler.endConsoleDebugger" id="DebuggerPropertiesHandler.endConsoleDebugger" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.endConsoleDebugger" /> + <keyword name="DebuggerPropertiesHandler.endDebugClient" id="DebuggerPropertiesHandler.endDebugClient" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.endDebugClient" /> + <keyword name="DebuggerPropertiesHandler.endEnvironment" id="DebuggerPropertiesHandler.endEnvironment" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.endEnvironment" /> + <keyword name="DebuggerPropertiesHandler.endInterpreter" id="DebuggerPropertiesHandler.endInterpreter" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.endInterpreter" /> + <keyword name="DebuggerPropertiesHandler.endLocalPath" id="DebuggerPropertiesHandler.endLocalPath" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.endLocalPath" /> + <keyword name="DebuggerPropertiesHandler.endRemoteCommand" id="DebuggerPropertiesHandler.endRemoteCommand" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.endRemoteCommand" /> + <keyword name="DebuggerPropertiesHandler.endRemoteHost" id="DebuggerPropertiesHandler.endRemoteHost" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.endRemoteHost" /> + <keyword name="DebuggerPropertiesHandler.endRemotePath" id="DebuggerPropertiesHandler.endRemotePath" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.endRemotePath" /> + <keyword name="DebuggerPropertiesHandler.getVersion" id="DebuggerPropertiesHandler.getVersion" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.getVersion" /> + <keyword name="DebuggerPropertiesHandler.startConsoleDebugger" id="DebuggerPropertiesHandler.startConsoleDebugger" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.startConsoleDebugger" /> + <keyword name="DebuggerPropertiesHandler.startDebuggerProperties" id="DebuggerPropertiesHandler.startDebuggerProperties" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.startDebuggerProperties" /> + <keyword name="DebuggerPropertiesHandler.startDocumentDebuggerProperties" id="DebuggerPropertiesHandler.startDocumentDebuggerProperties" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.startDocumentDebuggerProperties" /> + <keyword name="DebuggerPropertiesHandler.startEnvironment" id="DebuggerPropertiesHandler.startEnvironment" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.startEnvironment" /> + <keyword name="DebuggerPropertiesHandler.startNoencoding" id="DebuggerPropertiesHandler.startNoencoding" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.startNoencoding" /> + <keyword name="DebuggerPropertiesHandler.startPathTranslation" id="DebuggerPropertiesHandler.startPathTranslation" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.startPathTranslation" /> + <keyword name="DebuggerPropertiesHandler.startRedirect" id="DebuggerPropertiesHandler.startRedirect" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.startRedirect" /> + <keyword name="DebuggerPropertiesHandler.startRemoteDebugger" id="DebuggerPropertiesHandler.startRemoteDebugger" ref="eric5.E5XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.startRemoteDebugger" /> + <keyword name="TasksWriter (Module)" id="TasksWriter (Module)" ref="eric5.E5XML.TasksWriter.html" /> + <keyword name="TasksWriter" id="TasksWriter" ref="eric5.E5XML.TasksWriter.html#TasksWriter" /> + <keyword name="TasksWriter (Constructor)" id="TasksWriter (Constructor)" ref="eric5.E5XML.TasksWriter.html#TasksWriter.__init__" /> + <keyword name="TasksWriter.writeXML" id="TasksWriter.writeXML" ref="eric5.E5XML.TasksWriter.html#TasksWriter.writeXML" /> + <keyword name="UserProjectWriter (Module)" id="UserProjectWriter (Module)" ref="eric5.E5XML.UserProjectWriter.html" /> + <keyword name="UserProjectWriter" id="UserProjectWriter" ref="eric5.E5XML.UserProjectWriter.html#UserProjectWriter" /> + <keyword name="UserProjectWriter (Constructor)" id="UserProjectWriter (Constructor)" ref="eric5.E5XML.UserProjectWriter.html#UserProjectWriter.__init__" /> + <keyword name="UserProjectWriter.writeXML" id="UserProjectWriter.writeXML" ref="eric5.E5XML.UserProjectWriter.html#UserProjectWriter.writeXML" /> + <keyword name="TemplatesHandler (Module)" id="TemplatesHandler (Module)" ref="eric5.E5XML.TemplatesHandler.html" /> + <keyword name="TemplatesHandler" id="TemplatesHandler" ref="eric5.E5XML.TemplatesHandler.html#TemplatesHandler" /> + <keyword name="TemplatesHandler (Constructor)" id="TemplatesHandler (Constructor)" ref="eric5.E5XML.TemplatesHandler.html#TemplatesHandler.__init__" /> + <keyword name="TemplatesHandler.endTemplate" id="TemplatesHandler.endTemplate" ref="eric5.E5XML.TemplatesHandler.html#TemplatesHandler.endTemplate" /> + <keyword name="TemplatesHandler.endTemplateDescription" id="TemplatesHandler.endTemplateDescription" ref="eric5.E5XML.TemplatesHandler.html#TemplatesHandler.endTemplateDescription" /> + <keyword name="TemplatesHandler.endTemplateText" id="TemplatesHandler.endTemplateText" ref="eric5.E5XML.TemplatesHandler.html#TemplatesHandler.endTemplateText" /> + <keyword name="TemplatesHandler.getVersion" id="TemplatesHandler.getVersion" ref="eric5.E5XML.TemplatesHandler.html#TemplatesHandler.getVersion" /> + <keyword name="TemplatesHandler.startDocumentTemplates" id="TemplatesHandler.startDocumentTemplates" ref="eric5.E5XML.TemplatesHandler.html#TemplatesHandler.startDocumentTemplates" /> + <keyword name="TemplatesHandler.startTemplate" id="TemplatesHandler.startTemplate" ref="eric5.E5XML.TemplatesHandler.html#TemplatesHandler.startTemplate" /> + <keyword name="TemplatesHandler.startTemplateGroup" id="TemplatesHandler.startTemplateGroup" ref="eric5.E5XML.TemplatesHandler.html#TemplatesHandler.startTemplateGroup" /> + <keyword name="TemplatesHandler.startTemplates" id="TemplatesHandler.startTemplates" ref="eric5.E5XML.TemplatesHandler.html#TemplatesHandler.startTemplates" /> + <keyword name="XMLErrorHandler (Module)" id="XMLErrorHandler (Module)" ref="eric5.E5XML.XMLErrorHandler.html" /> + <keyword name="XMLErrorHandler" id="XMLErrorHandler" ref="eric5.E5XML.XMLErrorHandler.html#XMLErrorHandler" /> + <keyword name="XMLFatalParseError" id="XMLFatalParseError" ref="eric5.E5XML.XMLErrorHandler.html#XMLFatalParseError" /> + <keyword name="XMLParseError" id="XMLParseError" ref="eric5.E5XML.XMLErrorHandler.html#XMLParseError" /> + <keyword name="XMLErrorHandler (Constructor)" id="XMLErrorHandler (Constructor)" ref="eric5.E5XML.XMLErrorHandler.html#XMLErrorHandler.__init__" /> + <keyword name="XMLErrorHandler.error" id="XMLErrorHandler.error" ref="eric5.E5XML.XMLErrorHandler.html#XMLErrorHandler.error" /> + <keyword name="XMLErrorHandler.fatalError" id="XMLErrorHandler.fatalError" ref="eric5.E5XML.XMLErrorHandler.html#XMLErrorHandler.fatalError" /> + <keyword name="XMLErrorHandler.getParseMessages" id="XMLErrorHandler.getParseMessages" ref="eric5.E5XML.XMLErrorHandler.html#XMLErrorHandler.getParseMessages" /> + <keyword name="XMLErrorHandler.showParseMessages" id="XMLErrorHandler.showParseMessages" ref="eric5.E5XML.XMLErrorHandler.html#XMLErrorHandler.showParseMessages" /> + <keyword name="XMLErrorHandler.warning" id="XMLErrorHandler.warning" ref="eric5.E5XML.XMLErrorHandler.html#XMLErrorHandler.warning" /> + <keyword name="XMLHandlerBase (Module)" id="XMLHandlerBase (Module)" ref="eric5.E5XML.XMLHandlerBase.html" /> + <keyword name="XMLHandlerBase" id="XMLHandlerBase" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase" /> + <keyword name="XMLHandlerBase (Constructor)" id="XMLHandlerBase (Constructor)" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.__init__" /> + <keyword name="XMLHandlerBase._prepareBasics" id="XMLHandlerBase._prepareBasics" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase._prepareBasics" /> + <keyword name="XMLHandlerBase.characters" id="XMLHandlerBase.characters" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.characters" /> + <keyword name="XMLHandlerBase.decodedNewLines" id="XMLHandlerBase.decodedNewLines" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.decodedNewLines" /> + <keyword name="XMLHandlerBase.defaultEndElement" id="XMLHandlerBase.defaultEndElement" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.defaultEndElement" /> + <keyword name="XMLHandlerBase.defaultStartElement" id="XMLHandlerBase.defaultStartElement" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.defaultStartElement" /> + <keyword name="XMLHandlerBase.endBool" id="XMLHandlerBase.endBool" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.endBool" /> + <keyword name="XMLHandlerBase.endBytearray" id="XMLHandlerBase.endBytearray" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.endBytearray" /> + <keyword name="XMLHandlerBase.endBytes" id="XMLHandlerBase.endBytes" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.endBytes" /> + <keyword name="XMLHandlerBase.endComplex" id="XMLHandlerBase.endComplex" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.endComplex" /> + <keyword name="XMLHandlerBase.endDictionary" id="XMLHandlerBase.endDictionary" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.endDictionary" /> + <keyword name="XMLHandlerBase.endElement" id="XMLHandlerBase.endElement" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.endElement" /> + <keyword name="XMLHandlerBase.endFloat" id="XMLHandlerBase.endFloat" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.endFloat" /> + <keyword name="XMLHandlerBase.endFrozenset" id="XMLHandlerBase.endFrozenset" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.endFrozenset" /> + <keyword name="XMLHandlerBase.endInt" id="XMLHandlerBase.endInt" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.endInt" /> + <keyword name="XMLHandlerBase.endList" id="XMLHandlerBase.endList" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.endList" /> + <keyword name="XMLHandlerBase.endNone" id="XMLHandlerBase.endNone" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.endNone" /> + <keyword name="XMLHandlerBase.endPickle" id="XMLHandlerBase.endPickle" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.endPickle" /> + <keyword name="XMLHandlerBase.endSet" id="XMLHandlerBase.endSet" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.endSet" /> + <keyword name="XMLHandlerBase.endString" id="XMLHandlerBase.endString" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.endString" /> + <keyword name="XMLHandlerBase.endTuple" id="XMLHandlerBase.endTuple" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.endTuple" /> + <keyword name="XMLHandlerBase.startDictionary" id="XMLHandlerBase.startDictionary" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.startDictionary" /> + <keyword name="XMLHandlerBase.startDocument" id="XMLHandlerBase.startDocument" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.startDocument" /> + <keyword name="XMLHandlerBase.startElement" id="XMLHandlerBase.startElement" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.startElement" /> + <keyword name="XMLHandlerBase.startFrozenset" id="XMLHandlerBase.startFrozenset" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.startFrozenset" /> + <keyword name="XMLHandlerBase.startList" id="XMLHandlerBase.startList" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.startList" /> + <keyword name="XMLHandlerBase.startPickle" id="XMLHandlerBase.startPickle" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.startPickle" /> + <keyword name="XMLHandlerBase.startSet" id="XMLHandlerBase.startSet" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.startSet" /> + <keyword name="XMLHandlerBase.startTuple" id="XMLHandlerBase.startTuple" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.startTuple" /> + <keyword name="XMLHandlerBase.unescape" id="XMLHandlerBase.unescape" ref="eric5.E5XML.XMLHandlerBase.html#XMLHandlerBase.unescape" /> + <keyword name="MultiProjectWriter (Module)" id="MultiProjectWriter (Module)" ref="eric5.E5XML.MultiProjectWriter.html" /> + <keyword name="MultiProjectWriter" id="MultiProjectWriter" ref="eric5.E5XML.MultiProjectWriter.html#MultiProjectWriter" /> + <keyword name="MultiProjectWriter (Constructor)" id="MultiProjectWriter (Constructor)" ref="eric5.E5XML.MultiProjectWriter.html#MultiProjectWriter.__init__" /> + <keyword name="MultiProjectWriter.writeXML" id="MultiProjectWriter.writeXML" ref="eric5.E5XML.MultiProjectWriter.html#MultiProjectWriter.writeXML" /> + <keyword name="MultiProjectHandler (Module)" id="MultiProjectHandler (Module)" ref="eric5.E5XML.MultiProjectHandler.html" /> + <keyword name="MultiProjectHandler" id="MultiProjectHandler" ref="eric5.E5XML.MultiProjectHandler.html#MultiProjectHandler" /> + <keyword name="MultiProjectHandler (Constructor)" id="MultiProjectHandler (Constructor)" ref="eric5.E5XML.MultiProjectHandler.html#MultiProjectHandler.__init__" /> + <keyword name="MultiProjectHandler.endDescription" id="MultiProjectHandler.endDescription" ref="eric5.E5XML.MultiProjectHandler.html#MultiProjectHandler.endDescription" /> + <keyword name="MultiProjectHandler.endProject" id="MultiProjectHandler.endProject" ref="eric5.E5XML.MultiProjectHandler.html#MultiProjectHandler.endProject" /> + <keyword name="MultiProjectHandler.endProjectDescription" id="MultiProjectHandler.endProjectDescription" ref="eric5.E5XML.MultiProjectHandler.html#MultiProjectHandler.endProjectDescription" /> + <keyword name="MultiProjectHandler.endProjectFile" id="MultiProjectHandler.endProjectFile" ref="eric5.E5XML.MultiProjectHandler.html#MultiProjectHandler.endProjectFile" /> + <keyword name="MultiProjectHandler.endProjectName" id="MultiProjectHandler.endProjectName" ref="eric5.E5XML.MultiProjectHandler.html#MultiProjectHandler.endProjectName" /> + <keyword name="MultiProjectHandler.getVersion" id="MultiProjectHandler.getVersion" ref="eric5.E5XML.MultiProjectHandler.html#MultiProjectHandler.getVersion" /> + <keyword name="MultiProjectHandler.startDocumentMultiProject" id="MultiProjectHandler.startDocumentMultiProject" ref="eric5.E5XML.MultiProjectHandler.html#MultiProjectHandler.startDocumentMultiProject" /> + <keyword name="MultiProjectHandler.startMultiProject" id="MultiProjectHandler.startMultiProject" ref="eric5.E5XML.MultiProjectHandler.html#MultiProjectHandler.startMultiProject" /> + <keyword name="MultiProjectHandler.startProject" id="MultiProjectHandler.startProject" ref="eric5.E5XML.MultiProjectHandler.html#MultiProjectHandler.startProject" /> + <keyword name="DebuggerPropertiesWriter (Module)" id="DebuggerPropertiesWriter (Module)" ref="eric5.E5XML.DebuggerPropertiesWriter.html" /> + <keyword name="DebuggerPropertiesWriter" id="DebuggerPropertiesWriter" ref="eric5.E5XML.DebuggerPropertiesWriter.html#DebuggerPropertiesWriter" /> + <keyword name="DebuggerPropertiesWriter (Constructor)" id="DebuggerPropertiesWriter (Constructor)" ref="eric5.E5XML.DebuggerPropertiesWriter.html#DebuggerPropertiesWriter.__init__" /> + <keyword name="DebuggerPropertiesWriter.writeXML" id="DebuggerPropertiesWriter.writeXML" ref="eric5.E5XML.DebuggerPropertiesWriter.html#DebuggerPropertiesWriter.writeXML" /> + <keyword name="SessionHandler (Module)" id="SessionHandler (Module)" ref="eric5.E5XML.SessionHandler.html" /> + <keyword name="SessionHandler" id="SessionHandler" ref="eric5.E5XML.SessionHandler.html#SessionHandler" /> + <keyword name="SessionHandler (Constructor)" id="SessionHandler (Constructor)" ref="eric5.E5XML.SessionHandler.html#SessionHandler.__init__" /> + <keyword name="SessionHandler.endBFilename" id="SessionHandler.endBFilename" ref="eric5.E5XML.SessionHandler.html#SessionHandler.endBFilename" /> + <keyword name="SessionHandler.endBookmark" id="SessionHandler.endBookmark" ref="eric5.E5XML.SessionHandler.html#SessionHandler.endBookmark" /> + <keyword name="SessionHandler.endBreakpoint" id="SessionHandler.endBreakpoint" ref="eric5.E5XML.SessionHandler.html#SessionHandler.endBreakpoint" /> + <keyword name="SessionHandler.endCommandLine" id="SessionHandler.endCommandLine" ref="eric5.E5XML.SessionHandler.html#SessionHandler.endCommandLine" /> + <keyword name="SessionHandler.endCondition" id="SessionHandler.endCondition" ref="eric5.E5XML.SessionHandler.html#SessionHandler.endCondition" /> + <keyword name="SessionHandler.endEnvironment" id="SessionHandler.endEnvironment" ref="eric5.E5XML.SessionHandler.html#SessionHandler.endEnvironment" /> + <keyword name="SessionHandler.endException" id="SessionHandler.endException" ref="eric5.E5XML.SessionHandler.html#SessionHandler.endException" /> + <keyword name="SessionHandler.endExceptions" id="SessionHandler.endExceptions" ref="eric5.E5XML.SessionHandler.html#SessionHandler.endExceptions" /> + <keyword name="SessionHandler.endFilename" id="SessionHandler.endFilename" ref="eric5.E5XML.SessionHandler.html#SessionHandler.endFilename" /> + <keyword name="SessionHandler.endIgnoredException" id="SessionHandler.endIgnoredException" ref="eric5.E5XML.SessionHandler.html#SessionHandler.endIgnoredException" /> + <keyword name="SessionHandler.endIgnoredExceptions" id="SessionHandler.endIgnoredExceptions" ref="eric5.E5XML.SessionHandler.html#SessionHandler.endIgnoredExceptions" /> + <keyword name="SessionHandler.endMultiProject" id="SessionHandler.endMultiProject" ref="eric5.E5XML.SessionHandler.html#SessionHandler.endMultiProject" /> + <keyword name="SessionHandler.endProject" id="SessionHandler.endProject" ref="eric5.E5XML.SessionHandler.html#SessionHandler.endProject" /> + <keyword name="SessionHandler.endSpecial" id="SessionHandler.endSpecial" ref="eric5.E5XML.SessionHandler.html#SessionHandler.endSpecial" /> + <keyword name="SessionHandler.endWatchexpression" id="SessionHandler.endWatchexpression" ref="eric5.E5XML.SessionHandler.html#SessionHandler.endWatchexpression" /> + <keyword name="SessionHandler.endWorkingDirectory" id="SessionHandler.endWorkingDirectory" ref="eric5.E5XML.SessionHandler.html#SessionHandler.endWorkingDirectory" /> + <keyword name="SessionHandler.getVersion" id="SessionHandler.getVersion" ref="eric5.E5XML.SessionHandler.html#SessionHandler.getVersion" /> + <keyword name="SessionHandler.startAutoClearShell" id="SessionHandler.startAutoClearShell" ref="eric5.E5XML.SessionHandler.html#SessionHandler.startAutoClearShell" /> + <keyword name="SessionHandler.startAutoContinue" id="SessionHandler.startAutoContinue" ref="eric5.E5XML.SessionHandler.html#SessionHandler.startAutoContinue" /> + <keyword name="SessionHandler.startBookmark" id="SessionHandler.startBookmark" ref="eric5.E5XML.SessionHandler.html#SessionHandler.startBookmark" /> + <keyword name="SessionHandler.startBreakpoint" id="SessionHandler.startBreakpoint" ref="eric5.E5XML.SessionHandler.html#SessionHandler.startBreakpoint" /> + <keyword name="SessionHandler.startCount" id="SessionHandler.startCount" ref="eric5.E5XML.SessionHandler.html#SessionHandler.startCount" /> + <keyword name="SessionHandler.startDocumentSession" id="SessionHandler.startDocumentSession" ref="eric5.E5XML.SessionHandler.html#SessionHandler.startDocumentSession" /> + <keyword name="SessionHandler.startEnabled" id="SessionHandler.startEnabled" ref="eric5.E5XML.SessionHandler.html#SessionHandler.startEnabled" /> + <keyword name="SessionHandler.startExceptions" id="SessionHandler.startExceptions" ref="eric5.E5XML.SessionHandler.html#SessionHandler.startExceptions" /> + <keyword name="SessionHandler.startFilename" id="SessionHandler.startFilename" ref="eric5.E5XML.SessionHandler.html#SessionHandler.startFilename" /> + <keyword name="SessionHandler.startIgnoredExceptions" id="SessionHandler.startIgnoredExceptions" ref="eric5.E5XML.SessionHandler.html#SessionHandler.startIgnoredExceptions" /> + <keyword name="SessionHandler.startLinenumber" id="SessionHandler.startLinenumber" ref="eric5.E5XML.SessionHandler.html#SessionHandler.startLinenumber" /> + <keyword name="SessionHandler.startReportExceptions" id="SessionHandler.startReportExceptions" ref="eric5.E5XML.SessionHandler.html#SessionHandler.startReportExceptions" /> + <keyword name="SessionHandler.startSession" id="SessionHandler.startSession" ref="eric5.E5XML.SessionHandler.html#SessionHandler.startSession" /> + <keyword name="SessionHandler.startTemporary" id="SessionHandler.startTemporary" ref="eric5.E5XML.SessionHandler.html#SessionHandler.startTemporary" /> + <keyword name="SessionHandler.startTracePython" id="SessionHandler.startTracePython" ref="eric5.E5XML.SessionHandler.html#SessionHandler.startTracePython" /> + <keyword name="SessionHandler.startWatchexpression" id="SessionHandler.startWatchexpression" ref="eric5.E5XML.SessionHandler.html#SessionHandler.startWatchexpression" /> + <keyword name="ProjectWriter (Module)" id="ProjectWriter (Module)" ref="eric5.E5XML.ProjectWriter.html" /> + <keyword name="ProjectWriter" id="ProjectWriter" ref="eric5.E5XML.ProjectWriter.html#ProjectWriter" /> + <keyword name="ProjectWriter (Constructor)" id="ProjectWriter (Constructor)" ref="eric5.E5XML.ProjectWriter.html#ProjectWriter.__init__" /> + <keyword name="ProjectWriter.writeXML" id="ProjectWriter.writeXML" ref="eric5.E5XML.ProjectWriter.html#ProjectWriter.writeXML" /> + <keyword name="TasksHandler (Module)" id="TasksHandler (Module)" ref="eric5.E5XML.TasksHandler.html" /> + <keyword name="TasksHandler" id="TasksHandler" ref="eric5.E5XML.TasksHandler.html#TasksHandler" /> + <keyword name="TasksHandler (Constructor)" id="TasksHandler (Constructor)" ref="eric5.E5XML.TasksHandler.html#TasksHandler.__init__" /> + <keyword name="TasksHandler.__buildPath" id="TasksHandler.__buildPath" ref="eric5.E5XML.TasksHandler.html#TasksHandler.__buildPath" /> + <keyword name="TasksHandler.endCreated" id="TasksHandler.endCreated" ref="eric5.E5XML.TasksHandler.html#TasksHandler.endCreated" /> + <keyword name="TasksHandler.endDescription" id="TasksHandler.endDescription" ref="eric5.E5XML.TasksHandler.html#TasksHandler.endDescription" /> + <keyword name="TasksHandler.endDir" id="TasksHandler.endDir" ref="eric5.E5XML.TasksHandler.html#TasksHandler.endDir" /> + <keyword name="TasksHandler.endFilename" id="TasksHandler.endFilename" ref="eric5.E5XML.TasksHandler.html#TasksHandler.endFilename" /> + <keyword name="TasksHandler.endLinenumber" id="TasksHandler.endLinenumber" ref="eric5.E5XML.TasksHandler.html#TasksHandler.endLinenumber" /> + <keyword name="TasksHandler.endName" id="TasksHandler.endName" ref="eric5.E5XML.TasksHandler.html#TasksHandler.endName" /> + <keyword name="TasksHandler.endSummary" id="TasksHandler.endSummary" ref="eric5.E5XML.TasksHandler.html#TasksHandler.endSummary" /> + <keyword name="TasksHandler.endTask" id="TasksHandler.endTask" ref="eric5.E5XML.TasksHandler.html#TasksHandler.endTask" /> + <keyword name="TasksHandler.getVersion" id="TasksHandler.getVersion" ref="eric5.E5XML.TasksHandler.html#TasksHandler.getVersion" /> + <keyword name="TasksHandler.startDocumentTasks" id="TasksHandler.startDocumentTasks" ref="eric5.E5XML.TasksHandler.html#TasksHandler.startDocumentTasks" /> + <keyword name="TasksHandler.startFilename" id="TasksHandler.startFilename" ref="eric5.E5XML.TasksHandler.html#TasksHandler.startFilename" /> + <keyword name="TasksHandler.startTask" id="TasksHandler.startTask" ref="eric5.E5XML.TasksHandler.html#TasksHandler.startTask" /> + <keyword name="TasksHandler.startTasks" id="TasksHandler.startTasks" ref="eric5.E5XML.TasksHandler.html#TasksHandler.startTasks" /> + <keyword name="HighlightingStylesHandler (Module)" id="HighlightingStylesHandler (Module)" ref="eric5.E5XML.HighlightingStylesHandler.html" /> + <keyword name="HighlightingStylesHandler" id="HighlightingStylesHandler" ref="eric5.E5XML.HighlightingStylesHandler.html#HighlightingStylesHandler" /> + <keyword name="HighlightingStylesHandler (Constructor)" id="HighlightingStylesHandler (Constructor)" ref="eric5.E5XML.HighlightingStylesHandler.html#HighlightingStylesHandler.__init__" /> + <keyword name="HighlightingStylesHandler.getVersion" id="HighlightingStylesHandler.getVersion" ref="eric5.E5XML.HighlightingStylesHandler.html#HighlightingStylesHandler.getVersion" /> + <keyword name="HighlightingStylesHandler.startDocumentHighlightingStyles" id="HighlightingStylesHandler.startDocumentHighlightingStyles" ref="eric5.E5XML.HighlightingStylesHandler.html#HighlightingStylesHandler.startDocumentHighlightingStyles" /> + <keyword name="HighlightingStylesHandler.startHighlightingStyles" id="HighlightingStylesHandler.startHighlightingStyles" ref="eric5.E5XML.HighlightingStylesHandler.html#HighlightingStylesHandler.startHighlightingStyles" /> + <keyword name="HighlightingStylesHandler.startLexer" id="HighlightingStylesHandler.startLexer" ref="eric5.E5XML.HighlightingStylesHandler.html#HighlightingStylesHandler.startLexer" /> + <keyword name="HighlightingStylesHandler.startStyle" id="HighlightingStylesHandler.startStyle" ref="eric5.E5XML.HighlightingStylesHandler.html#HighlightingStylesHandler.startStyle" /> + <keyword name="ShortcutsHandler (Module)" id="ShortcutsHandler (Module)" ref="eric5.E5XML.ShortcutsHandler.html" /> + <keyword name="ShortcutsHandler" id="ShortcutsHandler" ref="eric5.E5XML.ShortcutsHandler.html#ShortcutsHandler" /> + <keyword name="ShortcutsHandler (Constructor)" id="ShortcutsHandler (Constructor)" ref="eric5.E5XML.ShortcutsHandler.html#ShortcutsHandler.__init__" /> + <keyword name="ShortcutsHandler.endAccel" id="ShortcutsHandler.endAccel" ref="eric5.E5XML.ShortcutsHandler.html#ShortcutsHandler.endAccel" /> + <keyword name="ShortcutsHandler.endAltAccel" id="ShortcutsHandler.endAltAccel" ref="eric5.E5XML.ShortcutsHandler.html#ShortcutsHandler.endAltAccel" /> + <keyword name="ShortcutsHandler.endName" id="ShortcutsHandler.endName" ref="eric5.E5XML.ShortcutsHandler.html#ShortcutsHandler.endName" /> + <keyword name="ShortcutsHandler.endShortcut" id="ShortcutsHandler.endShortcut" ref="eric5.E5XML.ShortcutsHandler.html#ShortcutsHandler.endShortcut" /> + <keyword name="ShortcutsHandler.getShortcuts" id="ShortcutsHandler.getShortcuts" ref="eric5.E5XML.ShortcutsHandler.html#ShortcutsHandler.getShortcuts" /> + <keyword name="ShortcutsHandler.getVersion" id="ShortcutsHandler.getVersion" ref="eric5.E5XML.ShortcutsHandler.html#ShortcutsHandler.getVersion" /> + <keyword name="ShortcutsHandler.startDocumentShortcuts" id="ShortcutsHandler.startDocumentShortcuts" ref="eric5.E5XML.ShortcutsHandler.html#ShortcutsHandler.startDocumentShortcuts" /> + <keyword name="ShortcutsHandler.startShortcut" id="ShortcutsHandler.startShortcut" ref="eric5.E5XML.ShortcutsHandler.html#ShortcutsHandler.startShortcut" /> + <keyword name="ShortcutsHandler.startShortcuts" id="ShortcutsHandler.startShortcuts" ref="eric5.E5XML.ShortcutsHandler.html#ShortcutsHandler.startShortcuts" /> + <keyword name="XMLEntityResolver (Module)" id="XMLEntityResolver (Module)" ref="eric5.E5XML.XMLEntityResolver.html" /> + <keyword name="XMLEntityResolver" id="XMLEntityResolver" ref="eric5.E5XML.XMLEntityResolver.html#XMLEntityResolver" /> + <keyword name="XMLEntityResolver.resolveEntity" id="XMLEntityResolver.resolveEntity" ref="eric5.E5XML.XMLEntityResolver.html#XMLEntityResolver.resolveEntity" /> + <keyword name="Config (Module)" id="Config (Module)" ref="eric5.E5XML.Config.html" /> + <keyword name="XMLUtilities (Module)" id="XMLUtilities (Module)" ref="eric5.E5XML.XMLUtilities.html" /> + <keyword name="make_parser" id="make_parser" ref="eric5.E5XML.XMLUtilities.html#make_parser" /> + <keyword name="HighlightingStylesWriter (Module)" id="HighlightingStylesWriter (Module)" ref="eric5.E5XML.HighlightingStylesWriter.html" /> + <keyword name="HighlightingStylesWriter" id="HighlightingStylesWriter" ref="eric5.E5XML.HighlightingStylesWriter.html#HighlightingStylesWriter" /> + <keyword name="HighlightingStylesWriter (Constructor)" id="HighlightingStylesWriter (Constructor)" ref="eric5.E5XML.HighlightingStylesWriter.html#HighlightingStylesWriter.__init__" /> + <keyword name="HighlightingStylesWriter.writeXML" id="HighlightingStylesWriter.writeXML" ref="eric5.E5XML.HighlightingStylesWriter.html#HighlightingStylesWriter.writeXML" /> + <keyword name="XMLMessageDialog (Module)" id="XMLMessageDialog (Module)" ref="eric5.E5XML.XMLMessageDialog.html" /> + <keyword name="XMLMessageDialog" id="XMLMessageDialog" ref="eric5.E5XML.XMLMessageDialog.html#XMLMessageDialog" /> + <keyword name="XMLMessageDialog (Constructor)" id="XMLMessageDialog (Constructor)" ref="eric5.E5XML.XMLMessageDialog.html#XMLMessageDialog.__init__" /> + <keyword name="XMLMessageDialog.__appendText" id="XMLMessageDialog.__appendText" ref="eric5.E5XML.XMLMessageDialog.html#XMLMessageDialog.__appendText" /> + <keyword name="SessionWriter (Module)" id="SessionWriter (Module)" ref="eric5.E5XML.SessionWriter.html" /> + <keyword name="SessionWriter" id="SessionWriter" ref="eric5.E5XML.SessionWriter.html#SessionWriter" /> + <keyword name="SessionWriter (Constructor)" id="SessionWriter (Constructor)" ref="eric5.E5XML.SessionWriter.html#SessionWriter.__init__" /> + <keyword name="SessionWriter.writeXML" id="SessionWriter.writeXML" ref="eric5.E5XML.SessionWriter.html#SessionWriter.writeXML" /> + <keyword name="XMLWriterBase (Module)" id="XMLWriterBase (Module)" ref="eric5.E5XML.XMLWriterBase.html" /> + <keyword name="XMLWriterBase" id="XMLWriterBase" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase" /> + <keyword name="XMLWriterBase (Constructor)" id="XMLWriterBase (Constructor)" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase.__init__" /> + <keyword name="XMLWriterBase._write" id="XMLWriterBase._write" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase._write" /> + <keyword name="XMLWriterBase._writeBasics" id="XMLWriterBase._writeBasics" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase._writeBasics" /> + <keyword name="XMLWriterBase._write_bool" id="XMLWriterBase._write_bool" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase._write_bool" /> + <keyword name="XMLWriterBase._write_bytearray" id="XMLWriterBase._write_bytearray" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase._write_bytearray" /> + <keyword name="XMLWriterBase._write_bytes" id="XMLWriterBase._write_bytes" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase._write_bytes" /> + <keyword name="XMLWriterBase._write_complex" id="XMLWriterBase._write_complex" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase._write_complex" /> + <keyword name="XMLWriterBase._write_dictionary" id="XMLWriterBase._write_dictionary" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase._write_dictionary" /> + <keyword name="XMLWriterBase._write_float" id="XMLWriterBase._write_float" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase._write_float" /> + <keyword name="XMLWriterBase._write_frozenset" id="XMLWriterBase._write_frozenset" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase._write_frozenset" /> + <keyword name="XMLWriterBase._write_int" id="XMLWriterBase._write_int" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase._write_int" /> + <keyword name="XMLWriterBase._write_list" id="XMLWriterBase._write_list" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase._write_list" /> + <keyword name="XMLWriterBase._write_none" id="XMLWriterBase._write_none" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase._write_none" /> + <keyword name="XMLWriterBase._write_set" id="XMLWriterBase._write_set" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase._write_set" /> + <keyword name="XMLWriterBase._write_string" id="XMLWriterBase._write_string" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase._write_string" /> + <keyword name="XMLWriterBase._write_tuple" id="XMLWriterBase._write_tuple" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase._write_tuple" /> + <keyword name="XMLWriterBase._write_unimplemented" id="XMLWriterBase._write_unimplemented" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase._write_unimplemented" /> + <keyword name="XMLWriterBase.encodedNewLines" id="XMLWriterBase.encodedNewLines" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase.encodedNewLines" /> + <keyword name="XMLWriterBase.escape" id="XMLWriterBase.escape" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase.escape" /> + <keyword name="XMLWriterBase.writeXML" id="XMLWriterBase.writeXML" ref="eric5.E5XML.XMLWriterBase.html#XMLWriterBase.writeXML" /> <keyword name="PyUnit (Package)" id="PyUnit (Package)" ref="index-eric5.PyUnit.html" /> <keyword name="UnittestDialog (Module)" id="UnittestDialog (Module)" ref="eric5.PyUnit.UnittestDialog.html" /> <keyword name="QtTestResult" id="QtTestResult" ref="eric5.PyUnit.UnittestDialog.html#QtTestResult" /> @@ -2813,323 +3130,6 @@ <keyword name="E4RequestModel.rowCount" id="E4RequestModel.rowCount" ref="eric5.E4Network.E4NetworkMonitor.html#E4RequestModel.rowCount" /> <keyword name="Globals (Package)" id="Globals (Package)" ref="index-eric5.Globals.html" /> <keyword name="isWindowsPlatform" id="isWindowsPlatform" ref="eric5.Globals.__init__.html#isWindowsPlatform" /> - <keyword name="E4XML (Package)" id="E4XML (Package)" ref="index-eric5.E4XML.html" /> - <keyword name="TemplatesWriter (Module)" id="TemplatesWriter (Module)" ref="eric5.E4XML.TemplatesWriter.html" /> - <keyword name="TemplatesWriter" id="TemplatesWriter" ref="eric5.E4XML.TemplatesWriter.html#TemplatesWriter" /> - <keyword name="TemplatesWriter (Constructor)" id="TemplatesWriter (Constructor)" ref="eric5.E4XML.TemplatesWriter.html#TemplatesWriter.__init__" /> - <keyword name="TemplatesWriter.writeXML" id="TemplatesWriter.writeXML" ref="eric5.E4XML.TemplatesWriter.html#TemplatesWriter.writeXML" /> - <keyword name="PluginRepositoryHandler (Module)" id="PluginRepositoryHandler (Module)" ref="eric5.E4XML.PluginRepositoryHandler.html" /> - <keyword name="PluginRepositoryHandler" id="PluginRepositoryHandler" ref="eric5.E4XML.PluginRepositoryHandler.html#PluginRepositoryHandler" /> - <keyword name="PluginRepositoryHandler (Constructor)" id="PluginRepositoryHandler (Constructor)" ref="eric5.E4XML.PluginRepositoryHandler.html#PluginRepositoryHandler.__init__" /> - <keyword name="PluginRepositoryHandler.endAuthor" id="PluginRepositoryHandler.endAuthor" ref="eric5.E4XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endAuthor" /> - <keyword name="PluginRepositoryHandler.endDescription" id="PluginRepositoryHandler.endDescription" ref="eric5.E4XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endDescription" /> - <keyword name="PluginRepositoryHandler.endFilename" id="PluginRepositoryHandler.endFilename" ref="eric5.E4XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endFilename" /> - <keyword name="PluginRepositoryHandler.endName" id="PluginRepositoryHandler.endName" ref="eric5.E4XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endName" /> - <keyword name="PluginRepositoryHandler.endPlugin" id="PluginRepositoryHandler.endPlugin" ref="eric5.E4XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endPlugin" /> - <keyword name="PluginRepositoryHandler.endRepositoryUrl" id="PluginRepositoryHandler.endRepositoryUrl" ref="eric5.E4XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endRepositoryUrl" /> - <keyword name="PluginRepositoryHandler.endShort" id="PluginRepositoryHandler.endShort" ref="eric5.E4XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endShort" /> - <keyword name="PluginRepositoryHandler.endUrl" id="PluginRepositoryHandler.endUrl" ref="eric5.E4XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endUrl" /> - <keyword name="PluginRepositoryHandler.endVersion" id="PluginRepositoryHandler.endVersion" ref="eric5.E4XML.PluginRepositoryHandler.html#PluginRepositoryHandler.endVersion" /> - <keyword name="PluginRepositoryHandler.getVersion" id="PluginRepositoryHandler.getVersion" ref="eric5.E4XML.PluginRepositoryHandler.html#PluginRepositoryHandler.getVersion" /> - <keyword name="PluginRepositoryHandler.startDocumentPlugins" id="PluginRepositoryHandler.startDocumentPlugins" ref="eric5.E4XML.PluginRepositoryHandler.html#PluginRepositoryHandler.startDocumentPlugins" /> - <keyword name="PluginRepositoryHandler.startPlugin" id="PluginRepositoryHandler.startPlugin" ref="eric5.E4XML.PluginRepositoryHandler.html#PluginRepositoryHandler.startPlugin" /> - <keyword name="PluginRepositoryHandler.startPlugins" id="PluginRepositoryHandler.startPlugins" ref="eric5.E4XML.PluginRepositoryHandler.html#PluginRepositoryHandler.startPlugins" /> - <keyword name="ShortcutsWriter (Module)" id="ShortcutsWriter (Module)" ref="eric5.E4XML.ShortcutsWriter.html" /> - <keyword name="ShortcutsWriter" id="ShortcutsWriter" ref="eric5.E4XML.ShortcutsWriter.html#ShortcutsWriter" /> - <keyword name="ShortcutsWriter (Constructor)" id="ShortcutsWriter (Constructor)" ref="eric5.E4XML.ShortcutsWriter.html#ShortcutsWriter.__init__" /> - <keyword name="ShortcutsWriter.writeXML" id="ShortcutsWriter.writeXML" ref="eric5.E4XML.ShortcutsWriter.html#ShortcutsWriter.writeXML" /> - <keyword name="UserProjectHandler (Module)" id="UserProjectHandler (Module)" ref="eric5.E4XML.UserProjectHandler.html" /> - <keyword name="UserProjectHandler" id="UserProjectHandler" ref="eric5.E4XML.UserProjectHandler.html#UserProjectHandler" /> - <keyword name="UserProjectHandler (Constructor)" id="UserProjectHandler (Constructor)" ref="eric5.E4XML.UserProjectHandler.html#UserProjectHandler.__init__" /> - <keyword name="UserProjectHandler.endVcsType" id="UserProjectHandler.endVcsType" ref="eric5.E4XML.UserProjectHandler.html#UserProjectHandler.endVcsType" /> - <keyword name="UserProjectHandler.getVersion" id="UserProjectHandler.getVersion" ref="eric5.E4XML.UserProjectHandler.html#UserProjectHandler.getVersion" /> - <keyword name="UserProjectHandler.startDocumentProject" id="UserProjectHandler.startDocumentProject" ref="eric5.E4XML.UserProjectHandler.html#UserProjectHandler.startDocumentProject" /> - <keyword name="UserProjectHandler.startUserProject" id="UserProjectHandler.startUserProject" ref="eric5.E4XML.UserProjectHandler.html#UserProjectHandler.startUserProject" /> - <keyword name="UserProjectHandler.startVcsStatusMonitorInterval" id="UserProjectHandler.startVcsStatusMonitorInterval" ref="eric5.E4XML.UserProjectHandler.html#UserProjectHandler.startVcsStatusMonitorInterval" /> - <keyword name="ProjectHandler (Module)" id="ProjectHandler (Module)" ref="eric5.E4XML.ProjectHandler.html" /> - <keyword name="ProjectHandler" id="ProjectHandler" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler" /> - <keyword name="ProjectHandler (Constructor)" id="ProjectHandler (Constructor)" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.__init__" /> - <keyword name="ProjectHandler.__buildPath" id="ProjectHandler.__buildPath" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.__buildPath" /> - <keyword name="ProjectHandler.endAuthor" id="ProjectHandler.endAuthor" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endAuthor" /> - <keyword name="ProjectHandler.endCheckersParams" id="ProjectHandler.endCheckersParams" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endCheckersParams" /> - <keyword name="ProjectHandler.endCxfreezeParams" id="ProjectHandler.endCxfreezeParams" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endCxfreezeParams" /> - <keyword name="ProjectHandler.endDescription" id="ProjectHandler.endDescription" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endDescription" /> - <keyword name="ProjectHandler.endDir" id="ProjectHandler.endDir" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endDir" /> - <keyword name="ProjectHandler.endDocumentationParams" id="ProjectHandler.endDocumentationParams" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endDocumentationParams" /> - <keyword name="ProjectHandler.endEmail" id="ProjectHandler.endEmail" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endEmail" /> - <keyword name="ProjectHandler.endEric4ApiParams" id="ProjectHandler.endEric4ApiParams" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endEric4ApiParams" /> - <keyword name="ProjectHandler.endEric4DocParams" id="ProjectHandler.endEric4DocParams" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endEric4DocParams" /> - <keyword name="ProjectHandler.endForm" id="ProjectHandler.endForm" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endForm" /> - <keyword name="ProjectHandler.endInterface" id="ProjectHandler.endInterface" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endInterface" /> - <keyword name="ProjectHandler.endLanguage" id="ProjectHandler.endLanguage" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endLanguage" /> - <keyword name="ProjectHandler.endMainScript" id="ProjectHandler.endMainScript" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endMainScript" /> - <keyword name="ProjectHandler.endName" id="ProjectHandler.endName" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endName" /> - <keyword name="ProjectHandler.endOther" id="ProjectHandler.endOther" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endOther" /> - <keyword name="ProjectHandler.endOtherToolsParams" id="ProjectHandler.endOtherToolsParams" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endOtherToolsParams" /> - <keyword name="ProjectHandler.endPackagersParams" id="ProjectHandler.endPackagersParams" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endPackagersParams" /> - <keyword name="ProjectHandler.endProgLanguage" id="ProjectHandler.endProgLanguage" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endProgLanguage" /> - <keyword name="ProjectHandler.endProjectExcludeList" id="ProjectHandler.endProjectExcludeList" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endProjectExcludeList" /> - <keyword name="ProjectHandler.endProjectType" id="ProjectHandler.endProjectType" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endProjectType" /> - <keyword name="ProjectHandler.endProjectTypeSpecificData" id="ProjectHandler.endProjectTypeSpecificData" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endProjectTypeSpecificData" /> - <keyword name="ProjectHandler.endProjectWordList" id="ProjectHandler.endProjectWordList" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endProjectWordList" /> - <keyword name="ProjectHandler.endPyLintParams" id="ProjectHandler.endPyLintParams" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endPyLintParams" /> - <keyword name="ProjectHandler.endResource" id="ProjectHandler.endResource" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endResource" /> - <keyword name="ProjectHandler.endSource" id="ProjectHandler.endSource" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endSource" /> - <keyword name="ProjectHandler.endTranslation" id="ProjectHandler.endTranslation" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endTranslation" /> - <keyword name="ProjectHandler.endTranslationException" id="ProjectHandler.endTranslationException" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endTranslationException" /> - <keyword name="ProjectHandler.endTranslationPattern" id="ProjectHandler.endTranslationPattern" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endTranslationPattern" /> - <keyword name="ProjectHandler.endTranslationPrefix" id="ProjectHandler.endTranslationPrefix" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endTranslationPrefix" /> - <keyword name="ProjectHandler.endTranslationsBinPath" id="ProjectHandler.endTranslationsBinPath" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endTranslationsBinPath" /> - <keyword name="ProjectHandler.endUIType" id="ProjectHandler.endUIType" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endUIType" /> - <keyword name="ProjectHandler.endVcsOptions" id="ProjectHandler.endVcsOptions" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endVcsOptions" /> - <keyword name="ProjectHandler.endVcsOtherData" id="ProjectHandler.endVcsOtherData" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endVcsOtherData" /> - <keyword name="ProjectHandler.endVcsType" id="ProjectHandler.endVcsType" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endVcsType" /> - <keyword name="ProjectHandler.endVersion" id="ProjectHandler.endVersion" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.endVersion" /> - <keyword name="ProjectHandler.getVersion" id="ProjectHandler.getVersion" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.getVersion" /> - <keyword name="ProjectHandler.startCheckersParams" id="ProjectHandler.startCheckersParams" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startCheckersParams" /> - <keyword name="ProjectHandler.startCxfreezeParams" id="ProjectHandler.startCxfreezeParams" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startCxfreezeParams" /> - <keyword name="ProjectHandler.startDocumentProject" id="ProjectHandler.startDocumentProject" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startDocumentProject" /> - <keyword name="ProjectHandler.startDocumentationParams" id="ProjectHandler.startDocumentationParams" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startDocumentationParams" /> - <keyword name="ProjectHandler.startEric4ApiParams" id="ProjectHandler.startEric4ApiParams" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startEric4ApiParams" /> - <keyword name="ProjectHandler.startEric4DocParams" id="ProjectHandler.startEric4DocParams" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startEric4DocParams" /> - <keyword name="ProjectHandler.startFiletypeAssociation" id="ProjectHandler.startFiletypeAssociation" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startFiletypeAssociation" /> - <keyword name="ProjectHandler.startForm" id="ProjectHandler.startForm" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startForm" /> - <keyword name="ProjectHandler.startInterface" id="ProjectHandler.startInterface" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startInterface" /> - <keyword name="ProjectHandler.startLexerAssociation" id="ProjectHandler.startLexerAssociation" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startLexerAssociation" /> - <keyword name="ProjectHandler.startMainScript" id="ProjectHandler.startMainScript" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startMainScript" /> - <keyword name="ProjectHandler.startOther" id="ProjectHandler.startOther" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startOther" /> - <keyword name="ProjectHandler.startOtherToolsParams" id="ProjectHandler.startOtherToolsParams" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startOtherToolsParams" /> - <keyword name="ProjectHandler.startPackagersParams" id="ProjectHandler.startPackagersParams" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startPackagersParams" /> - <keyword name="ProjectHandler.startProgLanguage" id="ProjectHandler.startProgLanguage" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startProgLanguage" /> - <keyword name="ProjectHandler.startProject" id="ProjectHandler.startProject" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startProject" /> - <keyword name="ProjectHandler.startProjectTypeSpecificData" id="ProjectHandler.startProjectTypeSpecificData" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startProjectTypeSpecificData" /> - <keyword name="ProjectHandler.startPyLintParams" id="ProjectHandler.startPyLintParams" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startPyLintParams" /> - <keyword name="ProjectHandler.startResource" id="ProjectHandler.startResource" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startResource" /> - <keyword name="ProjectHandler.startSource" id="ProjectHandler.startSource" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startSource" /> - <keyword name="ProjectHandler.startTranslation" id="ProjectHandler.startTranslation" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startTranslation" /> - <keyword name="ProjectHandler.startTranslationException" id="ProjectHandler.startTranslationException" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startTranslationException" /> - <keyword name="ProjectHandler.startTranslationPrefix" id="ProjectHandler.startTranslationPrefix" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startTranslationPrefix" /> - <keyword name="ProjectHandler.startTranslationsBinPath" id="ProjectHandler.startTranslationsBinPath" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startTranslationsBinPath" /> - <keyword name="ProjectHandler.startVcsOptions" id="ProjectHandler.startVcsOptions" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startVcsOptions" /> - <keyword name="ProjectHandler.startVcsOtherData" id="ProjectHandler.startVcsOtherData" ref="eric5.E4XML.ProjectHandler.html#ProjectHandler.startVcsOtherData" /> - <keyword name="DebuggerPropertiesHandler (Module)" id="DebuggerPropertiesHandler (Module)" ref="eric5.E4XML.DebuggerPropertiesHandler.html" /> - <keyword name="DebuggerPropertiesHandler" id="DebuggerPropertiesHandler" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler" /> - <keyword name="DebuggerPropertiesHandler (Constructor)" id="DebuggerPropertiesHandler (Constructor)" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.__init__" /> - <keyword name="DebuggerPropertiesHandler.endConsoleDebugger" id="DebuggerPropertiesHandler.endConsoleDebugger" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.endConsoleDebugger" /> - <keyword name="DebuggerPropertiesHandler.endDebugClient" id="DebuggerPropertiesHandler.endDebugClient" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.endDebugClient" /> - <keyword name="DebuggerPropertiesHandler.endEnvironment" id="DebuggerPropertiesHandler.endEnvironment" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.endEnvironment" /> - <keyword name="DebuggerPropertiesHandler.endInterpreter" id="DebuggerPropertiesHandler.endInterpreter" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.endInterpreter" /> - <keyword name="DebuggerPropertiesHandler.endLocalPath" id="DebuggerPropertiesHandler.endLocalPath" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.endLocalPath" /> - <keyword name="DebuggerPropertiesHandler.endRemoteCommand" id="DebuggerPropertiesHandler.endRemoteCommand" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.endRemoteCommand" /> - <keyword name="DebuggerPropertiesHandler.endRemoteHost" id="DebuggerPropertiesHandler.endRemoteHost" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.endRemoteHost" /> - <keyword name="DebuggerPropertiesHandler.endRemotePath" id="DebuggerPropertiesHandler.endRemotePath" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.endRemotePath" /> - <keyword name="DebuggerPropertiesHandler.getVersion" id="DebuggerPropertiesHandler.getVersion" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.getVersion" /> - <keyword name="DebuggerPropertiesHandler.startConsoleDebugger" id="DebuggerPropertiesHandler.startConsoleDebugger" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.startConsoleDebugger" /> - <keyword name="DebuggerPropertiesHandler.startDebuggerProperties" id="DebuggerPropertiesHandler.startDebuggerProperties" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.startDebuggerProperties" /> - <keyword name="DebuggerPropertiesHandler.startDocumentDebuggerProperties" id="DebuggerPropertiesHandler.startDocumentDebuggerProperties" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.startDocumentDebuggerProperties" /> - <keyword name="DebuggerPropertiesHandler.startEnvironment" id="DebuggerPropertiesHandler.startEnvironment" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.startEnvironment" /> - <keyword name="DebuggerPropertiesHandler.startNoencoding" id="DebuggerPropertiesHandler.startNoencoding" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.startNoencoding" /> - <keyword name="DebuggerPropertiesHandler.startPathTranslation" id="DebuggerPropertiesHandler.startPathTranslation" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.startPathTranslation" /> - <keyword name="DebuggerPropertiesHandler.startRedirect" id="DebuggerPropertiesHandler.startRedirect" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.startRedirect" /> - <keyword name="DebuggerPropertiesHandler.startRemoteDebugger" id="DebuggerPropertiesHandler.startRemoteDebugger" ref="eric5.E4XML.DebuggerPropertiesHandler.html#DebuggerPropertiesHandler.startRemoteDebugger" /> - <keyword name="TasksWriter (Module)" id="TasksWriter (Module)" ref="eric5.E4XML.TasksWriter.html" /> - <keyword name="TasksWriter" id="TasksWriter" ref="eric5.E4XML.TasksWriter.html#TasksWriter" /> - <keyword name="TasksWriter (Constructor)" id="TasksWriter (Constructor)" ref="eric5.E4XML.TasksWriter.html#TasksWriter.__init__" /> - <keyword name="TasksWriter.writeXML" id="TasksWriter.writeXML" ref="eric5.E4XML.TasksWriter.html#TasksWriter.writeXML" /> - <keyword name="UserProjectWriter (Module)" id="UserProjectWriter (Module)" ref="eric5.E4XML.UserProjectWriter.html" /> - <keyword name="UserProjectWriter" id="UserProjectWriter" ref="eric5.E4XML.UserProjectWriter.html#UserProjectWriter" /> - <keyword name="UserProjectWriter (Constructor)" id="UserProjectWriter (Constructor)" ref="eric5.E4XML.UserProjectWriter.html#UserProjectWriter.__init__" /> - <keyword name="UserProjectWriter.writeXML" id="UserProjectWriter.writeXML" ref="eric5.E4XML.UserProjectWriter.html#UserProjectWriter.writeXML" /> - <keyword name="TemplatesHandler (Module)" id="TemplatesHandler (Module)" ref="eric5.E4XML.TemplatesHandler.html" /> - <keyword name="TemplatesHandler" id="TemplatesHandler" ref="eric5.E4XML.TemplatesHandler.html#TemplatesHandler" /> - <keyword name="TemplatesHandler (Constructor)" id="TemplatesHandler (Constructor)" ref="eric5.E4XML.TemplatesHandler.html#TemplatesHandler.__init__" /> - <keyword name="TemplatesHandler.endTemplate" id="TemplatesHandler.endTemplate" ref="eric5.E4XML.TemplatesHandler.html#TemplatesHandler.endTemplate" /> - <keyword name="TemplatesHandler.endTemplateDescription" id="TemplatesHandler.endTemplateDescription" ref="eric5.E4XML.TemplatesHandler.html#TemplatesHandler.endTemplateDescription" /> - <keyword name="TemplatesHandler.endTemplateText" id="TemplatesHandler.endTemplateText" ref="eric5.E4XML.TemplatesHandler.html#TemplatesHandler.endTemplateText" /> - <keyword name="TemplatesHandler.getVersion" id="TemplatesHandler.getVersion" ref="eric5.E4XML.TemplatesHandler.html#TemplatesHandler.getVersion" /> - <keyword name="TemplatesHandler.startDocumentTemplates" id="TemplatesHandler.startDocumentTemplates" ref="eric5.E4XML.TemplatesHandler.html#TemplatesHandler.startDocumentTemplates" /> - <keyword name="TemplatesHandler.startTemplate" id="TemplatesHandler.startTemplate" ref="eric5.E4XML.TemplatesHandler.html#TemplatesHandler.startTemplate" /> - <keyword name="TemplatesHandler.startTemplateGroup" id="TemplatesHandler.startTemplateGroup" ref="eric5.E4XML.TemplatesHandler.html#TemplatesHandler.startTemplateGroup" /> - <keyword name="TemplatesHandler.startTemplates" id="TemplatesHandler.startTemplates" ref="eric5.E4XML.TemplatesHandler.html#TemplatesHandler.startTemplates" /> - <keyword name="XMLErrorHandler (Module)" id="XMLErrorHandler (Module)" ref="eric5.E4XML.XMLErrorHandler.html" /> - <keyword name="XMLErrorHandler" id="XMLErrorHandler" ref="eric5.E4XML.XMLErrorHandler.html#XMLErrorHandler" /> - <keyword name="XMLFatalParseError" id="XMLFatalParseError" ref="eric5.E4XML.XMLErrorHandler.html#XMLFatalParseError" /> - <keyword name="XMLParseError" id="XMLParseError" ref="eric5.E4XML.XMLErrorHandler.html#XMLParseError" /> - <keyword name="XMLErrorHandler (Constructor)" id="XMLErrorHandler (Constructor)" ref="eric5.E4XML.XMLErrorHandler.html#XMLErrorHandler.__init__" /> - <keyword name="XMLErrorHandler.error" id="XMLErrorHandler.error" ref="eric5.E4XML.XMLErrorHandler.html#XMLErrorHandler.error" /> - <keyword name="XMLErrorHandler.fatalError" id="XMLErrorHandler.fatalError" ref="eric5.E4XML.XMLErrorHandler.html#XMLErrorHandler.fatalError" /> - <keyword name="XMLErrorHandler.getParseMessages" id="XMLErrorHandler.getParseMessages" ref="eric5.E4XML.XMLErrorHandler.html#XMLErrorHandler.getParseMessages" /> - <keyword name="XMLErrorHandler.showParseMessages" id="XMLErrorHandler.showParseMessages" ref="eric5.E4XML.XMLErrorHandler.html#XMLErrorHandler.showParseMessages" /> - <keyword name="XMLErrorHandler.warning" id="XMLErrorHandler.warning" ref="eric5.E4XML.XMLErrorHandler.html#XMLErrorHandler.warning" /> - <keyword name="XMLHandlerBase (Module)" id="XMLHandlerBase (Module)" ref="eric5.E4XML.XMLHandlerBase.html" /> - <keyword name="XMLHandlerBase" id="XMLHandlerBase" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase" /> - <keyword name="XMLHandlerBase (Constructor)" id="XMLHandlerBase (Constructor)" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.__init__" /> - <keyword name="XMLHandlerBase._prepareBasics" id="XMLHandlerBase._prepareBasics" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase._prepareBasics" /> - <keyword name="XMLHandlerBase.characters" id="XMLHandlerBase.characters" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.characters" /> - <keyword name="XMLHandlerBase.decodedNewLines" id="XMLHandlerBase.decodedNewLines" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.decodedNewLines" /> - <keyword name="XMLHandlerBase.defaultEndElement" id="XMLHandlerBase.defaultEndElement" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.defaultEndElement" /> - <keyword name="XMLHandlerBase.defaultStartElement" id="XMLHandlerBase.defaultStartElement" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.defaultStartElement" /> - <keyword name="XMLHandlerBase.endBool" id="XMLHandlerBase.endBool" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.endBool" /> - <keyword name="XMLHandlerBase.endBytearray" id="XMLHandlerBase.endBytearray" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.endBytearray" /> - <keyword name="XMLHandlerBase.endBytes" id="XMLHandlerBase.endBytes" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.endBytes" /> - <keyword name="XMLHandlerBase.endComplex" id="XMLHandlerBase.endComplex" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.endComplex" /> - <keyword name="XMLHandlerBase.endDictionary" id="XMLHandlerBase.endDictionary" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.endDictionary" /> - <keyword name="XMLHandlerBase.endElement" id="XMLHandlerBase.endElement" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.endElement" /> - <keyword name="XMLHandlerBase.endFloat" id="XMLHandlerBase.endFloat" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.endFloat" /> - <keyword name="XMLHandlerBase.endFrozenset" id="XMLHandlerBase.endFrozenset" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.endFrozenset" /> - <keyword name="XMLHandlerBase.endInt" id="XMLHandlerBase.endInt" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.endInt" /> - <keyword name="XMLHandlerBase.endList" id="XMLHandlerBase.endList" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.endList" /> - <keyword name="XMLHandlerBase.endNone" id="XMLHandlerBase.endNone" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.endNone" /> - <keyword name="XMLHandlerBase.endPickle" id="XMLHandlerBase.endPickle" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.endPickle" /> - <keyword name="XMLHandlerBase.endSet" id="XMLHandlerBase.endSet" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.endSet" /> - <keyword name="XMLHandlerBase.endString" id="XMLHandlerBase.endString" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.endString" /> - <keyword name="XMLHandlerBase.endTuple" id="XMLHandlerBase.endTuple" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.endTuple" /> - <keyword name="XMLHandlerBase.startDictionary" id="XMLHandlerBase.startDictionary" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.startDictionary" /> - <keyword name="XMLHandlerBase.startDocument" id="XMLHandlerBase.startDocument" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.startDocument" /> - <keyword name="XMLHandlerBase.startElement" id="XMLHandlerBase.startElement" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.startElement" /> - <keyword name="XMLHandlerBase.startFrozenset" id="XMLHandlerBase.startFrozenset" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.startFrozenset" /> - <keyword name="XMLHandlerBase.startList" id="XMLHandlerBase.startList" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.startList" /> - <keyword name="XMLHandlerBase.startPickle" id="XMLHandlerBase.startPickle" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.startPickle" /> - <keyword name="XMLHandlerBase.startSet" id="XMLHandlerBase.startSet" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.startSet" /> - <keyword name="XMLHandlerBase.startTuple" id="XMLHandlerBase.startTuple" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.startTuple" /> - <keyword name="XMLHandlerBase.unescape" id="XMLHandlerBase.unescape" ref="eric5.E4XML.XMLHandlerBase.html#XMLHandlerBase.unescape" /> - <keyword name="MultiProjectWriter (Module)" id="MultiProjectWriter (Module)" ref="eric5.E4XML.MultiProjectWriter.html" /> - <keyword name="MultiProjectWriter" id="MultiProjectWriter" ref="eric5.E4XML.MultiProjectWriter.html#MultiProjectWriter" /> - <keyword name="MultiProjectWriter (Constructor)" id="MultiProjectWriter (Constructor)" ref="eric5.E4XML.MultiProjectWriter.html#MultiProjectWriter.__init__" /> - <keyword name="MultiProjectWriter.writeXML" id="MultiProjectWriter.writeXML" ref="eric5.E4XML.MultiProjectWriter.html#MultiProjectWriter.writeXML" /> - <keyword name="MultiProjectHandler (Module)" id="MultiProjectHandler (Module)" ref="eric5.E4XML.MultiProjectHandler.html" /> - <keyword name="MultiProjectHandler" id="MultiProjectHandler" ref="eric5.E4XML.MultiProjectHandler.html#MultiProjectHandler" /> - <keyword name="MultiProjectHandler (Constructor)" id="MultiProjectHandler (Constructor)" ref="eric5.E4XML.MultiProjectHandler.html#MultiProjectHandler.__init__" /> - <keyword name="MultiProjectHandler.endDescription" id="MultiProjectHandler.endDescription" ref="eric5.E4XML.MultiProjectHandler.html#MultiProjectHandler.endDescription" /> - <keyword name="MultiProjectHandler.endProject" id="MultiProjectHandler.endProject" ref="eric5.E4XML.MultiProjectHandler.html#MultiProjectHandler.endProject" /> - <keyword name="MultiProjectHandler.endProjectDescription" id="MultiProjectHandler.endProjectDescription" ref="eric5.E4XML.MultiProjectHandler.html#MultiProjectHandler.endProjectDescription" /> - <keyword name="MultiProjectHandler.endProjectFile" id="MultiProjectHandler.endProjectFile" ref="eric5.E4XML.MultiProjectHandler.html#MultiProjectHandler.endProjectFile" /> - <keyword name="MultiProjectHandler.endProjectName" id="MultiProjectHandler.endProjectName" ref="eric5.E4XML.MultiProjectHandler.html#MultiProjectHandler.endProjectName" /> - <keyword name="MultiProjectHandler.getVersion" id="MultiProjectHandler.getVersion" ref="eric5.E4XML.MultiProjectHandler.html#MultiProjectHandler.getVersion" /> - <keyword name="MultiProjectHandler.startDocumentMultiProject" id="MultiProjectHandler.startDocumentMultiProject" ref="eric5.E4XML.MultiProjectHandler.html#MultiProjectHandler.startDocumentMultiProject" /> - <keyword name="MultiProjectHandler.startMultiProject" id="MultiProjectHandler.startMultiProject" ref="eric5.E4XML.MultiProjectHandler.html#MultiProjectHandler.startMultiProject" /> - <keyword name="MultiProjectHandler.startProject" id="MultiProjectHandler.startProject" ref="eric5.E4XML.MultiProjectHandler.html#MultiProjectHandler.startProject" /> - <keyword name="DebuggerPropertiesWriter (Module)" id="DebuggerPropertiesWriter (Module)" ref="eric5.E4XML.DebuggerPropertiesWriter.html" /> - <keyword name="DebuggerPropertiesWriter" id="DebuggerPropertiesWriter" ref="eric5.E4XML.DebuggerPropertiesWriter.html#DebuggerPropertiesWriter" /> - <keyword name="DebuggerPropertiesWriter (Constructor)" id="DebuggerPropertiesWriter (Constructor)" ref="eric5.E4XML.DebuggerPropertiesWriter.html#DebuggerPropertiesWriter.__init__" /> - <keyword name="DebuggerPropertiesWriter.writeXML" id="DebuggerPropertiesWriter.writeXML" ref="eric5.E4XML.DebuggerPropertiesWriter.html#DebuggerPropertiesWriter.writeXML" /> - <keyword name="SessionHandler (Module)" id="SessionHandler (Module)" ref="eric5.E4XML.SessionHandler.html" /> - <keyword name="SessionHandler" id="SessionHandler" ref="eric5.E4XML.SessionHandler.html#SessionHandler" /> - <keyword name="SessionHandler (Constructor)" id="SessionHandler (Constructor)" ref="eric5.E4XML.SessionHandler.html#SessionHandler.__init__" /> - <keyword name="SessionHandler.endBFilename" id="SessionHandler.endBFilename" ref="eric5.E4XML.SessionHandler.html#SessionHandler.endBFilename" /> - <keyword name="SessionHandler.endBookmark" id="SessionHandler.endBookmark" ref="eric5.E4XML.SessionHandler.html#SessionHandler.endBookmark" /> - <keyword name="SessionHandler.endBreakpoint" id="SessionHandler.endBreakpoint" ref="eric5.E4XML.SessionHandler.html#SessionHandler.endBreakpoint" /> - <keyword name="SessionHandler.endCommandLine" id="SessionHandler.endCommandLine" ref="eric5.E4XML.SessionHandler.html#SessionHandler.endCommandLine" /> - <keyword name="SessionHandler.endCondition" id="SessionHandler.endCondition" ref="eric5.E4XML.SessionHandler.html#SessionHandler.endCondition" /> - <keyword name="SessionHandler.endEnvironment" id="SessionHandler.endEnvironment" ref="eric5.E4XML.SessionHandler.html#SessionHandler.endEnvironment" /> - <keyword name="SessionHandler.endException" id="SessionHandler.endException" ref="eric5.E4XML.SessionHandler.html#SessionHandler.endException" /> - <keyword name="SessionHandler.endExceptions" id="SessionHandler.endExceptions" ref="eric5.E4XML.SessionHandler.html#SessionHandler.endExceptions" /> - <keyword name="SessionHandler.endFilename" id="SessionHandler.endFilename" ref="eric5.E4XML.SessionHandler.html#SessionHandler.endFilename" /> - <keyword name="SessionHandler.endIgnoredException" id="SessionHandler.endIgnoredException" ref="eric5.E4XML.SessionHandler.html#SessionHandler.endIgnoredException" /> - <keyword name="SessionHandler.endIgnoredExceptions" id="SessionHandler.endIgnoredExceptions" ref="eric5.E4XML.SessionHandler.html#SessionHandler.endIgnoredExceptions" /> - <keyword name="SessionHandler.endMultiProject" id="SessionHandler.endMultiProject" ref="eric5.E4XML.SessionHandler.html#SessionHandler.endMultiProject" /> - <keyword name="SessionHandler.endProject" id="SessionHandler.endProject" ref="eric5.E4XML.SessionHandler.html#SessionHandler.endProject" /> - <keyword name="SessionHandler.endSpecial" id="SessionHandler.endSpecial" ref="eric5.E4XML.SessionHandler.html#SessionHandler.endSpecial" /> - <keyword name="SessionHandler.endWatchexpression" id="SessionHandler.endWatchexpression" ref="eric5.E4XML.SessionHandler.html#SessionHandler.endWatchexpression" /> - <keyword name="SessionHandler.endWorkingDirectory" id="SessionHandler.endWorkingDirectory" ref="eric5.E4XML.SessionHandler.html#SessionHandler.endWorkingDirectory" /> - <keyword name="SessionHandler.getVersion" id="SessionHandler.getVersion" ref="eric5.E4XML.SessionHandler.html#SessionHandler.getVersion" /> - <keyword name="SessionHandler.startAutoClearShell" id="SessionHandler.startAutoClearShell" ref="eric5.E4XML.SessionHandler.html#SessionHandler.startAutoClearShell" /> - <keyword name="SessionHandler.startAutoContinue" id="SessionHandler.startAutoContinue" ref="eric5.E4XML.SessionHandler.html#SessionHandler.startAutoContinue" /> - <keyword name="SessionHandler.startBookmark" id="SessionHandler.startBookmark" ref="eric5.E4XML.SessionHandler.html#SessionHandler.startBookmark" /> - <keyword name="SessionHandler.startBreakpoint" id="SessionHandler.startBreakpoint" ref="eric5.E4XML.SessionHandler.html#SessionHandler.startBreakpoint" /> - <keyword name="SessionHandler.startCount" id="SessionHandler.startCount" ref="eric5.E4XML.SessionHandler.html#SessionHandler.startCount" /> - <keyword name="SessionHandler.startDocumentSession" id="SessionHandler.startDocumentSession" ref="eric5.E4XML.SessionHandler.html#SessionHandler.startDocumentSession" /> - <keyword name="SessionHandler.startEnabled" id="SessionHandler.startEnabled" ref="eric5.E4XML.SessionHandler.html#SessionHandler.startEnabled" /> - <keyword name="SessionHandler.startExceptions" id="SessionHandler.startExceptions" ref="eric5.E4XML.SessionHandler.html#SessionHandler.startExceptions" /> - <keyword name="SessionHandler.startFilename" id="SessionHandler.startFilename" ref="eric5.E4XML.SessionHandler.html#SessionHandler.startFilename" /> - <keyword name="SessionHandler.startIgnoredExceptions" id="SessionHandler.startIgnoredExceptions" ref="eric5.E4XML.SessionHandler.html#SessionHandler.startIgnoredExceptions" /> - <keyword name="SessionHandler.startLinenumber" id="SessionHandler.startLinenumber" ref="eric5.E4XML.SessionHandler.html#SessionHandler.startLinenumber" /> - <keyword name="SessionHandler.startReportExceptions" id="SessionHandler.startReportExceptions" ref="eric5.E4XML.SessionHandler.html#SessionHandler.startReportExceptions" /> - <keyword name="SessionHandler.startSession" id="SessionHandler.startSession" ref="eric5.E4XML.SessionHandler.html#SessionHandler.startSession" /> - <keyword name="SessionHandler.startTemporary" id="SessionHandler.startTemporary" ref="eric5.E4XML.SessionHandler.html#SessionHandler.startTemporary" /> - <keyword name="SessionHandler.startTracePython" id="SessionHandler.startTracePython" ref="eric5.E4XML.SessionHandler.html#SessionHandler.startTracePython" /> - <keyword name="SessionHandler.startWatchexpression" id="SessionHandler.startWatchexpression" ref="eric5.E4XML.SessionHandler.html#SessionHandler.startWatchexpression" /> - <keyword name="ProjectWriter (Module)" id="ProjectWriter (Module)" ref="eric5.E4XML.ProjectWriter.html" /> - <keyword name="ProjectWriter" id="ProjectWriter" ref="eric5.E4XML.ProjectWriter.html#ProjectWriter" /> - <keyword name="ProjectWriter (Constructor)" id="ProjectWriter (Constructor)" ref="eric5.E4XML.ProjectWriter.html#ProjectWriter.__init__" /> - <keyword name="ProjectWriter.writeXML" id="ProjectWriter.writeXML" ref="eric5.E4XML.ProjectWriter.html#ProjectWriter.writeXML" /> - <keyword name="TasksHandler (Module)" id="TasksHandler (Module)" ref="eric5.E4XML.TasksHandler.html" /> - <keyword name="TasksHandler" id="TasksHandler" ref="eric5.E4XML.TasksHandler.html#TasksHandler" /> - <keyword name="TasksHandler (Constructor)" id="TasksHandler (Constructor)" ref="eric5.E4XML.TasksHandler.html#TasksHandler.__init__" /> - <keyword name="TasksHandler.__buildPath" id="TasksHandler.__buildPath" ref="eric5.E4XML.TasksHandler.html#TasksHandler.__buildPath" /> - <keyword name="TasksHandler.endCreated" id="TasksHandler.endCreated" ref="eric5.E4XML.TasksHandler.html#TasksHandler.endCreated" /> - <keyword name="TasksHandler.endDescription" id="TasksHandler.endDescription" ref="eric5.E4XML.TasksHandler.html#TasksHandler.endDescription" /> - <keyword name="TasksHandler.endDir" id="TasksHandler.endDir" ref="eric5.E4XML.TasksHandler.html#TasksHandler.endDir" /> - <keyword name="TasksHandler.endFilename" id="TasksHandler.endFilename" ref="eric5.E4XML.TasksHandler.html#TasksHandler.endFilename" /> - <keyword name="TasksHandler.endLinenumber" id="TasksHandler.endLinenumber" ref="eric5.E4XML.TasksHandler.html#TasksHandler.endLinenumber" /> - <keyword name="TasksHandler.endName" id="TasksHandler.endName" ref="eric5.E4XML.TasksHandler.html#TasksHandler.endName" /> - <keyword name="TasksHandler.endSummary" id="TasksHandler.endSummary" ref="eric5.E4XML.TasksHandler.html#TasksHandler.endSummary" /> - <keyword name="TasksHandler.endTask" id="TasksHandler.endTask" ref="eric5.E4XML.TasksHandler.html#TasksHandler.endTask" /> - <keyword name="TasksHandler.getVersion" id="TasksHandler.getVersion" ref="eric5.E4XML.TasksHandler.html#TasksHandler.getVersion" /> - <keyword name="TasksHandler.startDocumentTasks" id="TasksHandler.startDocumentTasks" ref="eric5.E4XML.TasksHandler.html#TasksHandler.startDocumentTasks" /> - <keyword name="TasksHandler.startFilename" id="TasksHandler.startFilename" ref="eric5.E4XML.TasksHandler.html#TasksHandler.startFilename" /> - <keyword name="TasksHandler.startTask" id="TasksHandler.startTask" ref="eric5.E4XML.TasksHandler.html#TasksHandler.startTask" /> - <keyword name="TasksHandler.startTasks" id="TasksHandler.startTasks" ref="eric5.E4XML.TasksHandler.html#TasksHandler.startTasks" /> - <keyword name="HighlightingStylesHandler (Module)" id="HighlightingStylesHandler (Module)" ref="eric5.E4XML.HighlightingStylesHandler.html" /> - <keyword name="HighlightingStylesHandler" id="HighlightingStylesHandler" ref="eric5.E4XML.HighlightingStylesHandler.html#HighlightingStylesHandler" /> - <keyword name="HighlightingStylesHandler (Constructor)" id="HighlightingStylesHandler (Constructor)" ref="eric5.E4XML.HighlightingStylesHandler.html#HighlightingStylesHandler.__init__" /> - <keyword name="HighlightingStylesHandler.getVersion" id="HighlightingStylesHandler.getVersion" ref="eric5.E4XML.HighlightingStylesHandler.html#HighlightingStylesHandler.getVersion" /> - <keyword name="HighlightingStylesHandler.startDocumentHighlightingStyles" id="HighlightingStylesHandler.startDocumentHighlightingStyles" ref="eric5.E4XML.HighlightingStylesHandler.html#HighlightingStylesHandler.startDocumentHighlightingStyles" /> - <keyword name="HighlightingStylesHandler.startHighlightingStyles" id="HighlightingStylesHandler.startHighlightingStyles" ref="eric5.E4XML.HighlightingStylesHandler.html#HighlightingStylesHandler.startHighlightingStyles" /> - <keyword name="HighlightingStylesHandler.startLexer" id="HighlightingStylesHandler.startLexer" ref="eric5.E4XML.HighlightingStylesHandler.html#HighlightingStylesHandler.startLexer" /> - <keyword name="HighlightingStylesHandler.startStyle" id="HighlightingStylesHandler.startStyle" ref="eric5.E4XML.HighlightingStylesHandler.html#HighlightingStylesHandler.startStyle" /> - <keyword name="ShortcutsHandler (Module)" id="ShortcutsHandler (Module)" ref="eric5.E4XML.ShortcutsHandler.html" /> - <keyword name="ShortcutsHandler" id="ShortcutsHandler" ref="eric5.E4XML.ShortcutsHandler.html#ShortcutsHandler" /> - <keyword name="ShortcutsHandler (Constructor)" id="ShortcutsHandler (Constructor)" ref="eric5.E4XML.ShortcutsHandler.html#ShortcutsHandler.__init__" /> - <keyword name="ShortcutsHandler.endAccel" id="ShortcutsHandler.endAccel" ref="eric5.E4XML.ShortcutsHandler.html#ShortcutsHandler.endAccel" /> - <keyword name="ShortcutsHandler.endAltAccel" id="ShortcutsHandler.endAltAccel" ref="eric5.E4XML.ShortcutsHandler.html#ShortcutsHandler.endAltAccel" /> - <keyword name="ShortcutsHandler.endName" id="ShortcutsHandler.endName" ref="eric5.E4XML.ShortcutsHandler.html#ShortcutsHandler.endName" /> - <keyword name="ShortcutsHandler.endShortcut" id="ShortcutsHandler.endShortcut" ref="eric5.E4XML.ShortcutsHandler.html#ShortcutsHandler.endShortcut" /> - <keyword name="ShortcutsHandler.getShortcuts" id="ShortcutsHandler.getShortcuts" ref="eric5.E4XML.ShortcutsHandler.html#ShortcutsHandler.getShortcuts" /> - <keyword name="ShortcutsHandler.getVersion" id="ShortcutsHandler.getVersion" ref="eric5.E4XML.ShortcutsHandler.html#ShortcutsHandler.getVersion" /> - <keyword name="ShortcutsHandler.startDocumentShortcuts" id="ShortcutsHandler.startDocumentShortcuts" ref="eric5.E4XML.ShortcutsHandler.html#ShortcutsHandler.startDocumentShortcuts" /> - <keyword name="ShortcutsHandler.startShortcut" id="ShortcutsHandler.startShortcut" ref="eric5.E4XML.ShortcutsHandler.html#ShortcutsHandler.startShortcut" /> - <keyword name="ShortcutsHandler.startShortcuts" id="ShortcutsHandler.startShortcuts" ref="eric5.E4XML.ShortcutsHandler.html#ShortcutsHandler.startShortcuts" /> - <keyword name="XMLEntityResolver (Module)" id="XMLEntityResolver (Module)" ref="eric5.E4XML.XMLEntityResolver.html" /> - <keyword name="XMLEntityResolver" id="XMLEntityResolver" ref="eric5.E4XML.XMLEntityResolver.html#XMLEntityResolver" /> - <keyword name="XMLEntityResolver.resolveEntity" id="XMLEntityResolver.resolveEntity" ref="eric5.E4XML.XMLEntityResolver.html#XMLEntityResolver.resolveEntity" /> - <keyword name="Config (Module)" id="Config (Module)" ref="eric5.E4XML.Config.html" /> - <keyword name="XMLUtilities (Module)" id="XMLUtilities (Module)" ref="eric5.E4XML.XMLUtilities.html" /> - <keyword name="make_parser" id="make_parser" ref="eric5.E4XML.XMLUtilities.html#make_parser" /> - <keyword name="HighlightingStylesWriter (Module)" id="HighlightingStylesWriter (Module)" ref="eric5.E4XML.HighlightingStylesWriter.html" /> - <keyword name="HighlightingStylesWriter" id="HighlightingStylesWriter" ref="eric5.E4XML.HighlightingStylesWriter.html#HighlightingStylesWriter" /> - <keyword name="HighlightingStylesWriter (Constructor)" id="HighlightingStylesWriter (Constructor)" ref="eric5.E4XML.HighlightingStylesWriter.html#HighlightingStylesWriter.__init__" /> - <keyword name="HighlightingStylesWriter.writeXML" id="HighlightingStylesWriter.writeXML" ref="eric5.E4XML.HighlightingStylesWriter.html#HighlightingStylesWriter.writeXML" /> - <keyword name="XMLMessageDialog (Module)" id="XMLMessageDialog (Module)" ref="eric5.E4XML.XMLMessageDialog.html" /> - <keyword name="XMLMessageDialog" id="XMLMessageDialog" ref="eric5.E4XML.XMLMessageDialog.html#XMLMessageDialog" /> - <keyword name="XMLMessageDialog (Constructor)" id="XMLMessageDialog (Constructor)" ref="eric5.E4XML.XMLMessageDialog.html#XMLMessageDialog.__init__" /> - <keyword name="XMLMessageDialog.__appendText" id="XMLMessageDialog.__appendText" ref="eric5.E4XML.XMLMessageDialog.html#XMLMessageDialog.__appendText" /> - <keyword name="SessionWriter (Module)" id="SessionWriter (Module)" ref="eric5.E4XML.SessionWriter.html" /> - <keyword name="SessionWriter" id="SessionWriter" ref="eric5.E4XML.SessionWriter.html#SessionWriter" /> - <keyword name="SessionWriter (Constructor)" id="SessionWriter (Constructor)" ref="eric5.E4XML.SessionWriter.html#SessionWriter.__init__" /> - <keyword name="SessionWriter.writeXML" id="SessionWriter.writeXML" ref="eric5.E4XML.SessionWriter.html#SessionWriter.writeXML" /> - <keyword name="XMLWriterBase (Module)" id="XMLWriterBase (Module)" ref="eric5.E4XML.XMLWriterBase.html" /> - <keyword name="XMLWriterBase" id="XMLWriterBase" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase" /> - <keyword name="XMLWriterBase (Constructor)" id="XMLWriterBase (Constructor)" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase.__init__" /> - <keyword name="XMLWriterBase._write" id="XMLWriterBase._write" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase._write" /> - <keyword name="XMLWriterBase._writeBasics" id="XMLWriterBase._writeBasics" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase._writeBasics" /> - <keyword name="XMLWriterBase._write_bool" id="XMLWriterBase._write_bool" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase._write_bool" /> - <keyword name="XMLWriterBase._write_bytearray" id="XMLWriterBase._write_bytearray" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase._write_bytearray" /> - <keyword name="XMLWriterBase._write_bytes" id="XMLWriterBase._write_bytes" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase._write_bytes" /> - <keyword name="XMLWriterBase._write_complex" id="XMLWriterBase._write_complex" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase._write_complex" /> - <keyword name="XMLWriterBase._write_dictionary" id="XMLWriterBase._write_dictionary" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase._write_dictionary" /> - <keyword name="XMLWriterBase._write_float" id="XMLWriterBase._write_float" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase._write_float" /> - <keyword name="XMLWriterBase._write_frozenset" id="XMLWriterBase._write_frozenset" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase._write_frozenset" /> - <keyword name="XMLWriterBase._write_int" id="XMLWriterBase._write_int" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase._write_int" /> - <keyword name="XMLWriterBase._write_list" id="XMLWriterBase._write_list" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase._write_list" /> - <keyword name="XMLWriterBase._write_none" id="XMLWriterBase._write_none" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase._write_none" /> - <keyword name="XMLWriterBase._write_set" id="XMLWriterBase._write_set" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase._write_set" /> - <keyword name="XMLWriterBase._write_string" id="XMLWriterBase._write_string" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase._write_string" /> - <keyword name="XMLWriterBase._write_tuple" id="XMLWriterBase._write_tuple" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase._write_tuple" /> - <keyword name="XMLWriterBase._write_unimplemented" id="XMLWriterBase._write_unimplemented" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase._write_unimplemented" /> - <keyword name="XMLWriterBase.encodedNewLines" id="XMLWriterBase.encodedNewLines" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase.encodedNewLines" /> - <keyword name="XMLWriterBase.escape" id="XMLWriterBase.escape" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase.escape" /> - <keyword name="XMLWriterBase.writeXML" id="XMLWriterBase.writeXML" ref="eric5.E4XML.XMLWriterBase.html#XMLWriterBase.writeXML" /> <keyword name="ViewManager (Package)" id="ViewManager (Package)" ref="index-eric5.ViewManager.html" /> <keyword name="factory" id="factory" ref="eric5.ViewManager.__init__.html#factory" /> <keyword name="ViewManager (Module)" id="ViewManager (Module)" ref="eric5.ViewManager.ViewManager.html" /> @@ -8938,32 +8938,32 @@ <file>eric5.E4Gui.E4TreeView.html</file> <file>eric5.E4Network.E4NetworkHeaderDetailsDialog.html</file> <file>eric5.E4Network.E4NetworkMonitor.html</file> - <file>eric5.E4XML.Config.html</file> - <file>eric5.E4XML.DebuggerPropertiesHandler.html</file> - <file>eric5.E4XML.DebuggerPropertiesWriter.html</file> - <file>eric5.E4XML.HighlightingStylesHandler.html</file> - <file>eric5.E4XML.HighlightingStylesWriter.html</file> - <file>eric5.E4XML.MultiProjectHandler.html</file> - <file>eric5.E4XML.MultiProjectWriter.html</file> - <file>eric5.E4XML.PluginRepositoryHandler.html</file> - <file>eric5.E4XML.ProjectHandler.html</file> - <file>eric5.E4XML.ProjectWriter.html</file> - <file>eric5.E4XML.SessionHandler.html</file> - <file>eric5.E4XML.SessionWriter.html</file> - <file>eric5.E4XML.ShortcutsHandler.html</file> - <file>eric5.E4XML.ShortcutsWriter.html</file> - <file>eric5.E4XML.TasksHandler.html</file> - <file>eric5.E4XML.TasksWriter.html</file> - <file>eric5.E4XML.TemplatesHandler.html</file> - <file>eric5.E4XML.TemplatesWriter.html</file> - <file>eric5.E4XML.UserProjectHandler.html</file> - <file>eric5.E4XML.UserProjectWriter.html</file> - <file>eric5.E4XML.XMLEntityResolver.html</file> - <file>eric5.E4XML.XMLErrorHandler.html</file> - <file>eric5.E4XML.XMLHandlerBase.html</file> - <file>eric5.E4XML.XMLMessageDialog.html</file> - <file>eric5.E4XML.XMLUtilities.html</file> - <file>eric5.E4XML.XMLWriterBase.html</file> + <file>eric5.E5XML.Config.html</file> + <file>eric5.E5XML.DebuggerPropertiesHandler.html</file> + <file>eric5.E5XML.DebuggerPropertiesWriter.html</file> + <file>eric5.E5XML.HighlightingStylesHandler.html</file> + <file>eric5.E5XML.HighlightingStylesWriter.html</file> + <file>eric5.E5XML.MultiProjectHandler.html</file> + <file>eric5.E5XML.MultiProjectWriter.html</file> + <file>eric5.E5XML.PluginRepositoryHandler.html</file> + <file>eric5.E5XML.ProjectHandler.html</file> + <file>eric5.E5XML.ProjectWriter.html</file> + <file>eric5.E5XML.SessionHandler.html</file> + <file>eric5.E5XML.SessionWriter.html</file> + <file>eric5.E5XML.ShortcutsHandler.html</file> + <file>eric5.E5XML.ShortcutsWriter.html</file> + <file>eric5.E5XML.TasksHandler.html</file> + <file>eric5.E5XML.TasksWriter.html</file> + <file>eric5.E5XML.TemplatesHandler.html</file> + <file>eric5.E5XML.TemplatesWriter.html</file> + <file>eric5.E5XML.UserProjectHandler.html</file> + <file>eric5.E5XML.UserProjectWriter.html</file> + <file>eric5.E5XML.XMLEntityResolver.html</file> + <file>eric5.E5XML.XMLErrorHandler.html</file> + <file>eric5.E5XML.XMLHandlerBase.html</file> + <file>eric5.E5XML.XMLMessageDialog.html</file> + <file>eric5.E5XML.XMLUtilities.html</file> + <file>eric5.E5XML.XMLWriterBase.html</file> <file>eric5.Globals.__init__.html</file> <file>eric5.Graphics.ApplicationDiagram.html</file> <file>eric5.Graphics.AssociationItem.html</file> @@ -9395,7 +9395,7 @@ <file>index-eric5.E4Graphics.html</file> <file>index-eric5.E4Gui.html</file> <file>index-eric5.E4Network.html</file> - <file>index-eric5.E4XML.html</file> + <file>index-eric5.E5XML.html</file> <file>index-eric5.Globals.html</file> <file>index-eric5.Graphics.html</file> <file>index-eric5.Helpviewer.AdBlock.html</file>
--- a/Documentation/Source/eric5.E4XML.Config.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.Config</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.Config</h1> -<p> -Module implementing some common configuration stuf for the XML package. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>debuggerPropertiesFileFormatVersion</td></tr><tr><td>highlightingStylesFileFormatVersion</td></tr><tr><td>multiProjectFileFormatVersion</td></tr><tr><td>pluginRepositoryFileFormatVersion</td></tr><tr><td>projectFileFormatVersion</td></tr><tr><td>sessionFileFormatVersion</td></tr><tr><td>shortcutsFileFormatVersion</td></tr><tr><td>tasksFileFormatVersion</td></tr><tr><td>templatesFileFormatVersion</td></tr><tr><td>userProjectFileFormatVersion</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.DebuggerPropertiesHandler.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,221 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.DebuggerPropertiesHandler</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.DebuggerPropertiesHandler</h1> -<p> -Module implementing the handler class for reading an XML project debugger properties file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#DebuggerPropertiesHandler">DebuggerPropertiesHandler</a></td> -<td>Class implementing a sax handler to read an XML project debugger properties file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="DebuggerPropertiesHandler" ID="DebuggerPropertiesHandler"></a> -<h2>DebuggerPropertiesHandler</h2> -<p> - Class implementing a sax handler to read an XML project debugger properties file. -</p> -<h3>Derived from</h3> -XMLHandlerBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#DebuggerPropertiesHandler.__init__">DebuggerPropertiesHandler</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.endConsoleDebugger">endConsoleDebugger</a></td> -<td>Handler method for the "ConsoleDebugger" end tag.</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.endDebugClient">endDebugClient</a></td> -<td>Handler method for the "DebugClient" end tag.</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.endEnvironment">endEnvironment</a></td> -<td>Handler method for the "Environment" end tag.</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.endInterpreter">endInterpreter</a></td> -<td>Handler method for the "Interpreter" end tag.</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.endLocalPath">endLocalPath</a></td> -<td>Handler method for the "LocalPath" end tag.</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.endRemoteCommand">endRemoteCommand</a></td> -<td>Handler method for the "RemoteCommand" end tag.</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.endRemoteHost">endRemoteHost</a></td> -<td>Handler method for the "RemoteHost" end tag.</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.endRemotePath">endRemotePath</a></td> -<td>Handler method for the "RemotePath" end tag.</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.getVersion">getVersion</a></td> -<td>Public method to retrieve the version of the debugger properties.</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.startConsoleDebugger">startConsoleDebugger</a></td> -<td>Handler method for the "ConsoleDebugger" start tag.</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.startDebuggerProperties">startDebuggerProperties</a></td> -<td>Handler method for the "DebuggerProperties" start tag.</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.startDocumentDebuggerProperties">startDocumentDebuggerProperties</a></td> -<td>Handler called, when the document parsing is started.</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.startEnvironment">startEnvironment</a></td> -<td>Handler method for the "Environment" start tag.</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.startNoencoding">startNoencoding</a></td> -<td>Handler method for the "Noencoding" start tag.</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.startPathTranslation">startPathTranslation</a></td> -<td>Handler method for the "PathTranslation" start tag.</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.startRedirect">startRedirect</a></td> -<td>Handler method for the "Redirect" start tag.</td> -</tr><tr> -<td><a href="#DebuggerPropertiesHandler.startRemoteDebugger">startRemoteDebugger</a></td> -<td>Handler method for the "RemoteDebugger" start tag.</td> -</tr> -</table> -<a NAME="DebuggerPropertiesHandler.__init__" ID="DebuggerPropertiesHandler.__init__"></a> -<h4>DebuggerPropertiesHandler (Constructor)</h4> -<b>DebuggerPropertiesHandler</b>(<i>project</i>) -<p> - Constructor -</p><dl> -<dt><i>project</i></dt> -<dd> -Reference to the project object to store the - information into. -</dd> -</dl><a NAME="DebuggerPropertiesHandler.endConsoleDebugger" ID="DebuggerPropertiesHandler.endConsoleDebugger"></a> -<h4>DebuggerPropertiesHandler.endConsoleDebugger</h4> -<b>endConsoleDebugger</b>(<i></i>) -<p> - Handler method for the "ConsoleDebugger" end tag. -</p><a NAME="DebuggerPropertiesHandler.endDebugClient" ID="DebuggerPropertiesHandler.endDebugClient"></a> -<h4>DebuggerPropertiesHandler.endDebugClient</h4> -<b>endDebugClient</b>(<i></i>) -<p> - Handler method for the "DebugClient" end tag. -</p><a NAME="DebuggerPropertiesHandler.endEnvironment" ID="DebuggerPropertiesHandler.endEnvironment"></a> -<h4>DebuggerPropertiesHandler.endEnvironment</h4> -<b>endEnvironment</b>(<i></i>) -<p> - Handler method for the "Environment" end tag. -</p><a NAME="DebuggerPropertiesHandler.endInterpreter" ID="DebuggerPropertiesHandler.endInterpreter"></a> -<h4>DebuggerPropertiesHandler.endInterpreter</h4> -<b>endInterpreter</b>(<i></i>) -<p> - Handler method for the "Interpreter" end tag. -</p><a NAME="DebuggerPropertiesHandler.endLocalPath" ID="DebuggerPropertiesHandler.endLocalPath"></a> -<h4>DebuggerPropertiesHandler.endLocalPath</h4> -<b>endLocalPath</b>(<i></i>) -<p> - Handler method for the "LocalPath" end tag. -</p><a NAME="DebuggerPropertiesHandler.endRemoteCommand" ID="DebuggerPropertiesHandler.endRemoteCommand"></a> -<h4>DebuggerPropertiesHandler.endRemoteCommand</h4> -<b>endRemoteCommand</b>(<i></i>) -<p> - Handler method for the "RemoteCommand" end tag. -</p><a NAME="DebuggerPropertiesHandler.endRemoteHost" ID="DebuggerPropertiesHandler.endRemoteHost"></a> -<h4>DebuggerPropertiesHandler.endRemoteHost</h4> -<b>endRemoteHost</b>(<i></i>) -<p> - Handler method for the "RemoteHost" end tag. -</p><a NAME="DebuggerPropertiesHandler.endRemotePath" ID="DebuggerPropertiesHandler.endRemotePath"></a> -<h4>DebuggerPropertiesHandler.endRemotePath</h4> -<b>endRemotePath</b>(<i></i>) -<p> - Handler method for the "RemotePath" end tag. -</p><a NAME="DebuggerPropertiesHandler.getVersion" ID="DebuggerPropertiesHandler.getVersion"></a> -<h4>DebuggerPropertiesHandler.getVersion</h4> -<b>getVersion</b>(<i></i>) -<p> - Public method to retrieve the version of the debugger properties. -</p><dl> -<dt>Returns:</dt> -<dd> -String containing the version number. -</dd> -</dl><a NAME="DebuggerPropertiesHandler.startConsoleDebugger" ID="DebuggerPropertiesHandler.startConsoleDebugger"></a> -<h4>DebuggerPropertiesHandler.startConsoleDebugger</h4> -<b>startConsoleDebugger</b>(<i>attrs</i>) -<p> - Handler method for the "ConsoleDebugger" start tag. -</p><a NAME="DebuggerPropertiesHandler.startDebuggerProperties" ID="DebuggerPropertiesHandler.startDebuggerProperties"></a> -<h4>DebuggerPropertiesHandler.startDebuggerProperties</h4> -<b>startDebuggerProperties</b>(<i>attrs</i>) -<p> - Handler method for the "DebuggerProperties" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="DebuggerPropertiesHandler.startDocumentDebuggerProperties" ID="DebuggerPropertiesHandler.startDocumentDebuggerProperties"></a> -<h4>DebuggerPropertiesHandler.startDocumentDebuggerProperties</h4> -<b>startDocumentDebuggerProperties</b>(<i></i>) -<p> - Handler called, when the document parsing is started. -</p><a NAME="DebuggerPropertiesHandler.startEnvironment" ID="DebuggerPropertiesHandler.startEnvironment"></a> -<h4>DebuggerPropertiesHandler.startEnvironment</h4> -<b>startEnvironment</b>(<i>attrs</i>) -<p> - Handler method for the "Environment" start tag. -</p><a NAME="DebuggerPropertiesHandler.startNoencoding" ID="DebuggerPropertiesHandler.startNoencoding"></a> -<h4>DebuggerPropertiesHandler.startNoencoding</h4> -<b>startNoencoding</b>(<i>attrs</i>) -<p> - Handler method for the "Noencoding" start tag. -</p><a NAME="DebuggerPropertiesHandler.startPathTranslation" ID="DebuggerPropertiesHandler.startPathTranslation"></a> -<h4>DebuggerPropertiesHandler.startPathTranslation</h4> -<b>startPathTranslation</b>(<i>attrs</i>) -<p> - Handler method for the "PathTranslation" start tag. -</p><a NAME="DebuggerPropertiesHandler.startRedirect" ID="DebuggerPropertiesHandler.startRedirect"></a> -<h4>DebuggerPropertiesHandler.startRedirect</h4> -<b>startRedirect</b>(<i>attrs</i>) -<p> - Handler method for the "Redirect" start tag. -</p><a NAME="DebuggerPropertiesHandler.startRemoteDebugger" ID="DebuggerPropertiesHandler.startRemoteDebugger"></a> -<h4>DebuggerPropertiesHandler.startRemoteDebugger</h4> -<b>startRemoteDebugger</b>(<i>attrs</i>) -<p> - Handler method for the "RemoteDebugger" start tag. -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.DebuggerPropertiesWriter.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,86 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.DebuggerPropertiesWriter</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.DebuggerPropertiesWriter</h1> -<p> -Module implementing the writer class for writing an XML project debugger properties file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#DebuggerPropertiesWriter">DebuggerPropertiesWriter</a></td> -<td>Class implementing the writer class for writing an XML project debugger properties file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="DebuggerPropertiesWriter" ID="DebuggerPropertiesWriter"></a> -<h2>DebuggerPropertiesWriter</h2> -<p> - Class implementing the writer class for writing an XML project debugger properties - file. -</p> -<h3>Derived from</h3> -XMLWriterBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#DebuggerPropertiesWriter.__init__">DebuggerPropertiesWriter</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#DebuggerPropertiesWriter.writeXML">writeXML</a></td> -<td>Public method to write the XML to the file.</td> -</tr> -</table> -<a NAME="DebuggerPropertiesWriter.__init__" ID="DebuggerPropertiesWriter.__init__"></a> -<h4>DebuggerPropertiesWriter (Constructor)</h4> -<b>DebuggerPropertiesWriter</b>(<i>file, projectName</i>) -<p> - Constructor -</p><dl> -<dt><i>file</i></dt> -<dd> -open file (like) object for writing -</dd><dt><i>projectName</i></dt> -<dd> -name of the project (string) -</dd> -</dl><a NAME="DebuggerPropertiesWriter.writeXML" ID="DebuggerPropertiesWriter.writeXML"></a> -<h4>DebuggerPropertiesWriter.writeXML</h4> -<b>writeXML</b>(<i></i>) -<p> - Public method to write the XML to the file. -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.HighlightingStylesHandler.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,134 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.HighlightingStylesHandler</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.HighlightingStylesHandler</h1> -<p> -Module implementing the handler class for handling a highlighting styles XML file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#HighlightingStylesHandler">HighlightingStylesHandler</a></td> -<td>Class implementing a sax handler to read a highlighting styles file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="HighlightingStylesHandler" ID="HighlightingStylesHandler"></a> -<h2>HighlightingStylesHandler</h2> -<p> - Class implementing a sax handler to read a highlighting styles file. -</p> -<h3>Derived from</h3> -XMLHandlerBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#HighlightingStylesHandler.__init__">HighlightingStylesHandler</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#HighlightingStylesHandler.getVersion">getVersion</a></td> -<td>Public method to retrieve the version of the shortcuts.</td> -</tr><tr> -<td><a href="#HighlightingStylesHandler.startDocumentHighlightingStyles">startDocumentHighlightingStyles</a></td> -<td>Handler called, when the document parsing is started.</td> -</tr><tr> -<td><a href="#HighlightingStylesHandler.startHighlightingStyles">startHighlightingStyles</a></td> -<td>Handler method for the "HighlightingStyles" start tag.</td> -</tr><tr> -<td><a href="#HighlightingStylesHandler.startLexer">startLexer</a></td> -<td>Handler method for the "Lexer" start tag.</td> -</tr><tr> -<td><a href="#HighlightingStylesHandler.startStyle">startStyle</a></td> -<td>Handler method for the "Style" start tag.</td> -</tr> -</table> -<a NAME="HighlightingStylesHandler.__init__" ID="HighlightingStylesHandler.__init__"></a> -<h4>HighlightingStylesHandler (Constructor)</h4> -<b>HighlightingStylesHandler</b>(<i>lexers</i>) -<p> - Constructor -</p><dl> -<dt><i>lexers</i></dt> -<dd> -dictionary of lexer objects for which to import the styles -</dd> -</dl><a NAME="HighlightingStylesHandler.getVersion" ID="HighlightingStylesHandler.getVersion"></a> -<h4>HighlightingStylesHandler.getVersion</h4> -<b>getVersion</b>(<i></i>) -<p> - Public method to retrieve the version of the shortcuts. -</p><dl> -<dt>Returns:</dt> -<dd> -String containing the version number. -</dd> -</dl><a NAME="HighlightingStylesHandler.startDocumentHighlightingStyles" ID="HighlightingStylesHandler.startDocumentHighlightingStyles"></a> -<h4>HighlightingStylesHandler.startDocumentHighlightingStyles</h4> -<b>startDocumentHighlightingStyles</b>(<i></i>) -<p> - Handler called, when the document parsing is started. -</p><a NAME="HighlightingStylesHandler.startHighlightingStyles" ID="HighlightingStylesHandler.startHighlightingStyles"></a> -<h4>HighlightingStylesHandler.startHighlightingStyles</h4> -<b>startHighlightingStyles</b>(<i>attrs</i>) -<p> - Handler method for the "HighlightingStyles" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="HighlightingStylesHandler.startLexer" ID="HighlightingStylesHandler.startLexer"></a> -<h4>HighlightingStylesHandler.startLexer</h4> -<b>startLexer</b>(<i>attrs</i>) -<p> - Handler method for the "Lexer" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="HighlightingStylesHandler.startStyle" ID="HighlightingStylesHandler.startStyle"></a> -<h4>HighlightingStylesHandler.startStyle</h4> -<b>startStyle</b>(<i>attrs</i>) -<p> - Handler method for the "Style" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.HighlightingStylesWriter.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,85 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.HighlightingStylesWriter</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.HighlightingStylesWriter</h1> -<p> -Module implementing the writer class for writing a highlighting styles XML file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#HighlightingStylesWriter">HighlightingStylesWriter</a></td> -<td>Class implementing the writer class for writing a highlighting styles XML file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="HighlightingStylesWriter" ID="HighlightingStylesWriter"></a> -<h2>HighlightingStylesWriter</h2> -<p> - Class implementing the writer class for writing a highlighting styles XML file. -</p> -<h3>Derived from</h3> -XMLWriterBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#HighlightingStylesWriter.__init__">HighlightingStylesWriter</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#HighlightingStylesWriter.writeXML">writeXML</a></td> -<td>Public method to write the XML to the file.</td> -</tr> -</table> -<a NAME="HighlightingStylesWriter.__init__" ID="HighlightingStylesWriter.__init__"></a> -<h4>HighlightingStylesWriter (Constructor)</h4> -<b>HighlightingStylesWriter</b>(<i>file, lexers</i>) -<p> - Constructor -</p><dl> -<dt><i>file</i></dt> -<dd> -open file (like) object for writing -</dd><dt><i>lexers</i></dt> -<dd> -list of lexer objects for which to export the styles -</dd> -</dl><a NAME="HighlightingStylesWriter.writeXML" ID="HighlightingStylesWriter.writeXML"></a> -<h4>HighlightingStylesWriter.writeXML</h4> -<b>writeXML</b>(<i></i>) -<p> - Public method to write the XML to the file. -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.MultiProjectHandler.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,162 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.MultiProjectHandler</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.MultiProjectHandler</h1> -<p> -Module implementing the handler class for reading an XML multi project file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#MultiProjectHandler">MultiProjectHandler</a></td> -<td>Class implementing a sax handler to read an XML multi project file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="MultiProjectHandler" ID="MultiProjectHandler"></a> -<h2>MultiProjectHandler</h2> -<p> - Class implementing a sax handler to read an XML multi project file. -</p> -<h3>Derived from</h3> -XMLHandlerBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#MultiProjectHandler.__init__">MultiProjectHandler</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#MultiProjectHandler.endDescription">endDescription</a></td> -<td>Handler method for the "Description" end tag.</td> -</tr><tr> -<td><a href="#MultiProjectHandler.endProject">endProject</a></td> -<td>Handler method for the "Project" end tag.</td> -</tr><tr> -<td><a href="#MultiProjectHandler.endProjectDescription">endProjectDescription</a></td> -<td>Handler method for the "ProjectDescription" end tag.</td> -</tr><tr> -<td><a href="#MultiProjectHandler.endProjectFile">endProjectFile</a></td> -<td>Handler method for the "ProjectFile" end tag.</td> -</tr><tr> -<td><a href="#MultiProjectHandler.endProjectName">endProjectName</a></td> -<td>Handler method for the "ProjectName" end tag.</td> -</tr><tr> -<td><a href="#MultiProjectHandler.getVersion">getVersion</a></td> -<td>Public method to retrieve the version of the project.</td> -</tr><tr> -<td><a href="#MultiProjectHandler.startDocumentMultiProject">startDocumentMultiProject</a></td> -<td>Handler called, when the document parsing is started.</td> -</tr><tr> -<td><a href="#MultiProjectHandler.startMultiProject">startMultiProject</a></td> -<td>Handler method for the "MultiProject" start tag.</td> -</tr><tr> -<td><a href="#MultiProjectHandler.startProject">startProject</a></td> -<td>Handler method for the "Project" start tag.</td> -</tr> -</table> -<a NAME="MultiProjectHandler.__init__" ID="MultiProjectHandler.__init__"></a> -<h4>MultiProjectHandler (Constructor)</h4> -<b>MultiProjectHandler</b>(<i>multiProject</i>) -<p> - Constructor -</p><dl> -<dt><i>multiProject</i></dt> -<dd> -Reference to the multi project object to store the - information into. -</dd> -</dl><a NAME="MultiProjectHandler.endDescription" ID="MultiProjectHandler.endDescription"></a> -<h4>MultiProjectHandler.endDescription</h4> -<b>endDescription</b>(<i></i>) -<p> - Handler method for the "Description" end tag. -</p><a NAME="MultiProjectHandler.endProject" ID="MultiProjectHandler.endProject"></a> -<h4>MultiProjectHandler.endProject</h4> -<b>endProject</b>(<i></i>) -<p> - Handler method for the "Project" end tag. -</p><a NAME="MultiProjectHandler.endProjectDescription" ID="MultiProjectHandler.endProjectDescription"></a> -<h4>MultiProjectHandler.endProjectDescription</h4> -<b>endProjectDescription</b>(<i></i>) -<p> - Handler method for the "ProjectDescription" end tag. -</p><a NAME="MultiProjectHandler.endProjectFile" ID="MultiProjectHandler.endProjectFile"></a> -<h4>MultiProjectHandler.endProjectFile</h4> -<b>endProjectFile</b>(<i></i>) -<p> - Handler method for the "ProjectFile" end tag. -</p><a NAME="MultiProjectHandler.endProjectName" ID="MultiProjectHandler.endProjectName"></a> -<h4>MultiProjectHandler.endProjectName</h4> -<b>endProjectName</b>(<i></i>) -<p> - Handler method for the "ProjectName" end tag. -</p><a NAME="MultiProjectHandler.getVersion" ID="MultiProjectHandler.getVersion"></a> -<h4>MultiProjectHandler.getVersion</h4> -<b>getVersion</b>(<i></i>) -<p> - Public method to retrieve the version of the project. -</p><dl> -<dt>Returns:</dt> -<dd> -String containing the version number. -</dd> -</dl><a NAME="MultiProjectHandler.startDocumentMultiProject" ID="MultiProjectHandler.startDocumentMultiProject"></a> -<h4>MultiProjectHandler.startDocumentMultiProject</h4> -<b>startDocumentMultiProject</b>(<i></i>) -<p> - Handler called, when the document parsing is started. -</p><a NAME="MultiProjectHandler.startMultiProject" ID="MultiProjectHandler.startMultiProject"></a> -<h4>MultiProjectHandler.startMultiProject</h4> -<b>startMultiProject</b>(<i>attrs</i>) -<p> - Handler method for the "MultiProject" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="MultiProjectHandler.startProject" ID="MultiProjectHandler.startProject"></a> -<h4>MultiProjectHandler.startProject</h4> -<b>startProject</b>(<i>attrs</i>) -<p> - Handler method for the "Project" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.MultiProjectWriter.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,88 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.MultiProjectWriter</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.MultiProjectWriter</h1> -<p> -Module implementing the writer class for writing an XML multi project file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#MultiProjectWriter">MultiProjectWriter</a></td> -<td>Class implementing the writer class for writing an XML project file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="MultiProjectWriter" ID="MultiProjectWriter"></a> -<h2>MultiProjectWriter</h2> -<p> - Class implementing the writer class for writing an XML project file. -</p> -<h3>Derived from</h3> -XMLWriterBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#MultiProjectWriter.__init__">MultiProjectWriter</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#MultiProjectWriter.writeXML">writeXML</a></td> -<td>Public method to write the XML to the file.</td> -</tr> -</table> -<a NAME="MultiProjectWriter.__init__" ID="MultiProjectWriter.__init__"></a> -<h4>MultiProjectWriter (Constructor)</h4> -<b>MultiProjectWriter</b>(<i>multiProject, file, multiProjectName</i>) -<p> - Constructor -</p><dl> -<dt><i>multiProject</i></dt> -<dd> -Reference to the multi project object -</dd><dt><i>file</i></dt> -<dd> -open file (like) object for writing -</dd><dt><i>projectName</i></dt> -<dd> -name of the project (string) -</dd> -</dl><a NAME="MultiProjectWriter.writeXML" ID="MultiProjectWriter.writeXML"></a> -<h4>MultiProjectWriter.writeXML</h4> -<b>writeXML</b>(<i></i>) -<p> - Public method to write the XML to the file. -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.PluginRepositoryHandler.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,193 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.PluginRepositoryHandler</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.PluginRepositoryHandler</h1> -<p> -Module implementing the handler class for reading an XML tasks file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#PluginRepositoryHandler">PluginRepositoryHandler</a></td> -<td>Class implementing a sax handler to read an XML tasks file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="PluginRepositoryHandler" ID="PluginRepositoryHandler"></a> -<h2>PluginRepositoryHandler</h2> -<p> - Class implementing a sax handler to read an XML tasks file. -</p> -<h3>Derived from</h3> -XMLHandlerBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#PluginRepositoryHandler.__init__">PluginRepositoryHandler</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#PluginRepositoryHandler.endAuthor">endAuthor</a></td> -<td>Handler method for the "Author" end tag.</td> -</tr><tr> -<td><a href="#PluginRepositoryHandler.endDescription">endDescription</a></td> -<td>Handler method for the "Description" end tag.</td> -</tr><tr> -<td><a href="#PluginRepositoryHandler.endFilename">endFilename</a></td> -<td>Handler method for the "Filename" end tag.</td> -</tr><tr> -<td><a href="#PluginRepositoryHandler.endName">endName</a></td> -<td>Handler method for the "Name" end tag.</td> -</tr><tr> -<td><a href="#PluginRepositoryHandler.endPlugin">endPlugin</a></td> -<td>Handler method for the "Plugin" end tag.</td> -</tr><tr> -<td><a href="#PluginRepositoryHandler.endRepositoryUrl">endRepositoryUrl</a></td> -<td>Handler method for the "RepositoryUrl" end tag.</td> -</tr><tr> -<td><a href="#PluginRepositoryHandler.endShort">endShort</a></td> -<td>Handler method for the "Short" end tag.</td> -</tr><tr> -<td><a href="#PluginRepositoryHandler.endUrl">endUrl</a></td> -<td>Handler method for the "Url" end tag.</td> -</tr><tr> -<td><a href="#PluginRepositoryHandler.endVersion">endVersion</a></td> -<td>Handler method for the "Version" end tag.</td> -</tr><tr> -<td><a href="#PluginRepositoryHandler.getVersion">getVersion</a></td> -<td>Public method to retrieve the version of the tasks file.</td> -</tr><tr> -<td><a href="#PluginRepositoryHandler.startDocumentPlugins">startDocumentPlugins</a></td> -<td>Handler called, when the document parsing is started.</td> -</tr><tr> -<td><a href="#PluginRepositoryHandler.startPlugin">startPlugin</a></td> -<td>Handler method for the "Plugin" start tag.</td> -</tr><tr> -<td><a href="#PluginRepositoryHandler.startPlugins">startPlugins</a></td> -<td>Handler method for the "Plugins" start tag.</td> -</tr> -</table> -<a NAME="PluginRepositoryHandler.__init__" ID="PluginRepositoryHandler.__init__"></a> -<h4>PluginRepositoryHandler (Constructor)</h4> -<b>PluginRepositoryHandler</b>(<i>parent</i>) -<p> - Constructor -</p><dl> -<dt><i>parent</i></dt> -<dd> -reference to the parent dialog (PluginRepositoryDialog) -</dd> -</dl><a NAME="PluginRepositoryHandler.endAuthor" ID="PluginRepositoryHandler.endAuthor"></a> -<h4>PluginRepositoryHandler.endAuthor</h4> -<b>endAuthor</b>(<i></i>) -<p> - Handler method for the "Author" end tag. -</p><a NAME="PluginRepositoryHandler.endDescription" ID="PluginRepositoryHandler.endDescription"></a> -<h4>PluginRepositoryHandler.endDescription</h4> -<b>endDescription</b>(<i></i>) -<p> - Handler method for the "Description" end tag. -</p><a NAME="PluginRepositoryHandler.endFilename" ID="PluginRepositoryHandler.endFilename"></a> -<h4>PluginRepositoryHandler.endFilename</h4> -<b>endFilename</b>(<i></i>) -<p> - Handler method for the "Filename" end tag. -</p><a NAME="PluginRepositoryHandler.endName" ID="PluginRepositoryHandler.endName"></a> -<h4>PluginRepositoryHandler.endName</h4> -<b>endName</b>(<i></i>) -<p> - Handler method for the "Name" end tag. -</p><a NAME="PluginRepositoryHandler.endPlugin" ID="PluginRepositoryHandler.endPlugin"></a> -<h4>PluginRepositoryHandler.endPlugin</h4> -<b>endPlugin</b>(<i></i>) -<p> - Handler method for the "Plugin" end tag. -</p><a NAME="PluginRepositoryHandler.endRepositoryUrl" ID="PluginRepositoryHandler.endRepositoryUrl"></a> -<h4>PluginRepositoryHandler.endRepositoryUrl</h4> -<b>endRepositoryUrl</b>(<i></i>) -<p> - Handler method for the "RepositoryUrl" end tag. -</p><a NAME="PluginRepositoryHandler.endShort" ID="PluginRepositoryHandler.endShort"></a> -<h4>PluginRepositoryHandler.endShort</h4> -<b>endShort</b>(<i></i>) -<p> - Handler method for the "Short" end tag. -</p><a NAME="PluginRepositoryHandler.endUrl" ID="PluginRepositoryHandler.endUrl"></a> -<h4>PluginRepositoryHandler.endUrl</h4> -<b>endUrl</b>(<i></i>) -<p> - Handler method for the "Url" end tag. -</p><a NAME="PluginRepositoryHandler.endVersion" ID="PluginRepositoryHandler.endVersion"></a> -<h4>PluginRepositoryHandler.endVersion</h4> -<b>endVersion</b>(<i></i>) -<p> - Handler method for the "Version" end tag. -</p><a NAME="PluginRepositoryHandler.getVersion" ID="PluginRepositoryHandler.getVersion"></a> -<h4>PluginRepositoryHandler.getVersion</h4> -<b>getVersion</b>(<i></i>) -<p> - Public method to retrieve the version of the tasks file. -</p><dl> -<dt>Returns:</dt> -<dd> -String containing the version number. -</dd> -</dl><a NAME="PluginRepositoryHandler.startDocumentPlugins" ID="PluginRepositoryHandler.startDocumentPlugins"></a> -<h4>PluginRepositoryHandler.startDocumentPlugins</h4> -<b>startDocumentPlugins</b>(<i></i>) -<p> - Handler called, when the document parsing is started. -</p><a NAME="PluginRepositoryHandler.startPlugin" ID="PluginRepositoryHandler.startPlugin"></a> -<h4>PluginRepositoryHandler.startPlugin</h4> -<b>startPlugin</b>(<i>attrs</i>) -<p> - Handler method for the "Plugin" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="PluginRepositoryHandler.startPlugins" ID="PluginRepositoryHandler.startPlugins"></a> -<h4>PluginRepositoryHandler.startPlugins</h4> -<b>startPlugins</b>(<i>attrs</i>) -<p> - Handler method for the "Plugins" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.ProjectHandler.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,714 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.ProjectHandler</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.ProjectHandler</h1> -<p> -Module implementing the handler class for reading an XML project file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#ProjectHandler">ProjectHandler</a></td> -<td>Class implementing a sax handler to read an XML project file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="ProjectHandler" ID="ProjectHandler"></a> -<h2>ProjectHandler</h2> -<p> - Class implementing a sax handler to read an XML project file. -</p> -<h3>Derived from</h3> -XMLHandlerBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#ProjectHandler.__init__">ProjectHandler</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#ProjectHandler.__buildPath">__buildPath</a></td> -<td>Private method to assemble a path.</td> -</tr><tr> -<td><a href="#ProjectHandler.endAuthor">endAuthor</a></td> -<td>Handler method for the "Author" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endCheckersParams">endCheckersParams</a></td> -<td>Handler method for the "CheckersParams" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endCxfreezeParams">endCxfreezeParams</a></td> -<td>Handler method for the "CxfreezeParams" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endDescription">endDescription</a></td> -<td>Handler method for the "Description" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endDir">endDir</a></td> -<td>Handler method for the "Dir" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endDocumentationParams">endDocumentationParams</a></td> -<td>Handler method for the "DocumentationParams" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endEmail">endEmail</a></td> -<td>Handler method for the "Email" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endEric4ApiParams">endEric4ApiParams</a></td> -<td>Handler method for the "Eric4ApiParams" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endEric4DocParams">endEric4DocParams</a></td> -<td>Handler method for the "Eric4DocParams" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endForm">endForm</a></td> -<td>Handler method for the "Form" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endInterface">endInterface</a></td> -<td>Handler method for the "Interface" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endLanguage">endLanguage</a></td> -<td>Handler method for the "Language" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endMainScript">endMainScript</a></td> -<td>Handler method for the "MainScript" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endName">endName</a></td> -<td>Handler method for the "Name" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endOther">endOther</a></td> -<td>Handler method for the "Other" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endOtherToolsParams">endOtherToolsParams</a></td> -<td>Handler method for the "OtherToolsParams" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endPackagersParams">endPackagersParams</a></td> -<td>Handler method for the "PackagersParams" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endProgLanguage">endProgLanguage</a></td> -<td>Handler method for the "ProgLanguage" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endProjectExcludeList">endProjectExcludeList</a></td> -<td>Handler method for the "ProjectExcludeList" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endProjectType">endProjectType</a></td> -<td>Handler method for the "ProjectType" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endProjectTypeSpecificData">endProjectTypeSpecificData</a></td> -<td>Handler method for the "ProjectTypeSpecificData" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endProjectWordList">endProjectWordList</a></td> -<td>Handler method for the "ProjectWordList" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endPyLintParams">endPyLintParams</a></td> -<td>Handler method for the "PyLintParams" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endResource">endResource</a></td> -<td>Handler method for the "Resource" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endSource">endSource</a></td> -<td>Handler method for the "Source" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endTranslation">endTranslation</a></td> -<td>Handler method for the "Translation" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endTranslationException">endTranslationException</a></td> -<td>Handler method for the "TranslationException" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endTranslationPattern">endTranslationPattern</a></td> -<td>Handler method for the "TranslationPattern" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endTranslationPrefix">endTranslationPrefix</a></td> -<td>Handler method for the "TranslationPrefix" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endTranslationsBinPath">endTranslationsBinPath</a></td> -<td>Handler method for the "TranslationsBinPath" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endUIType">endUIType</a></td> -<td>Handler method for the "UIType" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endVcsOptions">endVcsOptions</a></td> -<td>Handler method for the "VcsOptions" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endVcsOtherData">endVcsOtherData</a></td> -<td>Handler method for the "VcsOtherData" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endVcsType">endVcsType</a></td> -<td>Handler method for the "VcsType" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.endVersion">endVersion</a></td> -<td>Handler method for the "Version" end tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.getVersion">getVersion</a></td> -<td>Public method to retrieve the version of the project.</td> -</tr><tr> -<td><a href="#ProjectHandler.startCheckersParams">startCheckersParams</a></td> -<td>Handler method for the "CheckersParams" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startCxfreezeParams">startCxfreezeParams</a></td> -<td>Handler method for the "CxfreezeParams" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startDocumentProject">startDocumentProject</a></td> -<td>Handler called, when the document parsing is started.</td> -</tr><tr> -<td><a href="#ProjectHandler.startDocumentationParams">startDocumentationParams</a></td> -<td>Handler method for the "DocumentationParams" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startEric4ApiParams">startEric4ApiParams</a></td> -<td>Handler method for the "Eric4ApiParams" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startEric4DocParams">startEric4DocParams</a></td> -<td>Handler method for the "Eric4DocParams" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startFiletypeAssociation">startFiletypeAssociation</a></td> -<td>Handler method for the "FiletypeAssociation" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startForm">startForm</a></td> -<td>Handler method for the "Form" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startInterface">startInterface</a></td> -<td>Handler method for the "Interface" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startLexerAssociation">startLexerAssociation</a></td> -<td>Handler method for the "LexerAssociation" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startMainScript">startMainScript</a></td> -<td>Handler method for the "MainScript" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startOther">startOther</a></td> -<td>Handler method for the "Other" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startOtherToolsParams">startOtherToolsParams</a></td> -<td>Handler method for the "OtherToolsParams" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startPackagersParams">startPackagersParams</a></td> -<td>Handler method for the "PackagersParams" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startProgLanguage">startProgLanguage</a></td> -<td>Handler method for the "Source" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startProject">startProject</a></td> -<td>Handler method for the "Project" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startProjectTypeSpecificData">startProjectTypeSpecificData</a></td> -<td>Handler method for the "ProjectTypeSpecificData" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startPyLintParams">startPyLintParams</a></td> -<td>Handler method for the "PyLintParams" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startResource">startResource</a></td> -<td>Handler method for the "Resource" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startSource">startSource</a></td> -<td>Handler method for the "Source" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startTranslation">startTranslation</a></td> -<td>Handler method for the "Translation" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startTranslationException">startTranslationException</a></td> -<td>Handler method for the "TranslationException" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startTranslationPrefix">startTranslationPrefix</a></td> -<td>Handler method for the "TranslationPrefix" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startTranslationsBinPath">startTranslationsBinPath</a></td> -<td>Handler method for the "TranslationsBinPath" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startVcsOptions">startVcsOptions</a></td> -<td>Handler method for the "VcsOptions" start tag.</td> -</tr><tr> -<td><a href="#ProjectHandler.startVcsOtherData">startVcsOtherData</a></td> -<td>Handler method for the "VcsOtherData" start tag.</td> -</tr> -</table> -<a NAME="ProjectHandler.__init__" ID="ProjectHandler.__init__"></a> -<h4>ProjectHandler (Constructor)</h4> -<b>ProjectHandler</b>(<i>project</i>) -<p> - Constructor -</p><dl> -<dt><i>project</i></dt> -<dd> -Reference to the project object to store the - information into. -</dd> -</dl><a NAME="ProjectHandler.__buildPath" ID="ProjectHandler.__buildPath"></a> -<h4>ProjectHandler.__buildPath</h4> -<b>__buildPath</b>(<i></i>) -<p> - Private method to assemble a path. -</p><dl> -<dt>Returns:</dt> -<dd> -The ready assembled path. (string) -</dd> -</dl><a NAME="ProjectHandler.endAuthor" ID="ProjectHandler.endAuthor"></a> -<h4>ProjectHandler.endAuthor</h4> -<b>endAuthor</b>(<i></i>) -<p> - Handler method for the "Author" end tag. -</p><a NAME="ProjectHandler.endCheckersParams" ID="ProjectHandler.endCheckersParams"></a> -<h4>ProjectHandler.endCheckersParams</h4> -<b>endCheckersParams</b>(<i></i>) -<p> - Handler method for the "CheckersParams" end tag. -</p><a NAME="ProjectHandler.endCxfreezeParams" ID="ProjectHandler.endCxfreezeParams"></a> -<h4>ProjectHandler.endCxfreezeParams</h4> -<b>endCxfreezeParams</b>(<i></i>) -<p> - Handler method for the "CxfreezeParams" end tag. -</p><a NAME="ProjectHandler.endDescription" ID="ProjectHandler.endDescription"></a> -<h4>ProjectHandler.endDescription</h4> -<b>endDescription</b>(<i></i>) -<p> - Handler method for the "Description" end tag. -</p><a NAME="ProjectHandler.endDir" ID="ProjectHandler.endDir"></a> -<h4>ProjectHandler.endDir</h4> -<b>endDir</b>(<i></i>) -<p> - Handler method for the "Dir" end tag. -</p><a NAME="ProjectHandler.endDocumentationParams" ID="ProjectHandler.endDocumentationParams"></a> -<h4>ProjectHandler.endDocumentationParams</h4> -<b>endDocumentationParams</b>(<i></i>) -<p> - Handler method for the "DocumentationParams" end tag. -</p><a NAME="ProjectHandler.endEmail" ID="ProjectHandler.endEmail"></a> -<h4>ProjectHandler.endEmail</h4> -<b>endEmail</b>(<i></i>) -<p> - Handler method for the "Email" end tag. -</p><a NAME="ProjectHandler.endEric4ApiParams" ID="ProjectHandler.endEric4ApiParams"></a> -<h4>ProjectHandler.endEric4ApiParams</h4> -<b>endEric4ApiParams</b>(<i></i>) -<p> - Handler method for the "Eric4ApiParams" end tag. -</p><a NAME="ProjectHandler.endEric4DocParams" ID="ProjectHandler.endEric4DocParams"></a> -<h4>ProjectHandler.endEric4DocParams</h4> -<b>endEric4DocParams</b>(<i></i>) -<p> - Handler method for the "Eric4DocParams" end tag. -</p><a NAME="ProjectHandler.endForm" ID="ProjectHandler.endForm"></a> -<h4>ProjectHandler.endForm</h4> -<b>endForm</b>(<i></i>) -<p> - Handler method for the "Form" end tag. -</p><a NAME="ProjectHandler.endInterface" ID="ProjectHandler.endInterface"></a> -<h4>ProjectHandler.endInterface</h4> -<b>endInterface</b>(<i></i>) -<p> - Handler method for the "Interface" end tag. -</p><a NAME="ProjectHandler.endLanguage" ID="ProjectHandler.endLanguage"></a> -<h4>ProjectHandler.endLanguage</h4> -<b>endLanguage</b>(<i></i>) -<p> - Handler method for the "Language" end tag. -</p><a NAME="ProjectHandler.endMainScript" ID="ProjectHandler.endMainScript"></a> -<h4>ProjectHandler.endMainScript</h4> -<b>endMainScript</b>(<i></i>) -<p> - Handler method for the "MainScript" end tag. -</p><a NAME="ProjectHandler.endName" ID="ProjectHandler.endName"></a> -<h4>ProjectHandler.endName</h4> -<b>endName</b>(<i></i>) -<p> - Handler method for the "Name" end tag. -</p><a NAME="ProjectHandler.endOther" ID="ProjectHandler.endOther"></a> -<h4>ProjectHandler.endOther</h4> -<b>endOther</b>(<i></i>) -<p> - Handler method for the "Other" end tag. -</p><a NAME="ProjectHandler.endOtherToolsParams" ID="ProjectHandler.endOtherToolsParams"></a> -<h4>ProjectHandler.endOtherToolsParams</h4> -<b>endOtherToolsParams</b>(<i></i>) -<p> - Handler method for the "OtherToolsParams" end tag. -</p><a NAME="ProjectHandler.endPackagersParams" ID="ProjectHandler.endPackagersParams"></a> -<h4>ProjectHandler.endPackagersParams</h4> -<b>endPackagersParams</b>(<i></i>) -<p> - Handler method for the "PackagersParams" end tag. -</p><a NAME="ProjectHandler.endProgLanguage" ID="ProjectHandler.endProgLanguage"></a> -<h4>ProjectHandler.endProgLanguage</h4> -<b>endProgLanguage</b>(<i></i>) -<p> - Handler method for the "ProgLanguage" end tag. -</p><a NAME="ProjectHandler.endProjectExcludeList" ID="ProjectHandler.endProjectExcludeList"></a> -<h4>ProjectHandler.endProjectExcludeList</h4> -<b>endProjectExcludeList</b>(<i></i>) -<p> - Handler method for the "ProjectExcludeList" end tag. -</p><a NAME="ProjectHandler.endProjectType" ID="ProjectHandler.endProjectType"></a> -<h4>ProjectHandler.endProjectType</h4> -<b>endProjectType</b>(<i></i>) -<p> - Handler method for the "ProjectType" end tag. -</p><a NAME="ProjectHandler.endProjectTypeSpecificData" ID="ProjectHandler.endProjectTypeSpecificData"></a> -<h4>ProjectHandler.endProjectTypeSpecificData</h4> -<b>endProjectTypeSpecificData</b>(<i></i>) -<p> - Handler method for the "ProjectTypeSpecificData" end tag. -</p><a NAME="ProjectHandler.endProjectWordList" ID="ProjectHandler.endProjectWordList"></a> -<h4>ProjectHandler.endProjectWordList</h4> -<b>endProjectWordList</b>(<i></i>) -<p> - Handler method for the "ProjectWordList" end tag. -</p><a NAME="ProjectHandler.endPyLintParams" ID="ProjectHandler.endPyLintParams"></a> -<h4>ProjectHandler.endPyLintParams</h4> -<b>endPyLintParams</b>(<i></i>) -<p> - Handler method for the "PyLintParams" end tag. -</p><a NAME="ProjectHandler.endResource" ID="ProjectHandler.endResource"></a> -<h4>ProjectHandler.endResource</h4> -<b>endResource</b>(<i></i>) -<p> - Handler method for the "Resource" end tag. -</p><a NAME="ProjectHandler.endSource" ID="ProjectHandler.endSource"></a> -<h4>ProjectHandler.endSource</h4> -<b>endSource</b>(<i></i>) -<p> - Handler method for the "Source" end tag. -</p><a NAME="ProjectHandler.endTranslation" ID="ProjectHandler.endTranslation"></a> -<h4>ProjectHandler.endTranslation</h4> -<b>endTranslation</b>(<i></i>) -<p> - Handler method for the "Translation" end tag. -</p><a NAME="ProjectHandler.endTranslationException" ID="ProjectHandler.endTranslationException"></a> -<h4>ProjectHandler.endTranslationException</h4> -<b>endTranslationException</b>(<i></i>) -<p> - Handler method for the "TranslationException" end tag. -</p><a NAME="ProjectHandler.endTranslationPattern" ID="ProjectHandler.endTranslationPattern"></a> -<h4>ProjectHandler.endTranslationPattern</h4> -<b>endTranslationPattern</b>(<i></i>) -<p> - Handler method for the "TranslationPattern" end tag. -</p><a NAME="ProjectHandler.endTranslationPrefix" ID="ProjectHandler.endTranslationPrefix"></a> -<h4>ProjectHandler.endTranslationPrefix</h4> -<b>endTranslationPrefix</b>(<i></i>) -<p> - Handler method for the "TranslationPrefix" end tag. -</p><a NAME="ProjectHandler.endTranslationsBinPath" ID="ProjectHandler.endTranslationsBinPath"></a> -<h4>ProjectHandler.endTranslationsBinPath</h4> -<b>endTranslationsBinPath</b>(<i></i>) -<p> - Handler method for the "TranslationsBinPath" end tag. -</p><a NAME="ProjectHandler.endUIType" ID="ProjectHandler.endUIType"></a> -<h4>ProjectHandler.endUIType</h4> -<b>endUIType</b>(<i></i>) -<p> - Handler method for the "UIType" end tag. -</p><a NAME="ProjectHandler.endVcsOptions" ID="ProjectHandler.endVcsOptions"></a> -<h4>ProjectHandler.endVcsOptions</h4> -<b>endVcsOptions</b>(<i></i>) -<p> - Handler method for the "VcsOptions" end tag. -</p><a NAME="ProjectHandler.endVcsOtherData" ID="ProjectHandler.endVcsOtherData"></a> -<h4>ProjectHandler.endVcsOtherData</h4> -<b>endVcsOtherData</b>(<i></i>) -<p> - Handler method for the "VcsOtherData" end tag. -</p><a NAME="ProjectHandler.endVcsType" ID="ProjectHandler.endVcsType"></a> -<h4>ProjectHandler.endVcsType</h4> -<b>endVcsType</b>(<i></i>) -<p> - Handler method for the "VcsType" end tag. -</p><a NAME="ProjectHandler.endVersion" ID="ProjectHandler.endVersion"></a> -<h4>ProjectHandler.endVersion</h4> -<b>endVersion</b>(<i></i>) -<p> - Handler method for the "Version" end tag. -</p><a NAME="ProjectHandler.getVersion" ID="ProjectHandler.getVersion"></a> -<h4>ProjectHandler.getVersion</h4> -<b>getVersion</b>(<i></i>) -<p> - Public method to retrieve the version of the project. -</p><dl> -<dt>Returns:</dt> -<dd> -String containing the version number. -</dd> -</dl><a NAME="ProjectHandler.startCheckersParams" ID="ProjectHandler.startCheckersParams"></a> -<h4>ProjectHandler.startCheckersParams</h4> -<b>startCheckersParams</b>(<i>attrs</i>) -<p> - Handler method for the "CheckersParams" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startCxfreezeParams" ID="ProjectHandler.startCxfreezeParams"></a> -<h4>ProjectHandler.startCxfreezeParams</h4> -<b>startCxfreezeParams</b>(<i>attrs</i>) -<p> - Handler method for the "CxfreezeParams" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startDocumentProject" ID="ProjectHandler.startDocumentProject"></a> -<h4>ProjectHandler.startDocumentProject</h4> -<b>startDocumentProject</b>(<i></i>) -<p> - Handler called, when the document parsing is started. -</p><a NAME="ProjectHandler.startDocumentationParams" ID="ProjectHandler.startDocumentationParams"></a> -<h4>ProjectHandler.startDocumentationParams</h4> -<b>startDocumentationParams</b>(<i>attrs</i>) -<p> - Handler method for the "DocumentationParams" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startEric4ApiParams" ID="ProjectHandler.startEric4ApiParams"></a> -<h4>ProjectHandler.startEric4ApiParams</h4> -<b>startEric4ApiParams</b>(<i>attrs</i>) -<p> - Handler method for the "Eric4ApiParams" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startEric4DocParams" ID="ProjectHandler.startEric4DocParams"></a> -<h4>ProjectHandler.startEric4DocParams</h4> -<b>startEric4DocParams</b>(<i>attrs</i>) -<p> - Handler method for the "Eric4DocParams" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startFiletypeAssociation" ID="ProjectHandler.startFiletypeAssociation"></a> -<h4>ProjectHandler.startFiletypeAssociation</h4> -<b>startFiletypeAssociation</b>(<i>attrs</i>) -<p> - Handler method for the "FiletypeAssociation" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startForm" ID="ProjectHandler.startForm"></a> -<h4>ProjectHandler.startForm</h4> -<b>startForm</b>(<i>attrs</i>) -<p> - Handler method for the "Form" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startInterface" ID="ProjectHandler.startInterface"></a> -<h4>ProjectHandler.startInterface</h4> -<b>startInterface</b>(<i>attrs</i>) -<p> - Handler method for the "Interface" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startLexerAssociation" ID="ProjectHandler.startLexerAssociation"></a> -<h4>ProjectHandler.startLexerAssociation</h4> -<b>startLexerAssociation</b>(<i>attrs</i>) -<p> - Handler method for the "LexerAssociation" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startMainScript" ID="ProjectHandler.startMainScript"></a> -<h4>ProjectHandler.startMainScript</h4> -<b>startMainScript</b>(<i>attrs</i>) -<p> - Handler method for the "MainScript" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startOther" ID="ProjectHandler.startOther"></a> -<h4>ProjectHandler.startOther</h4> -<b>startOther</b>(<i>attrs</i>) -<p> - Handler method for the "Other" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startOtherToolsParams" ID="ProjectHandler.startOtherToolsParams"></a> -<h4>ProjectHandler.startOtherToolsParams</h4> -<b>startOtherToolsParams</b>(<i>attrs</i>) -<p> - Handler method for the "OtherToolsParams" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startPackagersParams" ID="ProjectHandler.startPackagersParams"></a> -<h4>ProjectHandler.startPackagersParams</h4> -<b>startPackagersParams</b>(<i>attrs</i>) -<p> - Handler method for the "PackagersParams" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startProgLanguage" ID="ProjectHandler.startProgLanguage"></a> -<h4>ProjectHandler.startProgLanguage</h4> -<b>startProgLanguage</b>(<i>attrs</i>) -<p> - Handler method for the "Source" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startProject" ID="ProjectHandler.startProject"></a> -<h4>ProjectHandler.startProject</h4> -<b>startProject</b>(<i>attrs</i>) -<p> - Handler method for the "Project" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startProjectTypeSpecificData" ID="ProjectHandler.startProjectTypeSpecificData"></a> -<h4>ProjectHandler.startProjectTypeSpecificData</h4> -<b>startProjectTypeSpecificData</b>(<i>attrs</i>) -<p> - Handler method for the "ProjectTypeSpecificData" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startPyLintParams" ID="ProjectHandler.startPyLintParams"></a> -<h4>ProjectHandler.startPyLintParams</h4> -<b>startPyLintParams</b>(<i>attrs</i>) -<p> - Handler method for the "PyLintParams" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startResource" ID="ProjectHandler.startResource"></a> -<h4>ProjectHandler.startResource</h4> -<b>startResource</b>(<i>attrs</i>) -<p> - Handler method for the "Resource" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startSource" ID="ProjectHandler.startSource"></a> -<h4>ProjectHandler.startSource</h4> -<b>startSource</b>(<i>attrs</i>) -<p> - Handler method for the "Source" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startTranslation" ID="ProjectHandler.startTranslation"></a> -<h4>ProjectHandler.startTranslation</h4> -<b>startTranslation</b>(<i>attrs</i>) -<p> - Handler method for the "Translation" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startTranslationException" ID="ProjectHandler.startTranslationException"></a> -<h4>ProjectHandler.startTranslationException</h4> -<b>startTranslationException</b>(<i>attrs</i>) -<p> - Handler method for the "TranslationException" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startTranslationPrefix" ID="ProjectHandler.startTranslationPrefix"></a> -<h4>ProjectHandler.startTranslationPrefix</h4> -<b>startTranslationPrefix</b>(<i>attrs</i>) -<p> - Handler method for the "TranslationPrefix" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startTranslationsBinPath" ID="ProjectHandler.startTranslationsBinPath"></a> -<h4>ProjectHandler.startTranslationsBinPath</h4> -<b>startTranslationsBinPath</b>(<i>attrs</i>) -<p> - Handler method for the "TranslationsBinPath" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startVcsOptions" ID="ProjectHandler.startVcsOptions"></a> -<h4>ProjectHandler.startVcsOptions</h4> -<b>startVcsOptions</b>(<i>attrs</i>) -<p> - Handler method for the "VcsOptions" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ProjectHandler.startVcsOtherData" ID="ProjectHandler.startVcsOtherData"></a> -<h4>ProjectHandler.startVcsOtherData</h4> -<b>startVcsOtherData</b>(<i>attrs</i>) -<p> - Handler method for the "VcsOtherData" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.ProjectWriter.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,85 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.ProjectWriter</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.ProjectWriter</h1> -<p> -Module implementing the writer class for writing an XML project file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#ProjectWriter">ProjectWriter</a></td> -<td>Class implementing the writer class for writing an XML project file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="ProjectWriter" ID="ProjectWriter"></a> -<h2>ProjectWriter</h2> -<p> - Class implementing the writer class for writing an XML project file. -</p> -<h3>Derived from</h3> -XMLWriterBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#ProjectWriter.__init__">ProjectWriter</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#ProjectWriter.writeXML">writeXML</a></td> -<td>Public method to write the XML to the file.</td> -</tr> -</table> -<a NAME="ProjectWriter.__init__" ID="ProjectWriter.__init__"></a> -<h4>ProjectWriter (Constructor)</h4> -<b>ProjectWriter</b>(<i>file, projectName</i>) -<p> - Constructor -</p><dl> -<dt><i>file</i></dt> -<dd> -open file (like) object for writing -</dd><dt><i>projectName</i></dt> -<dd> -name of the project (string) -</dd> -</dl><a NAME="ProjectWriter.writeXML" ID="ProjectWriter.writeXML"></a> -<h4>ProjectWriter.writeXML</h4> -<b>writeXML</b>(<i></i>) -<p> - Public method to write the XML to the file. -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.SessionHandler.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,419 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.SessionHandler</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.SessionHandler</h1> -<p> -Module implementing the handler class for reading an XML project session file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#SessionHandler">SessionHandler</a></td> -<td>Class implementing a sax handler to read an XML project session file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="SessionHandler" ID="SessionHandler"></a> -<h2>SessionHandler</h2> -<p> - Class implementing a sax handler to read an XML project session file. -</p> -<h3>Derived from</h3> -XMLHandlerBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#SessionHandler.__init__">SessionHandler</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#SessionHandler.endBFilename">endBFilename</a></td> -<td>Handler method for the "BFilename" end tag.</td> -</tr><tr> -<td><a href="#SessionHandler.endBookmark">endBookmark</a></td> -<td>Handler method for the "Bookmark" end tag.</td> -</tr><tr> -<td><a href="#SessionHandler.endBreakpoint">endBreakpoint</a></td> -<td>Handler method for the "Breakpoint" end tag.</td> -</tr><tr> -<td><a href="#SessionHandler.endCommandLine">endCommandLine</a></td> -<td>Handler method for the "CommandLine" end tag.</td> -</tr><tr> -<td><a href="#SessionHandler.endCondition">endCondition</a></td> -<td>Handler method for the "Condition" end tag.</td> -</tr><tr> -<td><a href="#SessionHandler.endEnvironment">endEnvironment</a></td> -<td>Handler method for the "Environment" end tag.</td> -</tr><tr> -<td><a href="#SessionHandler.endException">endException</a></td> -<td>Handler method for the "Exception" end tag.</td> -</tr><tr> -<td><a href="#SessionHandler.endExceptions">endExceptions</a></td> -<td>Handler method for the "Exceptions" end tag.</td> -</tr><tr> -<td><a href="#SessionHandler.endFilename">endFilename</a></td> -<td>Handler method for the "Filename" end tag.</td> -</tr><tr> -<td><a href="#SessionHandler.endIgnoredException">endIgnoredException</a></td> -<td>Handler method for the "IgnoredException" end tag.</td> -</tr><tr> -<td><a href="#SessionHandler.endIgnoredExceptions">endIgnoredExceptions</a></td> -<td>Handler method for the "IgnoredExceptions" end tag.</td> -</tr><tr> -<td><a href="#SessionHandler.endMultiProject">endMultiProject</a></td> -<td>Handler method for the "MultiProject" end tag.</td> -</tr><tr> -<td><a href="#SessionHandler.endProject">endProject</a></td> -<td>Handler method for the "Project" end tag.</td> -</tr><tr> -<td><a href="#SessionHandler.endSpecial">endSpecial</a></td> -<td>Handler method for the "Special" end tag.</td> -</tr><tr> -<td><a href="#SessionHandler.endWatchexpression">endWatchexpression</a></td> -<td>Handler method for the "Watchexpression" end tag.</td> -</tr><tr> -<td><a href="#SessionHandler.endWorkingDirectory">endWorkingDirectory</a></td> -<td>Handler method for the "WorkinDirectory" end tag.</td> -</tr><tr> -<td><a href="#SessionHandler.getVersion">getVersion</a></td> -<td>Public method to retrieve the version of the session.</td> -</tr><tr> -<td><a href="#SessionHandler.startAutoClearShell">startAutoClearShell</a></td> -<td>Handler method for the "AutoClearShell" start tag.</td> -</tr><tr> -<td><a href="#SessionHandler.startAutoContinue">startAutoContinue</a></td> -<td>Handler method for the "AutoContinue" start tag.</td> -</tr><tr> -<td><a href="#SessionHandler.startBookmark">startBookmark</a></td> -<td>Handler method for the "Bookmark" start tag.</td> -</tr><tr> -<td><a href="#SessionHandler.startBreakpoint">startBreakpoint</a></td> -<td>Handler method for the "Breakpoint" start tag.</td> -</tr><tr> -<td><a href="#SessionHandler.startCount">startCount</a></td> -<td>Handler method for the "Count" start tag.</td> -</tr><tr> -<td><a href="#SessionHandler.startDocumentSession">startDocumentSession</a></td> -<td>Handler called, when the document parsing is started.</td> -</tr><tr> -<td><a href="#SessionHandler.startEnabled">startEnabled</a></td> -<td>Handler method for the "Enabled" start tag.</td> -</tr><tr> -<td><a href="#SessionHandler.startExceptions">startExceptions</a></td> -<td>Handler method for the "Exceptions" start tag.</td> -</tr><tr> -<td><a href="#SessionHandler.startFilename">startFilename</a></td> -<td>Handler method for the "Filename" start tag.</td> -</tr><tr> -<td><a href="#SessionHandler.startIgnoredExceptions">startIgnoredExceptions</a></td> -<td>Handler method for the "IgnoredExceptions" start tag.</td> -</tr><tr> -<td><a href="#SessionHandler.startLinenumber">startLinenumber</a></td> -<td>Handler method for the "Linenumber" start tag.</td> -</tr><tr> -<td><a href="#SessionHandler.startReportExceptions">startReportExceptions</a></td> -<td>Handler method for the "ReportExceptions" start tag.</td> -</tr><tr> -<td><a href="#SessionHandler.startSession">startSession</a></td> -<td>Handler method for the "Session" start tag.</td> -</tr><tr> -<td><a href="#SessionHandler.startTemporary">startTemporary</a></td> -<td>Handler method for the "Temporary" start tag.</td> -</tr><tr> -<td><a href="#SessionHandler.startTracePython">startTracePython</a></td> -<td>Handler method for the "TracePython" start tag.</td> -</tr><tr> -<td><a href="#SessionHandler.startWatchexpression">startWatchexpression</a></td> -<td>Handler method for the "Watchexpression" start tag.</td> -</tr> -</table> -<a NAME="SessionHandler.__init__" ID="SessionHandler.__init__"></a> -<h4>SessionHandler (Constructor)</h4> -<b>SessionHandler</b>(<i>project</i>) -<p> - Constructor -</p><dl> -<dt><i>project</i></dt> -<dd> -Reference to the project object to store the - information into. -</dd> -</dl><a NAME="SessionHandler.endBFilename" ID="SessionHandler.endBFilename"></a> -<h4>SessionHandler.endBFilename</h4> -<b>endBFilename</b>(<i></i>) -<p> - Handler method for the "BFilename" end tag. -</p><a NAME="SessionHandler.endBookmark" ID="SessionHandler.endBookmark"></a> -<h4>SessionHandler.endBookmark</h4> -<b>endBookmark</b>(<i></i>) -<p> - Handler method for the "Bookmark" end tag. -</p><a NAME="SessionHandler.endBreakpoint" ID="SessionHandler.endBreakpoint"></a> -<h4>SessionHandler.endBreakpoint</h4> -<b>endBreakpoint</b>(<i></i>) -<p> - Handler method for the "Breakpoint" end tag. -</p><a NAME="SessionHandler.endCommandLine" ID="SessionHandler.endCommandLine"></a> -<h4>SessionHandler.endCommandLine</h4> -<b>endCommandLine</b>(<i></i>) -<p> - Handler method for the "CommandLine" end tag. -</p><a NAME="SessionHandler.endCondition" ID="SessionHandler.endCondition"></a> -<h4>SessionHandler.endCondition</h4> -<b>endCondition</b>(<i></i>) -<p> - Handler method for the "Condition" end tag. -</p><a NAME="SessionHandler.endEnvironment" ID="SessionHandler.endEnvironment"></a> -<h4>SessionHandler.endEnvironment</h4> -<b>endEnvironment</b>(<i></i>) -<p> - Handler method for the "Environment" end tag. -</p><a NAME="SessionHandler.endException" ID="SessionHandler.endException"></a> -<h4>SessionHandler.endException</h4> -<b>endException</b>(<i></i>) -<p> - Handler method for the "Exception" end tag. -</p><a NAME="SessionHandler.endExceptions" ID="SessionHandler.endExceptions"></a> -<h4>SessionHandler.endExceptions</h4> -<b>endExceptions</b>(<i></i>) -<p> - Handler method for the "Exceptions" end tag. -</p><a NAME="SessionHandler.endFilename" ID="SessionHandler.endFilename"></a> -<h4>SessionHandler.endFilename</h4> -<b>endFilename</b>(<i></i>) -<p> - Handler method for the "Filename" end tag. -</p><a NAME="SessionHandler.endIgnoredException" ID="SessionHandler.endIgnoredException"></a> -<h4>SessionHandler.endIgnoredException</h4> -<b>endIgnoredException</b>(<i></i>) -<p> - Handler method for the "IgnoredException" end tag. -</p><a NAME="SessionHandler.endIgnoredExceptions" ID="SessionHandler.endIgnoredExceptions"></a> -<h4>SessionHandler.endIgnoredExceptions</h4> -<b>endIgnoredExceptions</b>(<i></i>) -<p> - Handler method for the "IgnoredExceptions" end tag. -</p><a NAME="SessionHandler.endMultiProject" ID="SessionHandler.endMultiProject"></a> -<h4>SessionHandler.endMultiProject</h4> -<b>endMultiProject</b>(<i></i>) -<p> - Handler method for the "MultiProject" end tag. -</p><a NAME="SessionHandler.endProject" ID="SessionHandler.endProject"></a> -<h4>SessionHandler.endProject</h4> -<b>endProject</b>(<i></i>) -<p> - Handler method for the "Project" end tag. -</p><a NAME="SessionHandler.endSpecial" ID="SessionHandler.endSpecial"></a> -<h4>SessionHandler.endSpecial</h4> -<b>endSpecial</b>(<i></i>) -<p> - Handler method for the "Special" end tag. -</p><a NAME="SessionHandler.endWatchexpression" ID="SessionHandler.endWatchexpression"></a> -<h4>SessionHandler.endWatchexpression</h4> -<b>endWatchexpression</b>(<i></i>) -<p> - Handler method for the "Watchexpression" end tag. -</p><a NAME="SessionHandler.endWorkingDirectory" ID="SessionHandler.endWorkingDirectory"></a> -<h4>SessionHandler.endWorkingDirectory</h4> -<b>endWorkingDirectory</b>(<i></i>) -<p> - Handler method for the "WorkinDirectory" end tag. -</p><a NAME="SessionHandler.getVersion" ID="SessionHandler.getVersion"></a> -<h4>SessionHandler.getVersion</h4> -<b>getVersion</b>(<i></i>) -<p> - Public method to retrieve the version of the session. -</p><dl> -<dt>Returns:</dt> -<dd> -String containing the version number. -</dd> -</dl><a NAME="SessionHandler.startAutoClearShell" ID="SessionHandler.startAutoClearShell"></a> -<h4>SessionHandler.startAutoClearShell</h4> -<b>startAutoClearShell</b>(<i>attrs</i>) -<p> - Handler method for the "AutoClearShell" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="SessionHandler.startAutoContinue" ID="SessionHandler.startAutoContinue"></a> -<h4>SessionHandler.startAutoContinue</h4> -<b>startAutoContinue</b>(<i>attrs</i>) -<p> - Handler method for the "AutoContinue" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="SessionHandler.startBookmark" ID="SessionHandler.startBookmark"></a> -<h4>SessionHandler.startBookmark</h4> -<b>startBookmark</b>(<i>attrs</i>) -<p> - Handler method for the "Bookmark" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="SessionHandler.startBreakpoint" ID="SessionHandler.startBreakpoint"></a> -<h4>SessionHandler.startBreakpoint</h4> -<b>startBreakpoint</b>(<i>attrs</i>) -<p> - Handler method for the "Breakpoint" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="SessionHandler.startCount" ID="SessionHandler.startCount"></a> -<h4>SessionHandler.startCount</h4> -<b>startCount</b>(<i>attrs</i>) -<p> - Handler method for the "Count" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="SessionHandler.startDocumentSession" ID="SessionHandler.startDocumentSession"></a> -<h4>SessionHandler.startDocumentSession</h4> -<b>startDocumentSession</b>(<i></i>) -<p> - Handler called, when the document parsing is started. -</p><a NAME="SessionHandler.startEnabled" ID="SessionHandler.startEnabled"></a> -<h4>SessionHandler.startEnabled</h4> -<b>startEnabled</b>(<i>attrs</i>) -<p> - Handler method for the "Enabled" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="SessionHandler.startExceptions" ID="SessionHandler.startExceptions"></a> -<h4>SessionHandler.startExceptions</h4> -<b>startExceptions</b>(<i>attrs</i>) -<p> - Handler method for the "Exceptions" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="SessionHandler.startFilename" ID="SessionHandler.startFilename"></a> -<h4>SessionHandler.startFilename</h4> -<b>startFilename</b>(<i>attrs</i>) -<p> - Handler method for the "Filename" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="SessionHandler.startIgnoredExceptions" ID="SessionHandler.startIgnoredExceptions"></a> -<h4>SessionHandler.startIgnoredExceptions</h4> -<b>startIgnoredExceptions</b>(<i>attrs</i>) -<p> - Handler method for the "IgnoredExceptions" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="SessionHandler.startLinenumber" ID="SessionHandler.startLinenumber"></a> -<h4>SessionHandler.startLinenumber</h4> -<b>startLinenumber</b>(<i>attrs</i>) -<p> - Handler method for the "Linenumber" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="SessionHandler.startReportExceptions" ID="SessionHandler.startReportExceptions"></a> -<h4>SessionHandler.startReportExceptions</h4> -<b>startReportExceptions</b>(<i>attrs</i>) -<p> - Handler method for the "ReportExceptions" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="SessionHandler.startSession" ID="SessionHandler.startSession"></a> -<h4>SessionHandler.startSession</h4> -<b>startSession</b>(<i>attrs</i>) -<p> - Handler method for the "Session" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="SessionHandler.startTemporary" ID="SessionHandler.startTemporary"></a> -<h4>SessionHandler.startTemporary</h4> -<b>startTemporary</b>(<i>attrs</i>) -<p> - Handler method for the "Temporary" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="SessionHandler.startTracePython" ID="SessionHandler.startTracePython"></a> -<h4>SessionHandler.startTracePython</h4> -<b>startTracePython</b>(<i>attrs</i>) -<p> - Handler method for the "TracePython" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="SessionHandler.startWatchexpression" ID="SessionHandler.startWatchexpression"></a> -<h4>SessionHandler.startWatchexpression</h4> -<b>startWatchexpression</b>(<i>attrs</i>) -<p> - Handler method for the "Watchexpression" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.SessionWriter.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,86 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.SessionWriter</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.SessionWriter</h1> -<p> -Module implementing the writer class for writing an XML project session file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#SessionWriter">SessionWriter</a></td> -<td>Class implementing the writer class for writing an XML project session file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="SessionWriter" ID="SessionWriter"></a> -<h2>SessionWriter</h2> -<p> - Class implementing the writer class for writing an XML project session file. -</p> -<h3>Derived from</h3> -XMLWriterBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#SessionWriter.__init__">SessionWriter</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#SessionWriter.writeXML">writeXML</a></td> -<td>Public method to write the XML to the file.</td> -</tr> -</table> -<a NAME="SessionWriter.__init__" ID="SessionWriter.__init__"></a> -<h4>SessionWriter (Constructor)</h4> -<b>SessionWriter</b>(<i>file, projectName</i>) -<p> - Constructor -</p><dl> -<dt><i>file</i></dt> -<dd> -open file (like) object for writing -</dd><dt><i>projectName</i></dt> -<dd> -name of the project (string) or None for the - global session -</dd> -</dl><a NAME="SessionWriter.writeXML" ID="SessionWriter.writeXML"></a> -<h4>SessionWriter.writeXML</h4> -<b>writeXML</b>(<i></i>) -<p> - Public method to write the XML to the file. -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.ShortcutsHandler.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,164 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.ShortcutsHandler</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.ShortcutsHandler</h1> -<p> -Module implementing the handler class for reading a keyboard shortcuts file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#ShortcutsHandler">ShortcutsHandler</a></td> -<td>Class implementing a sax handler to read a keyboard shortcuts file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="ShortcutsHandler" ID="ShortcutsHandler"></a> -<h2>ShortcutsHandler</h2> -<p> - Class implementing a sax handler to read a keyboard shortcuts file. -</p> -<h3>Derived from</h3> -XMLHandlerBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#ShortcutsHandler.__init__">ShortcutsHandler</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#ShortcutsHandler.endAccel">endAccel</a></td> -<td>Handler method for the "Accel" end tag.</td> -</tr><tr> -<td><a href="#ShortcutsHandler.endAltAccel">endAltAccel</a></td> -<td>Handler method for the "AltAccel" end tag.</td> -</tr><tr> -<td><a href="#ShortcutsHandler.endName">endName</a></td> -<td>Handler method for the "Name" end tag.</td> -</tr><tr> -<td><a href="#ShortcutsHandler.endShortcut">endShortcut</a></td> -<td>Handler method for the "Shortcut" end tag.</td> -</tr><tr> -<td><a href="#ShortcutsHandler.getShortcuts">getShortcuts</a></td> -<td>Public method to retrieve the shortcuts.</td> -</tr><tr> -<td><a href="#ShortcutsHandler.getVersion">getVersion</a></td> -<td>Public method to retrieve the version of the shortcuts.</td> -</tr><tr> -<td><a href="#ShortcutsHandler.startDocumentShortcuts">startDocumentShortcuts</a></td> -<td>Handler called, when the document parsing is started.</td> -</tr><tr> -<td><a href="#ShortcutsHandler.startShortcut">startShortcut</a></td> -<td>Handler method for the "Shortcut" start tag.</td> -</tr><tr> -<td><a href="#ShortcutsHandler.startShortcuts">startShortcuts</a></td> -<td>Handler method for the "Shortcuts" start tag.</td> -</tr> -</table> -<a NAME="ShortcutsHandler.__init__" ID="ShortcutsHandler.__init__"></a> -<h4>ShortcutsHandler (Constructor)</h4> -<b>ShortcutsHandler</b>(<i></i>) -<p> - Constructor -</p><a NAME="ShortcutsHandler.endAccel" ID="ShortcutsHandler.endAccel"></a> -<h4>ShortcutsHandler.endAccel</h4> -<b>endAccel</b>(<i></i>) -<p> - Handler method for the "Accel" end tag. -</p><a NAME="ShortcutsHandler.endAltAccel" ID="ShortcutsHandler.endAltAccel"></a> -<h4>ShortcutsHandler.endAltAccel</h4> -<b>endAltAccel</b>(<i></i>) -<p> - Handler method for the "AltAccel" end tag. -</p><a NAME="ShortcutsHandler.endName" ID="ShortcutsHandler.endName"></a> -<h4>ShortcutsHandler.endName</h4> -<b>endName</b>(<i></i>) -<p> - Handler method for the "Name" end tag. -</p><a NAME="ShortcutsHandler.endShortcut" ID="ShortcutsHandler.endShortcut"></a> -<h4>ShortcutsHandler.endShortcut</h4> -<b>endShortcut</b>(<i></i>) -<p> - Handler method for the "Shortcut" end tag. -</p><a NAME="ShortcutsHandler.getShortcuts" ID="ShortcutsHandler.getShortcuts"></a> -<h4>ShortcutsHandler.getShortcuts</h4> -<b>getShortcuts</b>(<i></i>) -<p> - Public method to retrieve the shortcuts. -</p><dl> -<dt>Returns:</dt> -<dd> -Dictionary of dictionaries of shortcuts. The keys of the - dictionary are the categories, the values are dictionaries. - These dictionaries have the shortcut name as their key and - a tuple of accelerators as their value. -</dd> -</dl><a NAME="ShortcutsHandler.getVersion" ID="ShortcutsHandler.getVersion"></a> -<h4>ShortcutsHandler.getVersion</h4> -<b>getVersion</b>(<i></i>) -<p> - Public method to retrieve the version of the shortcuts. -</p><dl> -<dt>Returns:</dt> -<dd> -String containing the version number. -</dd> -</dl><a NAME="ShortcutsHandler.startDocumentShortcuts" ID="ShortcutsHandler.startDocumentShortcuts"></a> -<h4>ShortcutsHandler.startDocumentShortcuts</h4> -<b>startDocumentShortcuts</b>(<i></i>) -<p> - Handler called, when the document parsing is started. -</p><a NAME="ShortcutsHandler.startShortcut" ID="ShortcutsHandler.startShortcut"></a> -<h4>ShortcutsHandler.startShortcut</h4> -<b>startShortcut</b>(<i>attrs</i>) -<p> - Handler method for the "Shortcut" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="ShortcutsHandler.startShortcuts" ID="ShortcutsHandler.startShortcuts"></a> -<h4>ShortcutsHandler.startShortcuts</h4> -<b>startShortcuts</b>(<i>attrs</i>) -<p> - Handler method for the "Shortcuts" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.ShortcutsWriter.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,82 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.ShortcutsWriter</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.ShortcutsWriter</h1> -<p> -Module implementing the writer class for writing an XML shortcuts file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#ShortcutsWriter">ShortcutsWriter</a></td> -<td>Class implementing the writer class for writing an XML shortcuts file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="ShortcutsWriter" ID="ShortcutsWriter"></a> -<h2>ShortcutsWriter</h2> -<p> - Class implementing the writer class for writing an XML shortcuts file. -</p> -<h3>Derived from</h3> -XMLWriterBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#ShortcutsWriter.__init__">ShortcutsWriter</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#ShortcutsWriter.writeXML">writeXML</a></td> -<td>Public method to write the XML to the file.</td> -</tr> -</table> -<a NAME="ShortcutsWriter.__init__" ID="ShortcutsWriter.__init__"></a> -<h4>ShortcutsWriter (Constructor)</h4> -<b>ShortcutsWriter</b>(<i>file</i>) -<p> - Constructor -</p><dl> -<dt><i>file</i></dt> -<dd> -open file (like) object for writing -</dd> -</dl><a NAME="ShortcutsWriter.writeXML" ID="ShortcutsWriter.writeXML"></a> -<h4>ShortcutsWriter.writeXML</h4> -<b>writeXML</b>(<i></i>) -<p> - Public method to write the XML to the file. -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.TasksHandler.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,214 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.TasksHandler</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.TasksHandler</h1> -<p> -Module implementing the handler class for reading an XML tasks file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#TasksHandler">TasksHandler</a></td> -<td>Class implementing a sax handler to read an XML tasks file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="TasksHandler" ID="TasksHandler"></a> -<h2>TasksHandler</h2> -<p> - Class implementing a sax handler to read an XML tasks file. -</p> -<h3>Derived from</h3> -XMLHandlerBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#TasksHandler.__init__">TasksHandler</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#TasksHandler.__buildPath">__buildPath</a></td> -<td>Private method to assemble a path.</td> -</tr><tr> -<td><a href="#TasksHandler.endCreated">endCreated</a></td> -<td>Handler method for the "Created" end tag.</td> -</tr><tr> -<td><a href="#TasksHandler.endDescription">endDescription</a></td> -<td>Handler method for the "Description" end tag.</td> -</tr><tr> -<td><a href="#TasksHandler.endDir">endDir</a></td> -<td>Handler method for the "Dir" end tag.</td> -</tr><tr> -<td><a href="#TasksHandler.endFilename">endFilename</a></td> -<td>Handler method for the "Filename" end tag.</td> -</tr><tr> -<td><a href="#TasksHandler.endLinenumber">endLinenumber</a></td> -<td>Handler method for the "Linenumber" end tag.</td> -</tr><tr> -<td><a href="#TasksHandler.endName">endName</a></td> -<td>Handler method for the "Name" end tag.</td> -</tr><tr> -<td><a href="#TasksHandler.endSummary">endSummary</a></td> -<td>Handler method for the "Summary" end tag.</td> -</tr><tr> -<td><a href="#TasksHandler.endTask">endTask</a></td> -<td>Handler method for the "Task" end tag.</td> -</tr><tr> -<td><a href="#TasksHandler.getVersion">getVersion</a></td> -<td>Public method to retrieve the version of the tasks file.</td> -</tr><tr> -<td><a href="#TasksHandler.startDocumentTasks">startDocumentTasks</a></td> -<td>Handler called, when the document parsing is started.</td> -</tr><tr> -<td><a href="#TasksHandler.startFilename">startFilename</a></td> -<td>Handler method for the "Filename" start tag.</td> -</tr><tr> -<td><a href="#TasksHandler.startTask">startTask</a></td> -<td>Handler method for the "Task" start tag.</td> -</tr><tr> -<td><a href="#TasksHandler.startTasks">startTasks</a></td> -<td>Handler method for the "Tasks" start tag.</td> -</tr> -</table> -<a NAME="TasksHandler.__init__" ID="TasksHandler.__init__"></a> -<h4>TasksHandler (Constructor)</h4> -<b>TasksHandler</b>(<i>forProject = False, taskViewer=None</i>) -<p> - Constructor -</p><dl> -<dt><i>forProject</i></dt> -<dd> -flag indicating project related mode (boolean) -</dd><dt><i>taskViewer</i></dt> -<dd> -reference to the task viewer object -</dd> -</dl><a NAME="TasksHandler.__buildPath" ID="TasksHandler.__buildPath"></a> -<h4>TasksHandler.__buildPath</h4> -<b>__buildPath</b>(<i></i>) -<p> - Private method to assemble a path. -</p><dl> -<dt>Returns:</dt> -<dd> -The ready assembled path. (string) -</dd> -</dl><a NAME="TasksHandler.endCreated" ID="TasksHandler.endCreated"></a> -<h4>TasksHandler.endCreated</h4> -<b>endCreated</b>(<i></i>) -<p> - Handler method for the "Created" end tag. -</p><a NAME="TasksHandler.endDescription" ID="TasksHandler.endDescription"></a> -<h4>TasksHandler.endDescription</h4> -<b>endDescription</b>(<i></i>) -<p> - Handler method for the "Description" end tag. -</p><a NAME="TasksHandler.endDir" ID="TasksHandler.endDir"></a> -<h4>TasksHandler.endDir</h4> -<b>endDir</b>(<i></i>) -<p> - Handler method for the "Dir" end tag. -</p><a NAME="TasksHandler.endFilename" ID="TasksHandler.endFilename"></a> -<h4>TasksHandler.endFilename</h4> -<b>endFilename</b>(<i></i>) -<p> - Handler method for the "Filename" end tag. -</p><a NAME="TasksHandler.endLinenumber" ID="TasksHandler.endLinenumber"></a> -<h4>TasksHandler.endLinenumber</h4> -<b>endLinenumber</b>(<i></i>) -<p> - Handler method for the "Linenumber" end tag. -</p><a NAME="TasksHandler.endName" ID="TasksHandler.endName"></a> -<h4>TasksHandler.endName</h4> -<b>endName</b>(<i></i>) -<p> - Handler method for the "Name" end tag. -</p><a NAME="TasksHandler.endSummary" ID="TasksHandler.endSummary"></a> -<h4>TasksHandler.endSummary</h4> -<b>endSummary</b>(<i></i>) -<p> - Handler method for the "Summary" end tag. -</p><a NAME="TasksHandler.endTask" ID="TasksHandler.endTask"></a> -<h4>TasksHandler.endTask</h4> -<b>endTask</b>(<i></i>) -<p> - Handler method for the "Task" end tag. -</p><a NAME="TasksHandler.getVersion" ID="TasksHandler.getVersion"></a> -<h4>TasksHandler.getVersion</h4> -<b>getVersion</b>(<i></i>) -<p> - Public method to retrieve the version of the tasks file. -</p><dl> -<dt>Returns:</dt> -<dd> -String containing the version number. -</dd> -</dl><a NAME="TasksHandler.startDocumentTasks" ID="TasksHandler.startDocumentTasks"></a> -<h4>TasksHandler.startDocumentTasks</h4> -<b>startDocumentTasks</b>(<i></i>) -<p> - Handler called, when the document parsing is started. -</p><a NAME="TasksHandler.startFilename" ID="TasksHandler.startFilename"></a> -<h4>TasksHandler.startFilename</h4> -<b>startFilename</b>(<i>attrs</i>) -<p> - Handler method for the "Filename" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="TasksHandler.startTask" ID="TasksHandler.startTask"></a> -<h4>TasksHandler.startTask</h4> -<b>startTask</b>(<i>attrs</i>) -<p> - Handler method for the "Task" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="TasksHandler.startTasks" ID="TasksHandler.startTasks"></a> -<h4>TasksHandler.startTasks</h4> -<b>startTasks</b>(<i>attrs</i>) -<p> - Handler method for the "Tasks" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.TasksWriter.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,88 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.TasksWriter</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.TasksWriter</h1> -<p> -Module implementing the writer class for writing an XML tasks file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#TasksWriter">TasksWriter</a></td> -<td>Class implementing the writer class for writing an XML tasks file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="TasksWriter" ID="TasksWriter"></a> -<h2>TasksWriter</h2> -<p> - Class implementing the writer class for writing an XML tasks file. -</p> -<h3>Derived from</h3> -XMLWriterBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#TasksWriter.__init__">TasksWriter</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#TasksWriter.writeXML">writeXML</a></td> -<td>Public method to write the XML to the file.</td> -</tr> -</table> -<a NAME="TasksWriter.__init__" ID="TasksWriter.__init__"></a> -<h4>TasksWriter (Constructor)</h4> -<b>TasksWriter</b>(<i>file, forProject = False, projectName=""</i>) -<p> - Constructor -</p><dl> -<dt><i>file</i></dt> -<dd> -open file (like) object for writing -</dd><dt><i>forProject</i></dt> -<dd> -flag indicating project related mode (boolean) -</dd><dt><i>projectName</i></dt> -<dd> -name of the project (string) -</dd> -</dl><a NAME="TasksWriter.writeXML" ID="TasksWriter.writeXML"></a> -<h4>TasksWriter.writeXML</h4> -<b>writeXML</b>(<i></i>) -<p> - Public method to write the XML to the file. -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.TemplatesHandler.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,158 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.TemplatesHandler</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.TemplatesHandler</h1> -<p> -Module implementing the handler class for reading an XML templates file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#TemplatesHandler">TemplatesHandler</a></td> -<td>Class implementing a sax handler to read an XML templates file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="TemplatesHandler" ID="TemplatesHandler"></a> -<h2>TemplatesHandler</h2> -<p> - Class implementing a sax handler to read an XML templates file. -</p> -<h3>Derived from</h3> -XMLHandlerBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#TemplatesHandler.__init__">TemplatesHandler</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#TemplatesHandler.endTemplate">endTemplate</a></td> -<td>Handler method for the "Template" end tag.</td> -</tr><tr> -<td><a href="#TemplatesHandler.endTemplateDescription">endTemplateDescription</a></td> -<td>Handler method for the "TemplateDescription" end tag.</td> -</tr><tr> -<td><a href="#TemplatesHandler.endTemplateText">endTemplateText</a></td> -<td>Handler method for the "TemplateText" end tag.</td> -</tr><tr> -<td><a href="#TemplatesHandler.getVersion">getVersion</a></td> -<td>Public method to retrieve the version of the templates.</td> -</tr><tr> -<td><a href="#TemplatesHandler.startDocumentTemplates">startDocumentTemplates</a></td> -<td>Handler called, when the document parsing is started.</td> -</tr><tr> -<td><a href="#TemplatesHandler.startTemplate">startTemplate</a></td> -<td>Handler method for the "Template" start tag.</td> -</tr><tr> -<td><a href="#TemplatesHandler.startTemplateGroup">startTemplateGroup</a></td> -<td>Handler method for the "TemplateGroup" start tag.</td> -</tr><tr> -<td><a href="#TemplatesHandler.startTemplates">startTemplates</a></td> -<td>Handler method for the "Templates" start tag.</td> -</tr> -</table> -<a NAME="TemplatesHandler.__init__" ID="TemplatesHandler.__init__"></a> -<h4>TemplatesHandler (Constructor)</h4> -<b>TemplatesHandler</b>(<i>templateViewer=None</i>) -<p> - Constructor -</p><dl> -<dt><i>templateViewer</i></dt> -<dd> -reference to the template viewer object -</dd> -</dl><a NAME="TemplatesHandler.endTemplate" ID="TemplatesHandler.endTemplate"></a> -<h4>TemplatesHandler.endTemplate</h4> -<b>endTemplate</b>(<i></i>) -<p> - Handler method for the "Template" end tag. -</p><a NAME="TemplatesHandler.endTemplateDescription" ID="TemplatesHandler.endTemplateDescription"></a> -<h4>TemplatesHandler.endTemplateDescription</h4> -<b>endTemplateDescription</b>(<i></i>) -<p> - Handler method for the "TemplateDescription" end tag. -</p><a NAME="TemplatesHandler.endTemplateText" ID="TemplatesHandler.endTemplateText"></a> -<h4>TemplatesHandler.endTemplateText</h4> -<b>endTemplateText</b>(<i></i>) -<p> - Handler method for the "TemplateText" end tag. -</p><a NAME="TemplatesHandler.getVersion" ID="TemplatesHandler.getVersion"></a> -<h4>TemplatesHandler.getVersion</h4> -<b>getVersion</b>(<i></i>) -<p> - Public method to retrieve the version of the templates. -</p><dl> -<dt>Returns:</dt> -<dd> -String containing the version number. -</dd> -</dl><a NAME="TemplatesHandler.startDocumentTemplates" ID="TemplatesHandler.startDocumentTemplates"></a> -<h4>TemplatesHandler.startDocumentTemplates</h4> -<b>startDocumentTemplates</b>(<i></i>) -<p> - Handler called, when the document parsing is started. -</p><a NAME="TemplatesHandler.startTemplate" ID="TemplatesHandler.startTemplate"></a> -<h4>TemplatesHandler.startTemplate</h4> -<b>startTemplate</b>(<i>attrs</i>) -<p> - Handler method for the "Template" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="TemplatesHandler.startTemplateGroup" ID="TemplatesHandler.startTemplateGroup"></a> -<h4>TemplatesHandler.startTemplateGroup</h4> -<b>startTemplateGroup</b>(<i>attrs</i>) -<p> - Handler method for the "TemplateGroup" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="TemplatesHandler.startTemplates" ID="TemplatesHandler.startTemplates"></a> -<h4>TemplatesHandler.startTemplates</h4> -<b>startTemplates</b>(<i>attrs</i>) -<p> - Handler method for the "Templates" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.TemplatesWriter.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,82 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.TemplatesWriter</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.TemplatesWriter</h1> -<p> -Module implementing the writer class for writing an XML templates file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#TemplatesWriter">TemplatesWriter</a></td> -<td>Class implementing the writer class for writing an XML templates file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="TemplatesWriter" ID="TemplatesWriter"></a> -<h2>TemplatesWriter</h2> -<p> - Class implementing the writer class for writing an XML templates file. -</p> -<h3>Derived from</h3> -XMLWriterBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#TemplatesWriter.__init__">TemplatesWriter</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#TemplatesWriter.writeXML">writeXML</a></td> -<td>Public method to write the XML to the file.</td> -</tr> -</table> -<a NAME="TemplatesWriter.__init__" ID="TemplatesWriter.__init__"></a> -<h4>TemplatesWriter (Constructor)</h4> -<b>TemplatesWriter</b>(<i>file, templatesViewer</i>) -<p> - Constructor -</p><dl> -<dt><i>file</i></dt> -<dd> -open file (like) object for writing -</dd> -</dl><a NAME="TemplatesWriter.writeXML" ID="TemplatesWriter.writeXML"></a> -<h4>TemplatesWriter.writeXML</h4> -<b>writeXML</b>(<i></i>) -<p> - Public method to write the XML to the file. -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.UserProjectHandler.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,130 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.UserProjectHandler</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.UserProjectHandler</h1> -<p> -Module implementing the handler class for reading an XML user project properties file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#UserProjectHandler">UserProjectHandler</a></td> -<td>Class implementing a sax handler to read an XML user project properties file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="UserProjectHandler" ID="UserProjectHandler"></a> -<h2>UserProjectHandler</h2> -<p> - Class implementing a sax handler to read an XML user project properties file. -</p> -<h3>Derived from</h3> -XMLHandlerBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#UserProjectHandler.__init__">UserProjectHandler</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#UserProjectHandler.endVcsType">endVcsType</a></td> -<td>Handler method for the "VcsType" end tag.</td> -</tr><tr> -<td><a href="#UserProjectHandler.getVersion">getVersion</a></td> -<td>Public method to retrieve the version of the user project file.</td> -</tr><tr> -<td><a href="#UserProjectHandler.startDocumentProject">startDocumentProject</a></td> -<td>Handler called, when the document parsing is started.</td> -</tr><tr> -<td><a href="#UserProjectHandler.startUserProject">startUserProject</a></td> -<td>Handler method for the "UserProject" start tag.</td> -</tr><tr> -<td><a href="#UserProjectHandler.startVcsStatusMonitorInterval">startVcsStatusMonitorInterval</a></td> -<td>Handler method for the "VcsStatusMonitorInterval" start tag.</td> -</tr> -</table> -<a NAME="UserProjectHandler.__init__" ID="UserProjectHandler.__init__"></a> -<h4>UserProjectHandler (Constructor)</h4> -<b>UserProjectHandler</b>(<i>project</i>) -<p> - Constructor -</p><dl> -<dt><i>project</i></dt> -<dd> -Reference to the project object to store the - information into. -</dd> -</dl><a NAME="UserProjectHandler.endVcsType" ID="UserProjectHandler.endVcsType"></a> -<h4>UserProjectHandler.endVcsType</h4> -<b>endVcsType</b>(<i></i>) -<p> - Handler method for the "VcsType" end tag. -</p><a NAME="UserProjectHandler.getVersion" ID="UserProjectHandler.getVersion"></a> -<h4>UserProjectHandler.getVersion</h4> -<b>getVersion</b>(<i></i>) -<p> - Public method to retrieve the version of the user project file. -</p><dl> -<dt>Returns:</dt> -<dd> -String containing the version number. -</dd> -</dl><a NAME="UserProjectHandler.startDocumentProject" ID="UserProjectHandler.startDocumentProject"></a> -<h4>UserProjectHandler.startDocumentProject</h4> -<b>startDocumentProject</b>(<i></i>) -<p> - Handler called, when the document parsing is started. -</p><a NAME="UserProjectHandler.startUserProject" ID="UserProjectHandler.startUserProject"></a> -<h4>UserProjectHandler.startUserProject</h4> -<b>startUserProject</b>(<i>attrs</i>) -<p> - Handler method for the "UserProject" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="UserProjectHandler.startVcsStatusMonitorInterval" ID="UserProjectHandler.startVcsStatusMonitorInterval"></a> -<h4>UserProjectHandler.startVcsStatusMonitorInterval</h4> -<b>startVcsStatusMonitorInterval</b>(<i>attrs</i>) -<p> - Handler method for the "VcsStatusMonitorInterval" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.UserProjectWriter.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,85 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.UserProjectWriter</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.UserProjectWriter</h1> -<p> -Module implementing the writer class for writing an XML user project properties file. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#UserProjectWriter">UserProjectWriter</a></td> -<td>Class implementing the writer class for writing an XML user project properties file.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="UserProjectWriter" ID="UserProjectWriter"></a> -<h2>UserProjectWriter</h2> -<p> - Class implementing the writer class for writing an XML user project properties file. -</p> -<h3>Derived from</h3> -XMLWriterBase -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#UserProjectWriter.__init__">UserProjectWriter</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#UserProjectWriter.writeXML">writeXML</a></td> -<td>Public method to write the XML to the file.</td> -</tr> -</table> -<a NAME="UserProjectWriter.__init__" ID="UserProjectWriter.__init__"></a> -<h4>UserProjectWriter (Constructor)</h4> -<b>UserProjectWriter</b>(<i>file, projectName</i>) -<p> - Constructor -</p><dl> -<dt><i>file</i></dt> -<dd> -open file (like) object for writing -</dd><dt><i>projectName</i></dt> -<dd> -name of the project (string) -</dd> -</dl><a NAME="UserProjectWriter.writeXML" ID="UserProjectWriter.writeXML"></a> -<h4>UserProjectWriter.writeXML</h4> -<b>writeXML</b>(<i></i>) -<p> - Public method to write the XML to the file. -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.XMLEntityResolver.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,83 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.XMLEntityResolver</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.XMLEntityResolver</h1> -<p> -Module implementing a specialized entity resolver to find our DTDs. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#XMLEntityResolver">XMLEntityResolver</a></td> -<td>Class implementing a specialized entity resolver to find our DTDs.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="XMLEntityResolver" ID="XMLEntityResolver"></a> -<h2>XMLEntityResolver</h2> -<p> - Class implementing a specialized entity resolver to find our DTDs. -</p> -<h3>Derived from</h3> -EntityResolver -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#XMLEntityResolver.resolveEntity">resolveEntity</a></td> -<td>Public method to resolve the system identifier of an entity and return either the system identifier to read from as a string.</td> -</tr> -</table> -<a NAME="XMLEntityResolver.resolveEntity" ID="XMLEntityResolver.resolveEntity"></a> -<h4>XMLEntityResolver.resolveEntity</h4> -<b>resolveEntity</b>(<i>publicId, systemId</i>) -<p> - Public method to resolve the system identifier of an entity and - return either the system identifier to read from as a string. -</p><dl> -<dt><i>publicId</i></dt> -<dd> -publicId of an entity (string) -</dd><dt><i>systemId</i></dt> -<dd> -systemId of an entity to reslove (string) -</dd> -</dl><dl> -<dt>Returns:</dt> -<dd> -resolved systemId (string) -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.XMLErrorHandler.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,177 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.XMLErrorHandler</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.XMLErrorHandler</h1> -<p> -Module implementing an error handler class. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#XMLErrorHandler">XMLErrorHandler</a></td> -<td>Class implementing an error handler class.</td> -</tr><tr> -<td><a href="#XMLFatalParseError">XMLFatalParseError</a></td> -<td>Class implementing an exception for recoverable parse errors.</td> -</tr><tr> -<td><a href="#XMLParseError">XMLParseError</a></td> -<td>Class implementing an exception for recoverable parse errors.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="XMLErrorHandler" ID="XMLErrorHandler"></a> -<h2>XMLErrorHandler</h2> -<p> - Class implementing an error handler class. -</p> -<h3>Derived from</h3> -ErrorHandler -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#XMLErrorHandler.__init__">XMLErrorHandler</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#XMLErrorHandler.error">error</a></td> -<td>Public method to handle a recoverable error.</td> -</tr><tr> -<td><a href="#XMLErrorHandler.fatalError">fatalError</a></td> -<td>Public method to handle a non-recoverable error.</td> -</tr><tr> -<td><a href="#XMLErrorHandler.getParseMessages">getParseMessages</a></td> -<td>Public method to retrieve all messages.</td> -</tr><tr> -<td><a href="#XMLErrorHandler.showParseMessages">showParseMessages</a></td> -<td>Public method to show the parse messages (if any) in a dialog.</td> -</tr><tr> -<td><a href="#XMLErrorHandler.warning">warning</a></td> -<td>Public method to handle a warning.</td> -</tr> -</table> -<a NAME="XMLErrorHandler.__init__" ID="XMLErrorHandler.__init__"></a> -<h4>XMLErrorHandler (Constructor)</h4> -<b>XMLErrorHandler</b>(<i></i>) -<p> - Constructor -</p><a NAME="XMLErrorHandler.error" ID="XMLErrorHandler.error"></a> -<h4>XMLErrorHandler.error</h4> -<b>error</b>(<i>exception</i>) -<p> - Public method to handle a recoverable error. -</p><dl> -<dt><i>exception</i></dt> -<dd> -Exception object describing the error (SAXParseException) -</dd> -</dl><a NAME="XMLErrorHandler.fatalError" ID="XMLErrorHandler.fatalError"></a> -<h4>XMLErrorHandler.fatalError</h4> -<b>fatalError</b>(<i>exception</i>) -<p> - Public method to handle a non-recoverable error. -</p><dl> -<dt><i>exception</i></dt> -<dd> -Exception object describing the error (SAXParseException) -</dd> -</dl><dl> -<dt>Raises <b>XMLFatalParseError</b>:</dt> -<dd> -a fatal parse error has occured -</dd> -</dl><a NAME="XMLErrorHandler.getParseMessages" ID="XMLErrorHandler.getParseMessages"></a> -<h4>XMLErrorHandler.getParseMessages</h4> -<b>getParseMessages</b>(<i></i>) -<p> - Public method to retrieve all messages. -</p><dl> -<dt>Returns:</dt> -<dd> -list of tuples of (message type, system id, line no, column no, - message) -</dd> -</dl><a NAME="XMLErrorHandler.showParseMessages" ID="XMLErrorHandler.showParseMessages"></a> -<h4>XMLErrorHandler.showParseMessages</h4> -<b>showParseMessages</b>(<i></i>) -<p> - Public method to show the parse messages (if any) in a dialog. -</p><a NAME="XMLErrorHandler.warning" ID="XMLErrorHandler.warning"></a> -<h4>XMLErrorHandler.warning</h4> -<b>warning</b>(<i>exception</i>) -<p> - Public method to handle a warning. -</p><dl> -<dt><i>exception</i></dt> -<dd> -Exception object describing the error (SAXParseException) -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /><hr /> -<a NAME="XMLFatalParseError" ID="XMLFatalParseError"></a> -<h2>XMLFatalParseError</h2> -<p> - Class implementing an exception for recoverable parse errors. -</p> -<h3>Derived from</h3> -XMLParseError -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr><td>None</td></tr> -</table> - -<div align="right"><a href="#top">Up</a></div> -<hr /><hr /> -<a NAME="XMLParseError" ID="XMLParseError"></a> -<h2>XMLParseError</h2> -<p> - Class implementing an exception for recoverable parse errors. -</p> -<h3>Derived from</h3> -Exception -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr><td>None</td></tr> -</table> - -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.XMLHandlerBase.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,367 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.XMLHandlerBase</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.XMLHandlerBase</h1> -<p> -Module implementing a base class for all of eric5s XML handlers. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#XMLHandlerBase">XMLHandlerBase</a></td> -<td>Class implementing the base class for al of eric5s XML handlers.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="XMLHandlerBase" ID="XMLHandlerBase"></a> -<h2>XMLHandlerBase</h2> -<p> - Class implementing the base class for al of eric5s XML handlers. -</p> -<h3>Derived from</h3> -ContentHandler -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#XMLHandlerBase.__init__">XMLHandlerBase</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#XMLHandlerBase._prepareBasics">_prepareBasics</a></td> -<td>Protected method to prepare the parsing of XML for basic python types.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.characters">characters</a></td> -<td>Handler called for ordinary text.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.decodedNewLines">decodedNewLines</a></td> -<td>Public method to decode newlines and paragraph breaks.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.defaultEndElement">defaultEndElement</a></td> -<td>Handler method for the common end tags.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.defaultStartElement">defaultStartElement</a></td> -<td>Handler method for common start tags.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.endBool">endBool</a></td> -<td>Handler method for the "bool" end tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.endBytearray">endBytearray</a></td> -<td>Handler method for the "bytearray" end tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.endBytes">endBytes</a></td> -<td>Handler method for the "bytes" end tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.endComplex">endComplex</a></td> -<td>Handler method for the "complex" end tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.endDictionary">endDictionary</a></td> -<td>Handler method for the "dictionary" end tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.endElement">endElement</a></td> -<td>Handler called, when an ending tag is found.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.endFloat">endFloat</a></td> -<td>Handler method for the "float" end tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.endFrozenset">endFrozenset</a></td> -<td>Handler method for the "frozenset" end tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.endInt">endInt</a></td> -<td>Handler method for the "int" end tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.endList">endList</a></td> -<td>Handler method for the "list" end tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.endNone">endNone</a></td> -<td>Handler method for the "none" end tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.endPickle">endPickle</a></td> -<td>Handler method for the "pickle" end tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.endSet">endSet</a></td> -<td>Handler method for the "set" end tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.endString">endString</a></td> -<td>Handler method for the "string" end tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.endTuple">endTuple</a></td> -<td>Handler method for the "tuple" end tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.startDictionary">startDictionary</a></td> -<td>Handler method for the "dictionary" start tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.startDocument">startDocument</a></td> -<td>Handler called, when the document parsing is started.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.startElement">startElement</a></td> -<td>Handler called, when a starting tag is found.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.startFrozenset">startFrozenset</a></td> -<td>Handler method for the "frozenset" start tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.startList">startList</a></td> -<td>Handler method for the "list" start tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.startPickle">startPickle</a></td> -<td>Handler method for the "pickle" start tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.startSet">startSet</a></td> -<td>Handler method for the "set" start tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.startTuple">startTuple</a></td> -<td>Handler method for the "tuple" start tag.</td> -</tr><tr> -<td><a href="#XMLHandlerBase.unescape">unescape</a></td> -<td>Public method used to unescape certain characters.</td> -</tr> -</table> -<a NAME="XMLHandlerBase.__init__" ID="XMLHandlerBase.__init__"></a> -<h4>XMLHandlerBase (Constructor)</h4> -<b>XMLHandlerBase</b>(<i></i>) -<p> - Constructor -</p><a NAME="XMLHandlerBase._prepareBasics" ID="XMLHandlerBase._prepareBasics"></a> -<h4>XMLHandlerBase._prepareBasics</h4> -<b>_prepareBasics</b>(<i></i>) -<p> - Protected method to prepare the parsing of XML for basic python types. -</p><a NAME="XMLHandlerBase.characters" ID="XMLHandlerBase.characters"></a> -<h4>XMLHandlerBase.characters</h4> -<b>characters</b>(<i>chars</i>) -<p> - Handler called for ordinary text. -</p><dl> -<dt><i>chars</i></dt> -<dd> -the scanned text (string) -</dd> -</dl><a NAME="XMLHandlerBase.decodedNewLines" ID="XMLHandlerBase.decodedNewLines"></a> -<h4>XMLHandlerBase.decodedNewLines</h4> -<b>decodedNewLines</b>(<i>text</i>) -<p> - Public method to decode newlines and paragraph breaks. -</p><dl> -<dt><i>text</i></dt> -<dd> -text to decode (string or QString) -</dd> -</dl><a NAME="XMLHandlerBase.defaultEndElement" ID="XMLHandlerBase.defaultEndElement"></a> -<h4>XMLHandlerBase.defaultEndElement</h4> -<b>defaultEndElement</b>(<i></i>) -<p> - Handler method for the common end tags. -</p><a NAME="XMLHandlerBase.defaultStartElement" ID="XMLHandlerBase.defaultStartElement"></a> -<h4>XMLHandlerBase.defaultStartElement</h4> -<b>defaultStartElement</b>(<i>attrs</i>) -<p> - Handler method for common start tags. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="XMLHandlerBase.endBool" ID="XMLHandlerBase.endBool"></a> -<h4>XMLHandlerBase.endBool</h4> -<b>endBool</b>(<i></i>) -<p> - Handler method for the "bool" end tag. -</p><a NAME="XMLHandlerBase.endBytearray" ID="XMLHandlerBase.endBytearray"></a> -<h4>XMLHandlerBase.endBytearray</h4> -<b>endBytearray</b>(<i></i>) -<p> - Handler method for the "bytearray" end tag. -</p><a NAME="XMLHandlerBase.endBytes" ID="XMLHandlerBase.endBytes"></a> -<h4>XMLHandlerBase.endBytes</h4> -<b>endBytes</b>(<i></i>) -<p> - Handler method for the "bytes" end tag. -</p><a NAME="XMLHandlerBase.endComplex" ID="XMLHandlerBase.endComplex"></a> -<h4>XMLHandlerBase.endComplex</h4> -<b>endComplex</b>(<i></i>) -<p> - Handler method for the "complex" end tag. -</p><a NAME="XMLHandlerBase.endDictionary" ID="XMLHandlerBase.endDictionary"></a> -<h4>XMLHandlerBase.endDictionary</h4> -<b>endDictionary</b>(<i></i>) -<p> - Handler method for the "dictionary" end tag. -</p><a NAME="XMLHandlerBase.endElement" ID="XMLHandlerBase.endElement"></a> -<h4>XMLHandlerBase.endElement</h4> -<b>endElement</b>(<i>name</i>) -<p> - Handler called, when an ending tag is found. -</p><dl> -<dt><i>name</i></dt> -<dd> -name of the tag (string) -</dd> -</dl><a NAME="XMLHandlerBase.endFloat" ID="XMLHandlerBase.endFloat"></a> -<h4>XMLHandlerBase.endFloat</h4> -<b>endFloat</b>(<i></i>) -<p> - Handler method for the "float" end tag. -</p><a NAME="XMLHandlerBase.endFrozenset" ID="XMLHandlerBase.endFrozenset"></a> -<h4>XMLHandlerBase.endFrozenset</h4> -<b>endFrozenset</b>(<i></i>) -<p> - Handler method for the "frozenset" end tag. -</p><a NAME="XMLHandlerBase.endInt" ID="XMLHandlerBase.endInt"></a> -<h4>XMLHandlerBase.endInt</h4> -<b>endInt</b>(<i></i>) -<p> - Handler method for the "int" end tag. -</p><a NAME="XMLHandlerBase.endList" ID="XMLHandlerBase.endList"></a> -<h4>XMLHandlerBase.endList</h4> -<b>endList</b>(<i></i>) -<p> - Handler method for the "list" end tag. -</p><a NAME="XMLHandlerBase.endNone" ID="XMLHandlerBase.endNone"></a> -<h4>XMLHandlerBase.endNone</h4> -<b>endNone</b>(<i></i>) -<p> - Handler method for the "none" end tag. -</p><a NAME="XMLHandlerBase.endPickle" ID="XMLHandlerBase.endPickle"></a> -<h4>XMLHandlerBase.endPickle</h4> -<b>endPickle</b>(<i></i>) -<p> - Handler method for the "pickle" end tag. -</p><a NAME="XMLHandlerBase.endSet" ID="XMLHandlerBase.endSet"></a> -<h4>XMLHandlerBase.endSet</h4> -<b>endSet</b>(<i></i>) -<p> - Handler method for the "set" end tag. -</p><a NAME="XMLHandlerBase.endString" ID="XMLHandlerBase.endString"></a> -<h4>XMLHandlerBase.endString</h4> -<b>endString</b>(<i></i>) -<p> - Handler method for the "string" end tag. -</p><a NAME="XMLHandlerBase.endTuple" ID="XMLHandlerBase.endTuple"></a> -<h4>XMLHandlerBase.endTuple</h4> -<b>endTuple</b>(<i></i>) -<p> - Handler method for the "tuple" end tag. -</p><a NAME="XMLHandlerBase.startDictionary" ID="XMLHandlerBase.startDictionary"></a> -<h4>XMLHandlerBase.startDictionary</h4> -<b>startDictionary</b>(<i>attrs</i>) -<p> - Handler method for the "dictionary" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="XMLHandlerBase.startDocument" ID="XMLHandlerBase.startDocument"></a> -<h4>XMLHandlerBase.startDocument</h4> -<b>startDocument</b>(<i></i>) -<p> - Handler called, when the document parsing is started. -</p><a NAME="XMLHandlerBase.startElement" ID="XMLHandlerBase.startElement"></a> -<h4>XMLHandlerBase.startElement</h4> -<b>startElement</b>(<i>name, attrs</i>) -<p> - Handler called, when a starting tag is found. -</p><dl> -<dt><i>name</i></dt> -<dd> -name of the tag (string) -</dd><dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="XMLHandlerBase.startFrozenset" ID="XMLHandlerBase.startFrozenset"></a> -<h4>XMLHandlerBase.startFrozenset</h4> -<b>startFrozenset</b>(<i>attrs</i>) -<p> - Handler method for the "frozenset" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="XMLHandlerBase.startList" ID="XMLHandlerBase.startList"></a> -<h4>XMLHandlerBase.startList</h4> -<b>startList</b>(<i>attrs</i>) -<p> - Handler method for the "list" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="XMLHandlerBase.startPickle" ID="XMLHandlerBase.startPickle"></a> -<h4>XMLHandlerBase.startPickle</h4> -<b>startPickle</b>(<i>attrs</i>) -<p> - Handler method for the "pickle" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="XMLHandlerBase.startSet" ID="XMLHandlerBase.startSet"></a> -<h4>XMLHandlerBase.startSet</h4> -<b>startSet</b>(<i>attrs</i>) -<p> - Handler method for the "set" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="XMLHandlerBase.startTuple" ID="XMLHandlerBase.startTuple"></a> -<h4>XMLHandlerBase.startTuple</h4> -<b>startTuple</b>(<i>attrs</i>) -<p> - Handler method for the "tuple" start tag. -</p><dl> -<dt><i>attrs</i></dt> -<dd> -list of tag attributes -</dd> -</dl><a NAME="XMLHandlerBase.unescape" ID="XMLHandlerBase.unescape"></a> -<h4>XMLHandlerBase.unescape</h4> -<b>unescape</b>(<i>text, attribute = False</i>) -<p> - Public method used to unescape certain characters. -</p><dl> -<dt><i>text</i></dt> -<dd> -the text to unescape (string) -</dd><dt><i>attribute</i></dt> -<dd> -flag indicating unescaping is done for an attribute -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.XMLMessageDialog.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,94 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.XMLMessageDialog</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.XMLMessageDialog</h1> -<p> -Module implementing a dialog to display XML parse messages. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#XMLMessageDialog">XMLMessageDialog</a></td> -<td>Class implementing a dialog to display XML parse messages.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="XMLMessageDialog" ID="XMLMessageDialog"></a> -<h2>XMLMessageDialog</h2> -<p> - Class implementing a dialog to display XML parse messages. -</p> -<h3>Derived from</h3> -QDialog, Ui_XMLMessageDialog -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#XMLMessageDialog.__init__">XMLMessageDialog</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#XMLMessageDialog.__appendText">__appendText</a></td> -<td>Private method to append text to the end of the messages pane.</td> -</tr> -</table> -<a NAME="XMLMessageDialog.__init__" ID="XMLMessageDialog.__init__"></a> -<h4>XMLMessageDialog (Constructor)</h4> -<b>XMLMessageDialog</b>(<i>msgs, parent = None</i>) -<p> - Constructor -</p><dl> -<dt><i>msgs</i></dt> -<dd> -list of tuples of (message type, system id, - line no, column no, message) -</dd><dt><i>parent</i></dt> -<dd> -parent object of the dialog (QWidget) -</dd> -</dl><a NAME="XMLMessageDialog.__appendText" ID="XMLMessageDialog.__appendText"></a> -<h4>XMLMessageDialog.__appendText</h4> -<b>__appendText</b>(<i>txt, color</i>) -<p> - Private method to append text to the end of the messages pane. -</p><dl> -<dt><i>txt</i></dt> -<dd> -text to insert (QString) -</dd><dt><i>color</i></dt> -<dd> -text color to be used (QColor) -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.XMLUtilities.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,64 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.XMLUtilities</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.XMLUtilities</h1> -<p> -Module implementing various XML utility functions. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Functions</h3> -<table> -<tr> -<td><a href="#make_parser">make_parser</a></td> -<td>Function to generate an XML parser.</td> -</tr> -</table> -<hr /><hr /> -<a NAME="make_parser" ID="make_parser"></a> -<h2>make_parser</h2> -<b>make_parser</b>(<i>validating</i>) -<p> - Function to generate an XML parser. -</p><p> - First it will be tried to generate a validating parser. If - this attempt fails, a non validating parser is tried next. -</p><dl> -<dt><i>validating</i></dt> -<dd> -flag indicating a validating parser is requested -</dd> -</dl><dl> -<dt>Returns:</dt> -<dd> -XML parser object -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/Documentation/Source/eric5.E4XML.XMLWriterBase.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,372 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML.XMLWriterBase</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4XML.XMLWriterBase</h1> -<p> -Module implementing a base class for all of eric5s XML writers. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#XMLWriterBase">XMLWriterBase</a></td> -<td>Class implementing a base class for all of eric5s XML writers.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="XMLWriterBase" ID="XMLWriterBase"></a> -<h2>XMLWriterBase</h2> -<p> - Class implementing a base class for all of eric5s XML writers. -</p> -<h3>Derived from</h3> -object -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#XMLWriterBase.__init__">XMLWriterBase</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#XMLWriterBase._write">_write</a></td> -<td>Protected method used to do the real write operation.</td> -</tr><tr> -<td><a href="#XMLWriterBase._writeBasics">_writeBasics</a></td> -<td>Protected method to dump an object of a basic Python type.</td> -</tr><tr> -<td><a href="#XMLWriterBase._write_bool">_write_bool</a></td> -<td>Protected method to dump a bool object.</td> -</tr><tr> -<td><a href="#XMLWriterBase._write_bytearray">_write_bytearray</a></td> -<td>Protected method to dump a bytearray object.</td> -</tr><tr> -<td><a href="#XMLWriterBase._write_bytes">_write_bytes</a></td> -<td>Protected method to dump a bytes object.</td> -</tr><tr> -<td><a href="#XMLWriterBase._write_complex">_write_complex</a></td> -<td>Protected method to dump a complex object.</td> -</tr><tr> -<td><a href="#XMLWriterBase._write_dictionary">_write_dictionary</a></td> -<td>Protected method to dump a dict object.</td> -</tr><tr> -<td><a href="#XMLWriterBase._write_float">_write_float</a></td> -<td>Protected method to dump a float object.</td> -</tr><tr> -<td><a href="#XMLWriterBase._write_frozenset">_write_frozenset</a></td> -<td>Protected method to dump a frozenset object.</td> -</tr><tr> -<td><a href="#XMLWriterBase._write_int">_write_int</a></td> -<td>Protected method to dump an int object.</td> -</tr><tr> -<td><a href="#XMLWriterBase._write_list">_write_list</a></td> -<td>Protected method to dump a list object.</td> -</tr><tr> -<td><a href="#XMLWriterBase._write_none">_write_none</a></td> -<td>Protected method to dump a NoneType object.</td> -</tr><tr> -<td><a href="#XMLWriterBase._write_set">_write_set</a></td> -<td>Protected method to dump a set object.</td> -</tr><tr> -<td><a href="#XMLWriterBase._write_string">_write_string</a></td> -<td>Protected method to dump a str object.</td> -</tr><tr> -<td><a href="#XMLWriterBase._write_tuple">_write_tuple</a></td> -<td>Protected method to dump a tuple object.</td> -</tr><tr> -<td><a href="#XMLWriterBase._write_unimplemented">_write_unimplemented</a></td> -<td>Protected method to dump a type, that has no special method.</td> -</tr><tr> -<td><a href="#XMLWriterBase.encodedNewLines">encodedNewLines</a></td> -<td>Public method to encode newlines and paragraph breaks.</td> -</tr><tr> -<td><a href="#XMLWriterBase.escape">escape</a></td> -<td>Function to escape &, <, and > in a string of data.</td> -</tr><tr> -<td><a href="#XMLWriterBase.writeXML">writeXML</a></td> -<td>Public method to write the XML to the file.</td> -</tr> -</table> -<a NAME="XMLWriterBase.__init__" ID="XMLWriterBase.__init__"></a> -<h4>XMLWriterBase (Constructor)</h4> -<b>XMLWriterBase</b>(<i>file</i>) -<p> - Constructor -</p><dl> -<dt><i>file</i></dt> -<dd> -open file (like) object for writing -</dd> -</dl><a NAME="XMLWriterBase._write" ID="XMLWriterBase._write"></a> -<h4>XMLWriterBase._write</h4> -<b>_write</b>(<i>s, newline = True</i>) -<p> - Protected method used to do the real write operation. -</p><dl> -<dt><i>s</i></dt> -<dd> -string to be written to the XML file -</dd><dt><i>newline</i></dt> -<dd> -flag indicating a linebreak -</dd> -</dl><a NAME="XMLWriterBase._writeBasics" ID="XMLWriterBase._writeBasics"></a> -<h4>XMLWriterBase._writeBasics</h4> -<b>_writeBasics</b>(<i>pyobject, indent = 0</i>) -<p> - Protected method to dump an object of a basic Python type. -</p><dl> -<dt><i>pyobject</i></dt> -<dd> -object to be dumped -</dd><dt><i>indent</i></dt> -<dd> -indentation level for prettier output (integer) -</dd> -</dl><a NAME="XMLWriterBase._write_bool" ID="XMLWriterBase._write_bool"></a> -<h4>XMLWriterBase._write_bool</h4> -<b>_write_bool</b>(<i>value, indent</i>) -<p> - Protected method to dump a bool object. -</p><dl> -<dt><i>value</i></dt> -<dd> -value to be dumped (boolean) -</dd><dt><i>indent</i></dt> -<dd> -indentation level for prettier output (integer) -</dd> -</dl><a NAME="XMLWriterBase._write_bytearray" ID="XMLWriterBase._write_bytearray"></a> -<h4>XMLWriterBase._write_bytearray</h4> -<b>_write_bytearray</b>(<i>value, indent</i>) -<p> - Protected method to dump a bytearray object. -</p><dl> -<dt><i>value</i></dt> -<dd> -value to be dumped (bytearray) -</dd><dt><i>indent</i></dt> -<dd> -indentation level for prettier output (integer) -</dd> -</dl><a NAME="XMLWriterBase._write_bytes" ID="XMLWriterBase._write_bytes"></a> -<h4>XMLWriterBase._write_bytes</h4> -<b>_write_bytes</b>(<i>value, indent</i>) -<p> - Protected method to dump a bytes object. -</p><dl> -<dt><i>value</i></dt> -<dd> -value to be dumped (bytes) -</dd><dt><i>indent</i></dt> -<dd> -indentation level for prettier output (integer) -</dd> -</dl><a NAME="XMLWriterBase._write_complex" ID="XMLWriterBase._write_complex"></a> -<h4>XMLWriterBase._write_complex</h4> -<b>_write_complex</b>(<i>value, indent</i>) -<p> - Protected method to dump a complex object. -</p><dl> -<dt><i>value</i></dt> -<dd> -value to be dumped (complex) -</dd><dt><i>indent</i></dt> -<dd> -indentation level for prettier output (integer) -</dd> -</dl><a NAME="XMLWriterBase._write_dictionary" ID="XMLWriterBase._write_dictionary"></a> -<h4>XMLWriterBase._write_dictionary</h4> -<b>_write_dictionary</b>(<i>value, indent</i>) -<p> - Protected method to dump a dict object. -</p><dl> -<dt><i>value</i></dt> -<dd> -value to be dumped (dictionary) -</dd><dt><i>indent</i></dt> -<dd> -indentation level for prettier output (integer) -</dd> -</dl><a NAME="XMLWriterBase._write_float" ID="XMLWriterBase._write_float"></a> -<h4>XMLWriterBase._write_float</h4> -<b>_write_float</b>(<i>value, indent</i>) -<p> - Protected method to dump a float object. -</p><dl> -<dt><i>value</i></dt> -<dd> -value to be dumped (float) -</dd><dt><i>indent</i></dt> -<dd> -indentation level for prettier output (integer) -</dd> -</dl><a NAME="XMLWriterBase._write_frozenset" ID="XMLWriterBase._write_frozenset"></a> -<h4>XMLWriterBase._write_frozenset</h4> -<b>_write_frozenset</b>(<i>value, indent</i>) -<p> - Protected method to dump a frozenset object. -</p><dl> -<dt><i>value</i></dt> -<dd> -value to be dumped (frozenset) -</dd><dt><i>indent</i></dt> -<dd> -indentation level for prettier output (integer) -</dd> -</dl><a NAME="XMLWriterBase._write_int" ID="XMLWriterBase._write_int"></a> -<h4>XMLWriterBase._write_int</h4> -<b>_write_int</b>(<i>value, indent</i>) -<p> - Protected method to dump an int object. -</p><dl> -<dt><i>value</i></dt> -<dd> -value to be dumped (integer) -</dd><dt><i>indent</i></dt> -<dd> -indentation level for prettier output (integer) -</dd> -</dl><a NAME="XMLWriterBase._write_list" ID="XMLWriterBase._write_list"></a> -<h4>XMLWriterBase._write_list</h4> -<b>_write_list</b>(<i>value, indent</i>) -<p> - Protected method to dump a list object. -</p><dl> -<dt><i>value</i></dt> -<dd> -value to be dumped (list) -</dd><dt><i>indent</i></dt> -<dd> -indentation level for prettier output (integer) -</dd> -</dl><a NAME="XMLWriterBase._write_none" ID="XMLWriterBase._write_none"></a> -<h4>XMLWriterBase._write_none</h4> -<b>_write_none</b>(<i>value, indent</i>) -<p> - Protected method to dump a NoneType object. -</p><dl> -<dt><i>value</i></dt> -<dd> -value to be dumped (None) (ignored) -</dd><dt><i>indent</i></dt> -<dd> -indentation level for prettier output (integer) -</dd> -</dl><a NAME="XMLWriterBase._write_set" ID="XMLWriterBase._write_set"></a> -<h4>XMLWriterBase._write_set</h4> -<b>_write_set</b>(<i>value, indent</i>) -<p> - Protected method to dump a set object. -</p><dl> -<dt><i>value</i></dt> -<dd> -value to be dumped (set) -</dd><dt><i>indent</i></dt> -<dd> -indentation level for prettier output (integer) -</dd> -</dl><a NAME="XMLWriterBase._write_string" ID="XMLWriterBase._write_string"></a> -<h4>XMLWriterBase._write_string</h4> -<b>_write_string</b>(<i>value, indent</i>) -<p> - Protected method to dump a str object. -</p><dl> -<dt><i>value</i></dt> -<dd> -value to be dumped (string) -</dd><dt><i>indent</i></dt> -<dd> -indentation level for prettier output (integer) -</dd> -</dl><a NAME="XMLWriterBase._write_tuple" ID="XMLWriterBase._write_tuple"></a> -<h4>XMLWriterBase._write_tuple</h4> -<b>_write_tuple</b>(<i>value, indent</i>) -<p> - Protected method to dump a tuple object. -</p><dl> -<dt><i>value</i></dt> -<dd> -value to be dumped (tuple) -</dd><dt><i>indent</i></dt> -<dd> -indentation level for prettier output (integer) -</dd> -</dl><a NAME="XMLWriterBase._write_unimplemented" ID="XMLWriterBase._write_unimplemented"></a> -<h4>XMLWriterBase._write_unimplemented</h4> -<b>_write_unimplemented</b>(<i>value, indent</i>) -<p> - Protected method to dump a type, that has no special method. -</p><dl> -<dt><i>value</i></dt> -<dd> -value to be dumped (any pickleable object) -</dd><dt><i>indent</i></dt> -<dd> -indentation level for prettier output (integer) -</dd> -</dl><a NAME="XMLWriterBase.encodedNewLines" ID="XMLWriterBase.encodedNewLines"></a> -<h4>XMLWriterBase.encodedNewLines</h4> -<b>encodedNewLines</b>(<i>text</i>) -<p> - Public method to encode newlines and paragraph breaks. -</p><dl> -<dt><i>text</i></dt> -<dd> -text to encode (string or QString) -</dd> -</dl><a NAME="XMLWriterBase.escape" ID="XMLWriterBase.escape"></a> -<h4>XMLWriterBase.escape</h4> -<b>escape</b>(<i>data, attribute=False</i>) -<p> - Function to escape &, <, and > in a string of data. -</p><dl> -<dt><i>data</i></dt> -<dd> -data to be escaped (string) -</dd><dt><i>attribute</i></dt> -<dd> -flag indicating escaping is done for an attribute -</dd> -</dl><dl> -<dt>Returns:</dt> -<dd> -the escaped data (string) -</dd> -</dl><a NAME="XMLWriterBase.writeXML" ID="XMLWriterBase.writeXML"></a> -<h4>XMLWriterBase.writeXML</h4> -<b>writeXML</b>(<i></i>) -<p> - Public method to write the XML to the file. -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.Config.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.Config</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.Config</h1> +<p> +Module implementing some common configuration stuf for the XML package. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>debuggerPropertiesFileFormatVersion</td></tr><tr><td>highlightingStylesFileFormatVersion</td></tr><tr><td>multiProjectFileFormatVersion</td></tr><tr><td>pluginRepositoryFileFormatVersion</td></tr><tr><td>projectFileFormatVersion</td></tr><tr><td>sessionFileFormatVersion</td></tr><tr><td>shortcutsFileFormatVersion</td></tr><tr><td>tasksFileFormatVersion</td></tr><tr><td>templatesFileFormatVersion</td></tr><tr><td>userProjectFileFormatVersion</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.DebuggerPropertiesHandler.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,221 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.DebuggerPropertiesHandler</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.DebuggerPropertiesHandler</h1> +<p> +Module implementing the handler class for reading an XML project debugger properties file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#DebuggerPropertiesHandler">DebuggerPropertiesHandler</a></td> +<td>Class implementing a sax handler to read an XML project debugger properties file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="DebuggerPropertiesHandler" ID="DebuggerPropertiesHandler"></a> +<h2>DebuggerPropertiesHandler</h2> +<p> + Class implementing a sax handler to read an XML project debugger properties file. +</p> +<h3>Derived from</h3> +XMLHandlerBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#DebuggerPropertiesHandler.__init__">DebuggerPropertiesHandler</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.endConsoleDebugger">endConsoleDebugger</a></td> +<td>Handler method for the "ConsoleDebugger" end tag.</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.endDebugClient">endDebugClient</a></td> +<td>Handler method for the "DebugClient" end tag.</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.endEnvironment">endEnvironment</a></td> +<td>Handler method for the "Environment" end tag.</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.endInterpreter">endInterpreter</a></td> +<td>Handler method for the "Interpreter" end tag.</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.endLocalPath">endLocalPath</a></td> +<td>Handler method for the "LocalPath" end tag.</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.endRemoteCommand">endRemoteCommand</a></td> +<td>Handler method for the "RemoteCommand" end tag.</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.endRemoteHost">endRemoteHost</a></td> +<td>Handler method for the "RemoteHost" end tag.</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.endRemotePath">endRemotePath</a></td> +<td>Handler method for the "RemotePath" end tag.</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.getVersion">getVersion</a></td> +<td>Public method to retrieve the version of the debugger properties.</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.startConsoleDebugger">startConsoleDebugger</a></td> +<td>Handler method for the "ConsoleDebugger" start tag.</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.startDebuggerProperties">startDebuggerProperties</a></td> +<td>Handler method for the "DebuggerProperties" start tag.</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.startDocumentDebuggerProperties">startDocumentDebuggerProperties</a></td> +<td>Handler called, when the document parsing is started.</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.startEnvironment">startEnvironment</a></td> +<td>Handler method for the "Environment" start tag.</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.startNoencoding">startNoencoding</a></td> +<td>Handler method for the "Noencoding" start tag.</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.startPathTranslation">startPathTranslation</a></td> +<td>Handler method for the "PathTranslation" start tag.</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.startRedirect">startRedirect</a></td> +<td>Handler method for the "Redirect" start tag.</td> +</tr><tr> +<td><a href="#DebuggerPropertiesHandler.startRemoteDebugger">startRemoteDebugger</a></td> +<td>Handler method for the "RemoteDebugger" start tag.</td> +</tr> +</table> +<a NAME="DebuggerPropertiesHandler.__init__" ID="DebuggerPropertiesHandler.__init__"></a> +<h4>DebuggerPropertiesHandler (Constructor)</h4> +<b>DebuggerPropertiesHandler</b>(<i>project</i>) +<p> + Constructor +</p><dl> +<dt><i>project</i></dt> +<dd> +Reference to the project object to store the + information into. +</dd> +</dl><a NAME="DebuggerPropertiesHandler.endConsoleDebugger" ID="DebuggerPropertiesHandler.endConsoleDebugger"></a> +<h4>DebuggerPropertiesHandler.endConsoleDebugger</h4> +<b>endConsoleDebugger</b>(<i></i>) +<p> + Handler method for the "ConsoleDebugger" end tag. +</p><a NAME="DebuggerPropertiesHandler.endDebugClient" ID="DebuggerPropertiesHandler.endDebugClient"></a> +<h4>DebuggerPropertiesHandler.endDebugClient</h4> +<b>endDebugClient</b>(<i></i>) +<p> + Handler method for the "DebugClient" end tag. +</p><a NAME="DebuggerPropertiesHandler.endEnvironment" ID="DebuggerPropertiesHandler.endEnvironment"></a> +<h4>DebuggerPropertiesHandler.endEnvironment</h4> +<b>endEnvironment</b>(<i></i>) +<p> + Handler method for the "Environment" end tag. +</p><a NAME="DebuggerPropertiesHandler.endInterpreter" ID="DebuggerPropertiesHandler.endInterpreter"></a> +<h4>DebuggerPropertiesHandler.endInterpreter</h4> +<b>endInterpreter</b>(<i></i>) +<p> + Handler method for the "Interpreter" end tag. +</p><a NAME="DebuggerPropertiesHandler.endLocalPath" ID="DebuggerPropertiesHandler.endLocalPath"></a> +<h4>DebuggerPropertiesHandler.endLocalPath</h4> +<b>endLocalPath</b>(<i></i>) +<p> + Handler method for the "LocalPath" end tag. +</p><a NAME="DebuggerPropertiesHandler.endRemoteCommand" ID="DebuggerPropertiesHandler.endRemoteCommand"></a> +<h4>DebuggerPropertiesHandler.endRemoteCommand</h4> +<b>endRemoteCommand</b>(<i></i>) +<p> + Handler method for the "RemoteCommand" end tag. +</p><a NAME="DebuggerPropertiesHandler.endRemoteHost" ID="DebuggerPropertiesHandler.endRemoteHost"></a> +<h4>DebuggerPropertiesHandler.endRemoteHost</h4> +<b>endRemoteHost</b>(<i></i>) +<p> + Handler method for the "RemoteHost" end tag. +</p><a NAME="DebuggerPropertiesHandler.endRemotePath" ID="DebuggerPropertiesHandler.endRemotePath"></a> +<h4>DebuggerPropertiesHandler.endRemotePath</h4> +<b>endRemotePath</b>(<i></i>) +<p> + Handler method for the "RemotePath" end tag. +</p><a NAME="DebuggerPropertiesHandler.getVersion" ID="DebuggerPropertiesHandler.getVersion"></a> +<h4>DebuggerPropertiesHandler.getVersion</h4> +<b>getVersion</b>(<i></i>) +<p> + Public method to retrieve the version of the debugger properties. +</p><dl> +<dt>Returns:</dt> +<dd> +String containing the version number. +</dd> +</dl><a NAME="DebuggerPropertiesHandler.startConsoleDebugger" ID="DebuggerPropertiesHandler.startConsoleDebugger"></a> +<h4>DebuggerPropertiesHandler.startConsoleDebugger</h4> +<b>startConsoleDebugger</b>(<i>attrs</i>) +<p> + Handler method for the "ConsoleDebugger" start tag. +</p><a NAME="DebuggerPropertiesHandler.startDebuggerProperties" ID="DebuggerPropertiesHandler.startDebuggerProperties"></a> +<h4>DebuggerPropertiesHandler.startDebuggerProperties</h4> +<b>startDebuggerProperties</b>(<i>attrs</i>) +<p> + Handler method for the "DebuggerProperties" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="DebuggerPropertiesHandler.startDocumentDebuggerProperties" ID="DebuggerPropertiesHandler.startDocumentDebuggerProperties"></a> +<h4>DebuggerPropertiesHandler.startDocumentDebuggerProperties</h4> +<b>startDocumentDebuggerProperties</b>(<i></i>) +<p> + Handler called, when the document parsing is started. +</p><a NAME="DebuggerPropertiesHandler.startEnvironment" ID="DebuggerPropertiesHandler.startEnvironment"></a> +<h4>DebuggerPropertiesHandler.startEnvironment</h4> +<b>startEnvironment</b>(<i>attrs</i>) +<p> + Handler method for the "Environment" start tag. +</p><a NAME="DebuggerPropertiesHandler.startNoencoding" ID="DebuggerPropertiesHandler.startNoencoding"></a> +<h4>DebuggerPropertiesHandler.startNoencoding</h4> +<b>startNoencoding</b>(<i>attrs</i>) +<p> + Handler method for the "Noencoding" start tag. +</p><a NAME="DebuggerPropertiesHandler.startPathTranslation" ID="DebuggerPropertiesHandler.startPathTranslation"></a> +<h4>DebuggerPropertiesHandler.startPathTranslation</h4> +<b>startPathTranslation</b>(<i>attrs</i>) +<p> + Handler method for the "PathTranslation" start tag. +</p><a NAME="DebuggerPropertiesHandler.startRedirect" ID="DebuggerPropertiesHandler.startRedirect"></a> +<h4>DebuggerPropertiesHandler.startRedirect</h4> +<b>startRedirect</b>(<i>attrs</i>) +<p> + Handler method for the "Redirect" start tag. +</p><a NAME="DebuggerPropertiesHandler.startRemoteDebugger" ID="DebuggerPropertiesHandler.startRemoteDebugger"></a> +<h4>DebuggerPropertiesHandler.startRemoteDebugger</h4> +<b>startRemoteDebugger</b>(<i>attrs</i>) +<p> + Handler method for the "RemoteDebugger" start tag. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.DebuggerPropertiesWriter.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.DebuggerPropertiesWriter</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.DebuggerPropertiesWriter</h1> +<p> +Module implementing the writer class for writing an XML project debugger properties file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#DebuggerPropertiesWriter">DebuggerPropertiesWriter</a></td> +<td>Class implementing the writer class for writing an XML project debugger properties file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="DebuggerPropertiesWriter" ID="DebuggerPropertiesWriter"></a> +<h2>DebuggerPropertiesWriter</h2> +<p> + Class implementing the writer class for writing an XML project debugger properties + file. +</p> +<h3>Derived from</h3> +XMLWriterBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#DebuggerPropertiesWriter.__init__">DebuggerPropertiesWriter</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#DebuggerPropertiesWriter.writeXML">writeXML</a></td> +<td>Public method to write the XML to the file.</td> +</tr> +</table> +<a NAME="DebuggerPropertiesWriter.__init__" ID="DebuggerPropertiesWriter.__init__"></a> +<h4>DebuggerPropertiesWriter (Constructor)</h4> +<b>DebuggerPropertiesWriter</b>(<i>file, projectName</i>) +<p> + Constructor +</p><dl> +<dt><i>file</i></dt> +<dd> +open file (like) object for writing +</dd><dt><i>projectName</i></dt> +<dd> +name of the project (string) +</dd> +</dl><a NAME="DebuggerPropertiesWriter.writeXML" ID="DebuggerPropertiesWriter.writeXML"></a> +<h4>DebuggerPropertiesWriter.writeXML</h4> +<b>writeXML</b>(<i></i>) +<p> + Public method to write the XML to the file. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.HighlightingStylesHandler.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.HighlightingStylesHandler</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.HighlightingStylesHandler</h1> +<p> +Module implementing the handler class for handling a highlighting styles XML file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#HighlightingStylesHandler">HighlightingStylesHandler</a></td> +<td>Class implementing a sax handler to read a highlighting styles file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="HighlightingStylesHandler" ID="HighlightingStylesHandler"></a> +<h2>HighlightingStylesHandler</h2> +<p> + Class implementing a sax handler to read a highlighting styles file. +</p> +<h3>Derived from</h3> +XMLHandlerBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#HighlightingStylesHandler.__init__">HighlightingStylesHandler</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#HighlightingStylesHandler.getVersion">getVersion</a></td> +<td>Public method to retrieve the version of the shortcuts.</td> +</tr><tr> +<td><a href="#HighlightingStylesHandler.startDocumentHighlightingStyles">startDocumentHighlightingStyles</a></td> +<td>Handler called, when the document parsing is started.</td> +</tr><tr> +<td><a href="#HighlightingStylesHandler.startHighlightingStyles">startHighlightingStyles</a></td> +<td>Handler method for the "HighlightingStyles" start tag.</td> +</tr><tr> +<td><a href="#HighlightingStylesHandler.startLexer">startLexer</a></td> +<td>Handler method for the "Lexer" start tag.</td> +</tr><tr> +<td><a href="#HighlightingStylesHandler.startStyle">startStyle</a></td> +<td>Handler method for the "Style" start tag.</td> +</tr> +</table> +<a NAME="HighlightingStylesHandler.__init__" ID="HighlightingStylesHandler.__init__"></a> +<h4>HighlightingStylesHandler (Constructor)</h4> +<b>HighlightingStylesHandler</b>(<i>lexers</i>) +<p> + Constructor +</p><dl> +<dt><i>lexers</i></dt> +<dd> +dictionary of lexer objects for which to import the styles +</dd> +</dl><a NAME="HighlightingStylesHandler.getVersion" ID="HighlightingStylesHandler.getVersion"></a> +<h4>HighlightingStylesHandler.getVersion</h4> +<b>getVersion</b>(<i></i>) +<p> + Public method to retrieve the version of the shortcuts. +</p><dl> +<dt>Returns:</dt> +<dd> +String containing the version number. +</dd> +</dl><a NAME="HighlightingStylesHandler.startDocumentHighlightingStyles" ID="HighlightingStylesHandler.startDocumentHighlightingStyles"></a> +<h4>HighlightingStylesHandler.startDocumentHighlightingStyles</h4> +<b>startDocumentHighlightingStyles</b>(<i></i>) +<p> + Handler called, when the document parsing is started. +</p><a NAME="HighlightingStylesHandler.startHighlightingStyles" ID="HighlightingStylesHandler.startHighlightingStyles"></a> +<h4>HighlightingStylesHandler.startHighlightingStyles</h4> +<b>startHighlightingStyles</b>(<i>attrs</i>) +<p> + Handler method for the "HighlightingStyles" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="HighlightingStylesHandler.startLexer" ID="HighlightingStylesHandler.startLexer"></a> +<h4>HighlightingStylesHandler.startLexer</h4> +<b>startLexer</b>(<i>attrs</i>) +<p> + Handler method for the "Lexer" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="HighlightingStylesHandler.startStyle" ID="HighlightingStylesHandler.startStyle"></a> +<h4>HighlightingStylesHandler.startStyle</h4> +<b>startStyle</b>(<i>attrs</i>) +<p> + Handler method for the "Style" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.HighlightingStylesWriter.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.HighlightingStylesWriter</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.HighlightingStylesWriter</h1> +<p> +Module implementing the writer class for writing a highlighting styles XML file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#HighlightingStylesWriter">HighlightingStylesWriter</a></td> +<td>Class implementing the writer class for writing a highlighting styles XML file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="HighlightingStylesWriter" ID="HighlightingStylesWriter"></a> +<h2>HighlightingStylesWriter</h2> +<p> + Class implementing the writer class for writing a highlighting styles XML file. +</p> +<h3>Derived from</h3> +XMLWriterBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#HighlightingStylesWriter.__init__">HighlightingStylesWriter</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#HighlightingStylesWriter.writeXML">writeXML</a></td> +<td>Public method to write the XML to the file.</td> +</tr> +</table> +<a NAME="HighlightingStylesWriter.__init__" ID="HighlightingStylesWriter.__init__"></a> +<h4>HighlightingStylesWriter (Constructor)</h4> +<b>HighlightingStylesWriter</b>(<i>file, lexers</i>) +<p> + Constructor +</p><dl> +<dt><i>file</i></dt> +<dd> +open file (like) object for writing +</dd><dt><i>lexers</i></dt> +<dd> +list of lexer objects for which to export the styles +</dd> +</dl><a NAME="HighlightingStylesWriter.writeXML" ID="HighlightingStylesWriter.writeXML"></a> +<h4>HighlightingStylesWriter.writeXML</h4> +<b>writeXML</b>(<i></i>) +<p> + Public method to write the XML to the file. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.MultiProjectHandler.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,162 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.MultiProjectHandler</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.MultiProjectHandler</h1> +<p> +Module implementing the handler class for reading an XML multi project file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#MultiProjectHandler">MultiProjectHandler</a></td> +<td>Class implementing a sax handler to read an XML multi project file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="MultiProjectHandler" ID="MultiProjectHandler"></a> +<h2>MultiProjectHandler</h2> +<p> + Class implementing a sax handler to read an XML multi project file. +</p> +<h3>Derived from</h3> +XMLHandlerBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#MultiProjectHandler.__init__">MultiProjectHandler</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#MultiProjectHandler.endDescription">endDescription</a></td> +<td>Handler method for the "Description" end tag.</td> +</tr><tr> +<td><a href="#MultiProjectHandler.endProject">endProject</a></td> +<td>Handler method for the "Project" end tag.</td> +</tr><tr> +<td><a href="#MultiProjectHandler.endProjectDescription">endProjectDescription</a></td> +<td>Handler method for the "ProjectDescription" end tag.</td> +</tr><tr> +<td><a href="#MultiProjectHandler.endProjectFile">endProjectFile</a></td> +<td>Handler method for the "ProjectFile" end tag.</td> +</tr><tr> +<td><a href="#MultiProjectHandler.endProjectName">endProjectName</a></td> +<td>Handler method for the "ProjectName" end tag.</td> +</tr><tr> +<td><a href="#MultiProjectHandler.getVersion">getVersion</a></td> +<td>Public method to retrieve the version of the project.</td> +</tr><tr> +<td><a href="#MultiProjectHandler.startDocumentMultiProject">startDocumentMultiProject</a></td> +<td>Handler called, when the document parsing is started.</td> +</tr><tr> +<td><a href="#MultiProjectHandler.startMultiProject">startMultiProject</a></td> +<td>Handler method for the "MultiProject" start tag.</td> +</tr><tr> +<td><a href="#MultiProjectHandler.startProject">startProject</a></td> +<td>Handler method for the "Project" start tag.</td> +</tr> +</table> +<a NAME="MultiProjectHandler.__init__" ID="MultiProjectHandler.__init__"></a> +<h4>MultiProjectHandler (Constructor)</h4> +<b>MultiProjectHandler</b>(<i>multiProject</i>) +<p> + Constructor +</p><dl> +<dt><i>multiProject</i></dt> +<dd> +Reference to the multi project object to store the + information into. +</dd> +</dl><a NAME="MultiProjectHandler.endDescription" ID="MultiProjectHandler.endDescription"></a> +<h4>MultiProjectHandler.endDescription</h4> +<b>endDescription</b>(<i></i>) +<p> + Handler method for the "Description" end tag. +</p><a NAME="MultiProjectHandler.endProject" ID="MultiProjectHandler.endProject"></a> +<h4>MultiProjectHandler.endProject</h4> +<b>endProject</b>(<i></i>) +<p> + Handler method for the "Project" end tag. +</p><a NAME="MultiProjectHandler.endProjectDescription" ID="MultiProjectHandler.endProjectDescription"></a> +<h4>MultiProjectHandler.endProjectDescription</h4> +<b>endProjectDescription</b>(<i></i>) +<p> + Handler method for the "ProjectDescription" end tag. +</p><a NAME="MultiProjectHandler.endProjectFile" ID="MultiProjectHandler.endProjectFile"></a> +<h4>MultiProjectHandler.endProjectFile</h4> +<b>endProjectFile</b>(<i></i>) +<p> + Handler method for the "ProjectFile" end tag. +</p><a NAME="MultiProjectHandler.endProjectName" ID="MultiProjectHandler.endProjectName"></a> +<h4>MultiProjectHandler.endProjectName</h4> +<b>endProjectName</b>(<i></i>) +<p> + Handler method for the "ProjectName" end tag. +</p><a NAME="MultiProjectHandler.getVersion" ID="MultiProjectHandler.getVersion"></a> +<h4>MultiProjectHandler.getVersion</h4> +<b>getVersion</b>(<i></i>) +<p> + Public method to retrieve the version of the project. +</p><dl> +<dt>Returns:</dt> +<dd> +String containing the version number. +</dd> +</dl><a NAME="MultiProjectHandler.startDocumentMultiProject" ID="MultiProjectHandler.startDocumentMultiProject"></a> +<h4>MultiProjectHandler.startDocumentMultiProject</h4> +<b>startDocumentMultiProject</b>(<i></i>) +<p> + Handler called, when the document parsing is started. +</p><a NAME="MultiProjectHandler.startMultiProject" ID="MultiProjectHandler.startMultiProject"></a> +<h4>MultiProjectHandler.startMultiProject</h4> +<b>startMultiProject</b>(<i>attrs</i>) +<p> + Handler method for the "MultiProject" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="MultiProjectHandler.startProject" ID="MultiProjectHandler.startProject"></a> +<h4>MultiProjectHandler.startProject</h4> +<b>startProject</b>(<i>attrs</i>) +<p> + Handler method for the "Project" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.MultiProjectWriter.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.MultiProjectWriter</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.MultiProjectWriter</h1> +<p> +Module implementing the writer class for writing an XML multi project file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#MultiProjectWriter">MultiProjectWriter</a></td> +<td>Class implementing the writer class for writing an XML project file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="MultiProjectWriter" ID="MultiProjectWriter"></a> +<h2>MultiProjectWriter</h2> +<p> + Class implementing the writer class for writing an XML project file. +</p> +<h3>Derived from</h3> +XMLWriterBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#MultiProjectWriter.__init__">MultiProjectWriter</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#MultiProjectWriter.writeXML">writeXML</a></td> +<td>Public method to write the XML to the file.</td> +</tr> +</table> +<a NAME="MultiProjectWriter.__init__" ID="MultiProjectWriter.__init__"></a> +<h4>MultiProjectWriter (Constructor)</h4> +<b>MultiProjectWriter</b>(<i>multiProject, file, multiProjectName</i>) +<p> + Constructor +</p><dl> +<dt><i>multiProject</i></dt> +<dd> +Reference to the multi project object +</dd><dt><i>file</i></dt> +<dd> +open file (like) object for writing +</dd><dt><i>projectName</i></dt> +<dd> +name of the project (string) +</dd> +</dl><a NAME="MultiProjectWriter.writeXML" ID="MultiProjectWriter.writeXML"></a> +<h4>MultiProjectWriter.writeXML</h4> +<b>writeXML</b>(<i></i>) +<p> + Public method to write the XML to the file. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.PluginRepositoryHandler.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,193 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.PluginRepositoryHandler</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.PluginRepositoryHandler</h1> +<p> +Module implementing the handler class for reading an XML tasks file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#PluginRepositoryHandler">PluginRepositoryHandler</a></td> +<td>Class implementing a sax handler to read an XML tasks file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="PluginRepositoryHandler" ID="PluginRepositoryHandler"></a> +<h2>PluginRepositoryHandler</h2> +<p> + Class implementing a sax handler to read an XML tasks file. +</p> +<h3>Derived from</h3> +XMLHandlerBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#PluginRepositoryHandler.__init__">PluginRepositoryHandler</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#PluginRepositoryHandler.endAuthor">endAuthor</a></td> +<td>Handler method for the "Author" end tag.</td> +</tr><tr> +<td><a href="#PluginRepositoryHandler.endDescription">endDescription</a></td> +<td>Handler method for the "Description" end tag.</td> +</tr><tr> +<td><a href="#PluginRepositoryHandler.endFilename">endFilename</a></td> +<td>Handler method for the "Filename" end tag.</td> +</tr><tr> +<td><a href="#PluginRepositoryHandler.endName">endName</a></td> +<td>Handler method for the "Name" end tag.</td> +</tr><tr> +<td><a href="#PluginRepositoryHandler.endPlugin">endPlugin</a></td> +<td>Handler method for the "Plugin" end tag.</td> +</tr><tr> +<td><a href="#PluginRepositoryHandler.endRepositoryUrl">endRepositoryUrl</a></td> +<td>Handler method for the "RepositoryUrl" end tag.</td> +</tr><tr> +<td><a href="#PluginRepositoryHandler.endShort">endShort</a></td> +<td>Handler method for the "Short" end tag.</td> +</tr><tr> +<td><a href="#PluginRepositoryHandler.endUrl">endUrl</a></td> +<td>Handler method for the "Url" end tag.</td> +</tr><tr> +<td><a href="#PluginRepositoryHandler.endVersion">endVersion</a></td> +<td>Handler method for the "Version" end tag.</td> +</tr><tr> +<td><a href="#PluginRepositoryHandler.getVersion">getVersion</a></td> +<td>Public method to retrieve the version of the tasks file.</td> +</tr><tr> +<td><a href="#PluginRepositoryHandler.startDocumentPlugins">startDocumentPlugins</a></td> +<td>Handler called, when the document parsing is started.</td> +</tr><tr> +<td><a href="#PluginRepositoryHandler.startPlugin">startPlugin</a></td> +<td>Handler method for the "Plugin" start tag.</td> +</tr><tr> +<td><a href="#PluginRepositoryHandler.startPlugins">startPlugins</a></td> +<td>Handler method for the "Plugins" start tag.</td> +</tr> +</table> +<a NAME="PluginRepositoryHandler.__init__" ID="PluginRepositoryHandler.__init__"></a> +<h4>PluginRepositoryHandler (Constructor)</h4> +<b>PluginRepositoryHandler</b>(<i>parent</i>) +<p> + Constructor +</p><dl> +<dt><i>parent</i></dt> +<dd> +reference to the parent dialog (PluginRepositoryDialog) +</dd> +</dl><a NAME="PluginRepositoryHandler.endAuthor" ID="PluginRepositoryHandler.endAuthor"></a> +<h4>PluginRepositoryHandler.endAuthor</h4> +<b>endAuthor</b>(<i></i>) +<p> + Handler method for the "Author" end tag. +</p><a NAME="PluginRepositoryHandler.endDescription" ID="PluginRepositoryHandler.endDescription"></a> +<h4>PluginRepositoryHandler.endDescription</h4> +<b>endDescription</b>(<i></i>) +<p> + Handler method for the "Description" end tag. +</p><a NAME="PluginRepositoryHandler.endFilename" ID="PluginRepositoryHandler.endFilename"></a> +<h4>PluginRepositoryHandler.endFilename</h4> +<b>endFilename</b>(<i></i>) +<p> + Handler method for the "Filename" end tag. +</p><a NAME="PluginRepositoryHandler.endName" ID="PluginRepositoryHandler.endName"></a> +<h4>PluginRepositoryHandler.endName</h4> +<b>endName</b>(<i></i>) +<p> + Handler method for the "Name" end tag. +</p><a NAME="PluginRepositoryHandler.endPlugin" ID="PluginRepositoryHandler.endPlugin"></a> +<h4>PluginRepositoryHandler.endPlugin</h4> +<b>endPlugin</b>(<i></i>) +<p> + Handler method for the "Plugin" end tag. +</p><a NAME="PluginRepositoryHandler.endRepositoryUrl" ID="PluginRepositoryHandler.endRepositoryUrl"></a> +<h4>PluginRepositoryHandler.endRepositoryUrl</h4> +<b>endRepositoryUrl</b>(<i></i>) +<p> + Handler method for the "RepositoryUrl" end tag. +</p><a NAME="PluginRepositoryHandler.endShort" ID="PluginRepositoryHandler.endShort"></a> +<h4>PluginRepositoryHandler.endShort</h4> +<b>endShort</b>(<i></i>) +<p> + Handler method for the "Short" end tag. +</p><a NAME="PluginRepositoryHandler.endUrl" ID="PluginRepositoryHandler.endUrl"></a> +<h4>PluginRepositoryHandler.endUrl</h4> +<b>endUrl</b>(<i></i>) +<p> + Handler method for the "Url" end tag. +</p><a NAME="PluginRepositoryHandler.endVersion" ID="PluginRepositoryHandler.endVersion"></a> +<h4>PluginRepositoryHandler.endVersion</h4> +<b>endVersion</b>(<i></i>) +<p> + Handler method for the "Version" end tag. +</p><a NAME="PluginRepositoryHandler.getVersion" ID="PluginRepositoryHandler.getVersion"></a> +<h4>PluginRepositoryHandler.getVersion</h4> +<b>getVersion</b>(<i></i>) +<p> + Public method to retrieve the version of the tasks file. +</p><dl> +<dt>Returns:</dt> +<dd> +String containing the version number. +</dd> +</dl><a NAME="PluginRepositoryHandler.startDocumentPlugins" ID="PluginRepositoryHandler.startDocumentPlugins"></a> +<h4>PluginRepositoryHandler.startDocumentPlugins</h4> +<b>startDocumentPlugins</b>(<i></i>) +<p> + Handler called, when the document parsing is started. +</p><a NAME="PluginRepositoryHandler.startPlugin" ID="PluginRepositoryHandler.startPlugin"></a> +<h4>PluginRepositoryHandler.startPlugin</h4> +<b>startPlugin</b>(<i>attrs</i>) +<p> + Handler method for the "Plugin" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="PluginRepositoryHandler.startPlugins" ID="PluginRepositoryHandler.startPlugins"></a> +<h4>PluginRepositoryHandler.startPlugins</h4> +<b>startPlugins</b>(<i>attrs</i>) +<p> + Handler method for the "Plugins" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.ProjectHandler.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,714 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.ProjectHandler</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.ProjectHandler</h1> +<p> +Module implementing the handler class for reading an XML project file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#ProjectHandler">ProjectHandler</a></td> +<td>Class implementing a sax handler to read an XML project file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="ProjectHandler" ID="ProjectHandler"></a> +<h2>ProjectHandler</h2> +<p> + Class implementing a sax handler to read an XML project file. +</p> +<h3>Derived from</h3> +XMLHandlerBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#ProjectHandler.__init__">ProjectHandler</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#ProjectHandler.__buildPath">__buildPath</a></td> +<td>Private method to assemble a path.</td> +</tr><tr> +<td><a href="#ProjectHandler.endAuthor">endAuthor</a></td> +<td>Handler method for the "Author" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endCheckersParams">endCheckersParams</a></td> +<td>Handler method for the "CheckersParams" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endCxfreezeParams">endCxfreezeParams</a></td> +<td>Handler method for the "CxfreezeParams" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endDescription">endDescription</a></td> +<td>Handler method for the "Description" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endDir">endDir</a></td> +<td>Handler method for the "Dir" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endDocumentationParams">endDocumentationParams</a></td> +<td>Handler method for the "DocumentationParams" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endEmail">endEmail</a></td> +<td>Handler method for the "Email" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endEric4ApiParams">endEric4ApiParams</a></td> +<td>Handler method for the "Eric4ApiParams" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endEric4DocParams">endEric4DocParams</a></td> +<td>Handler method for the "Eric4DocParams" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endForm">endForm</a></td> +<td>Handler method for the "Form" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endInterface">endInterface</a></td> +<td>Handler method for the "Interface" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endLanguage">endLanguage</a></td> +<td>Handler method for the "Language" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endMainScript">endMainScript</a></td> +<td>Handler method for the "MainScript" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endName">endName</a></td> +<td>Handler method for the "Name" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endOther">endOther</a></td> +<td>Handler method for the "Other" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endOtherToolsParams">endOtherToolsParams</a></td> +<td>Handler method for the "OtherToolsParams" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endPackagersParams">endPackagersParams</a></td> +<td>Handler method for the "PackagersParams" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endProgLanguage">endProgLanguage</a></td> +<td>Handler method for the "ProgLanguage" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endProjectExcludeList">endProjectExcludeList</a></td> +<td>Handler method for the "ProjectExcludeList" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endProjectType">endProjectType</a></td> +<td>Handler method for the "ProjectType" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endProjectTypeSpecificData">endProjectTypeSpecificData</a></td> +<td>Handler method for the "ProjectTypeSpecificData" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endProjectWordList">endProjectWordList</a></td> +<td>Handler method for the "ProjectWordList" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endPyLintParams">endPyLintParams</a></td> +<td>Handler method for the "PyLintParams" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endResource">endResource</a></td> +<td>Handler method for the "Resource" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endSource">endSource</a></td> +<td>Handler method for the "Source" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endTranslation">endTranslation</a></td> +<td>Handler method for the "Translation" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endTranslationException">endTranslationException</a></td> +<td>Handler method for the "TranslationException" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endTranslationPattern">endTranslationPattern</a></td> +<td>Handler method for the "TranslationPattern" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endTranslationPrefix">endTranslationPrefix</a></td> +<td>Handler method for the "TranslationPrefix" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endTranslationsBinPath">endTranslationsBinPath</a></td> +<td>Handler method for the "TranslationsBinPath" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endUIType">endUIType</a></td> +<td>Handler method for the "UIType" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endVcsOptions">endVcsOptions</a></td> +<td>Handler method for the "VcsOptions" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endVcsOtherData">endVcsOtherData</a></td> +<td>Handler method for the "VcsOtherData" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endVcsType">endVcsType</a></td> +<td>Handler method for the "VcsType" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.endVersion">endVersion</a></td> +<td>Handler method for the "Version" end tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.getVersion">getVersion</a></td> +<td>Public method to retrieve the version of the project.</td> +</tr><tr> +<td><a href="#ProjectHandler.startCheckersParams">startCheckersParams</a></td> +<td>Handler method for the "CheckersParams" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startCxfreezeParams">startCxfreezeParams</a></td> +<td>Handler method for the "CxfreezeParams" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startDocumentProject">startDocumentProject</a></td> +<td>Handler called, when the document parsing is started.</td> +</tr><tr> +<td><a href="#ProjectHandler.startDocumentationParams">startDocumentationParams</a></td> +<td>Handler method for the "DocumentationParams" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startEric4ApiParams">startEric4ApiParams</a></td> +<td>Handler method for the "Eric4ApiParams" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startEric4DocParams">startEric4DocParams</a></td> +<td>Handler method for the "Eric4DocParams" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startFiletypeAssociation">startFiletypeAssociation</a></td> +<td>Handler method for the "FiletypeAssociation" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startForm">startForm</a></td> +<td>Handler method for the "Form" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startInterface">startInterface</a></td> +<td>Handler method for the "Interface" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startLexerAssociation">startLexerAssociation</a></td> +<td>Handler method for the "LexerAssociation" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startMainScript">startMainScript</a></td> +<td>Handler method for the "MainScript" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startOther">startOther</a></td> +<td>Handler method for the "Other" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startOtherToolsParams">startOtherToolsParams</a></td> +<td>Handler method for the "OtherToolsParams" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startPackagersParams">startPackagersParams</a></td> +<td>Handler method for the "PackagersParams" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startProgLanguage">startProgLanguage</a></td> +<td>Handler method for the "Source" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startProject">startProject</a></td> +<td>Handler method for the "Project" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startProjectTypeSpecificData">startProjectTypeSpecificData</a></td> +<td>Handler method for the "ProjectTypeSpecificData" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startPyLintParams">startPyLintParams</a></td> +<td>Handler method for the "PyLintParams" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startResource">startResource</a></td> +<td>Handler method for the "Resource" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startSource">startSource</a></td> +<td>Handler method for the "Source" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startTranslation">startTranslation</a></td> +<td>Handler method for the "Translation" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startTranslationException">startTranslationException</a></td> +<td>Handler method for the "TranslationException" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startTranslationPrefix">startTranslationPrefix</a></td> +<td>Handler method for the "TranslationPrefix" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startTranslationsBinPath">startTranslationsBinPath</a></td> +<td>Handler method for the "TranslationsBinPath" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startVcsOptions">startVcsOptions</a></td> +<td>Handler method for the "VcsOptions" start tag.</td> +</tr><tr> +<td><a href="#ProjectHandler.startVcsOtherData">startVcsOtherData</a></td> +<td>Handler method for the "VcsOtherData" start tag.</td> +</tr> +</table> +<a NAME="ProjectHandler.__init__" ID="ProjectHandler.__init__"></a> +<h4>ProjectHandler (Constructor)</h4> +<b>ProjectHandler</b>(<i>project</i>) +<p> + Constructor +</p><dl> +<dt><i>project</i></dt> +<dd> +Reference to the project object to store the + information into. +</dd> +</dl><a NAME="ProjectHandler.__buildPath" ID="ProjectHandler.__buildPath"></a> +<h4>ProjectHandler.__buildPath</h4> +<b>__buildPath</b>(<i></i>) +<p> + Private method to assemble a path. +</p><dl> +<dt>Returns:</dt> +<dd> +The ready assembled path. (string) +</dd> +</dl><a NAME="ProjectHandler.endAuthor" ID="ProjectHandler.endAuthor"></a> +<h4>ProjectHandler.endAuthor</h4> +<b>endAuthor</b>(<i></i>) +<p> + Handler method for the "Author" end tag. +</p><a NAME="ProjectHandler.endCheckersParams" ID="ProjectHandler.endCheckersParams"></a> +<h4>ProjectHandler.endCheckersParams</h4> +<b>endCheckersParams</b>(<i></i>) +<p> + Handler method for the "CheckersParams" end tag. +</p><a NAME="ProjectHandler.endCxfreezeParams" ID="ProjectHandler.endCxfreezeParams"></a> +<h4>ProjectHandler.endCxfreezeParams</h4> +<b>endCxfreezeParams</b>(<i></i>) +<p> + Handler method for the "CxfreezeParams" end tag. +</p><a NAME="ProjectHandler.endDescription" ID="ProjectHandler.endDescription"></a> +<h4>ProjectHandler.endDescription</h4> +<b>endDescription</b>(<i></i>) +<p> + Handler method for the "Description" end tag. +</p><a NAME="ProjectHandler.endDir" ID="ProjectHandler.endDir"></a> +<h4>ProjectHandler.endDir</h4> +<b>endDir</b>(<i></i>) +<p> + Handler method for the "Dir" end tag. +</p><a NAME="ProjectHandler.endDocumentationParams" ID="ProjectHandler.endDocumentationParams"></a> +<h4>ProjectHandler.endDocumentationParams</h4> +<b>endDocumentationParams</b>(<i></i>) +<p> + Handler method for the "DocumentationParams" end tag. +</p><a NAME="ProjectHandler.endEmail" ID="ProjectHandler.endEmail"></a> +<h4>ProjectHandler.endEmail</h4> +<b>endEmail</b>(<i></i>) +<p> + Handler method for the "Email" end tag. +</p><a NAME="ProjectHandler.endEric4ApiParams" ID="ProjectHandler.endEric4ApiParams"></a> +<h4>ProjectHandler.endEric4ApiParams</h4> +<b>endEric4ApiParams</b>(<i></i>) +<p> + Handler method for the "Eric4ApiParams" end tag. +</p><a NAME="ProjectHandler.endEric4DocParams" ID="ProjectHandler.endEric4DocParams"></a> +<h4>ProjectHandler.endEric4DocParams</h4> +<b>endEric4DocParams</b>(<i></i>) +<p> + Handler method for the "Eric4DocParams" end tag. +</p><a NAME="ProjectHandler.endForm" ID="ProjectHandler.endForm"></a> +<h4>ProjectHandler.endForm</h4> +<b>endForm</b>(<i></i>) +<p> + Handler method for the "Form" end tag. +</p><a NAME="ProjectHandler.endInterface" ID="ProjectHandler.endInterface"></a> +<h4>ProjectHandler.endInterface</h4> +<b>endInterface</b>(<i></i>) +<p> + Handler method for the "Interface" end tag. +</p><a NAME="ProjectHandler.endLanguage" ID="ProjectHandler.endLanguage"></a> +<h4>ProjectHandler.endLanguage</h4> +<b>endLanguage</b>(<i></i>) +<p> + Handler method for the "Language" end tag. +</p><a NAME="ProjectHandler.endMainScript" ID="ProjectHandler.endMainScript"></a> +<h4>ProjectHandler.endMainScript</h4> +<b>endMainScript</b>(<i></i>) +<p> + Handler method for the "MainScript" end tag. +</p><a NAME="ProjectHandler.endName" ID="ProjectHandler.endName"></a> +<h4>ProjectHandler.endName</h4> +<b>endName</b>(<i></i>) +<p> + Handler method for the "Name" end tag. +</p><a NAME="ProjectHandler.endOther" ID="ProjectHandler.endOther"></a> +<h4>ProjectHandler.endOther</h4> +<b>endOther</b>(<i></i>) +<p> + Handler method for the "Other" end tag. +</p><a NAME="ProjectHandler.endOtherToolsParams" ID="ProjectHandler.endOtherToolsParams"></a> +<h4>ProjectHandler.endOtherToolsParams</h4> +<b>endOtherToolsParams</b>(<i></i>) +<p> + Handler method for the "OtherToolsParams" end tag. +</p><a NAME="ProjectHandler.endPackagersParams" ID="ProjectHandler.endPackagersParams"></a> +<h4>ProjectHandler.endPackagersParams</h4> +<b>endPackagersParams</b>(<i></i>) +<p> + Handler method for the "PackagersParams" end tag. +</p><a NAME="ProjectHandler.endProgLanguage" ID="ProjectHandler.endProgLanguage"></a> +<h4>ProjectHandler.endProgLanguage</h4> +<b>endProgLanguage</b>(<i></i>) +<p> + Handler method for the "ProgLanguage" end tag. +</p><a NAME="ProjectHandler.endProjectExcludeList" ID="ProjectHandler.endProjectExcludeList"></a> +<h4>ProjectHandler.endProjectExcludeList</h4> +<b>endProjectExcludeList</b>(<i></i>) +<p> + Handler method for the "ProjectExcludeList" end tag. +</p><a NAME="ProjectHandler.endProjectType" ID="ProjectHandler.endProjectType"></a> +<h4>ProjectHandler.endProjectType</h4> +<b>endProjectType</b>(<i></i>) +<p> + Handler method for the "ProjectType" end tag. +</p><a NAME="ProjectHandler.endProjectTypeSpecificData" ID="ProjectHandler.endProjectTypeSpecificData"></a> +<h4>ProjectHandler.endProjectTypeSpecificData</h4> +<b>endProjectTypeSpecificData</b>(<i></i>) +<p> + Handler method for the "ProjectTypeSpecificData" end tag. +</p><a NAME="ProjectHandler.endProjectWordList" ID="ProjectHandler.endProjectWordList"></a> +<h4>ProjectHandler.endProjectWordList</h4> +<b>endProjectWordList</b>(<i></i>) +<p> + Handler method for the "ProjectWordList" end tag. +</p><a NAME="ProjectHandler.endPyLintParams" ID="ProjectHandler.endPyLintParams"></a> +<h4>ProjectHandler.endPyLintParams</h4> +<b>endPyLintParams</b>(<i></i>) +<p> + Handler method for the "PyLintParams" end tag. +</p><a NAME="ProjectHandler.endResource" ID="ProjectHandler.endResource"></a> +<h4>ProjectHandler.endResource</h4> +<b>endResource</b>(<i></i>) +<p> + Handler method for the "Resource" end tag. +</p><a NAME="ProjectHandler.endSource" ID="ProjectHandler.endSource"></a> +<h4>ProjectHandler.endSource</h4> +<b>endSource</b>(<i></i>) +<p> + Handler method for the "Source" end tag. +</p><a NAME="ProjectHandler.endTranslation" ID="ProjectHandler.endTranslation"></a> +<h4>ProjectHandler.endTranslation</h4> +<b>endTranslation</b>(<i></i>) +<p> + Handler method for the "Translation" end tag. +</p><a NAME="ProjectHandler.endTranslationException" ID="ProjectHandler.endTranslationException"></a> +<h4>ProjectHandler.endTranslationException</h4> +<b>endTranslationException</b>(<i></i>) +<p> + Handler method for the "TranslationException" end tag. +</p><a NAME="ProjectHandler.endTranslationPattern" ID="ProjectHandler.endTranslationPattern"></a> +<h4>ProjectHandler.endTranslationPattern</h4> +<b>endTranslationPattern</b>(<i></i>) +<p> + Handler method for the "TranslationPattern" end tag. +</p><a NAME="ProjectHandler.endTranslationPrefix" ID="ProjectHandler.endTranslationPrefix"></a> +<h4>ProjectHandler.endTranslationPrefix</h4> +<b>endTranslationPrefix</b>(<i></i>) +<p> + Handler method for the "TranslationPrefix" end tag. +</p><a NAME="ProjectHandler.endTranslationsBinPath" ID="ProjectHandler.endTranslationsBinPath"></a> +<h4>ProjectHandler.endTranslationsBinPath</h4> +<b>endTranslationsBinPath</b>(<i></i>) +<p> + Handler method for the "TranslationsBinPath" end tag. +</p><a NAME="ProjectHandler.endUIType" ID="ProjectHandler.endUIType"></a> +<h4>ProjectHandler.endUIType</h4> +<b>endUIType</b>(<i></i>) +<p> + Handler method for the "UIType" end tag. +</p><a NAME="ProjectHandler.endVcsOptions" ID="ProjectHandler.endVcsOptions"></a> +<h4>ProjectHandler.endVcsOptions</h4> +<b>endVcsOptions</b>(<i></i>) +<p> + Handler method for the "VcsOptions" end tag. +</p><a NAME="ProjectHandler.endVcsOtherData" ID="ProjectHandler.endVcsOtherData"></a> +<h4>ProjectHandler.endVcsOtherData</h4> +<b>endVcsOtherData</b>(<i></i>) +<p> + Handler method for the "VcsOtherData" end tag. +</p><a NAME="ProjectHandler.endVcsType" ID="ProjectHandler.endVcsType"></a> +<h4>ProjectHandler.endVcsType</h4> +<b>endVcsType</b>(<i></i>) +<p> + Handler method for the "VcsType" end tag. +</p><a NAME="ProjectHandler.endVersion" ID="ProjectHandler.endVersion"></a> +<h4>ProjectHandler.endVersion</h4> +<b>endVersion</b>(<i></i>) +<p> + Handler method for the "Version" end tag. +</p><a NAME="ProjectHandler.getVersion" ID="ProjectHandler.getVersion"></a> +<h4>ProjectHandler.getVersion</h4> +<b>getVersion</b>(<i></i>) +<p> + Public method to retrieve the version of the project. +</p><dl> +<dt>Returns:</dt> +<dd> +String containing the version number. +</dd> +</dl><a NAME="ProjectHandler.startCheckersParams" ID="ProjectHandler.startCheckersParams"></a> +<h4>ProjectHandler.startCheckersParams</h4> +<b>startCheckersParams</b>(<i>attrs</i>) +<p> + Handler method for the "CheckersParams" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startCxfreezeParams" ID="ProjectHandler.startCxfreezeParams"></a> +<h4>ProjectHandler.startCxfreezeParams</h4> +<b>startCxfreezeParams</b>(<i>attrs</i>) +<p> + Handler method for the "CxfreezeParams" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startDocumentProject" ID="ProjectHandler.startDocumentProject"></a> +<h4>ProjectHandler.startDocumentProject</h4> +<b>startDocumentProject</b>(<i></i>) +<p> + Handler called, when the document parsing is started. +</p><a NAME="ProjectHandler.startDocumentationParams" ID="ProjectHandler.startDocumentationParams"></a> +<h4>ProjectHandler.startDocumentationParams</h4> +<b>startDocumentationParams</b>(<i>attrs</i>) +<p> + Handler method for the "DocumentationParams" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startEric4ApiParams" ID="ProjectHandler.startEric4ApiParams"></a> +<h4>ProjectHandler.startEric4ApiParams</h4> +<b>startEric4ApiParams</b>(<i>attrs</i>) +<p> + Handler method for the "Eric4ApiParams" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startEric4DocParams" ID="ProjectHandler.startEric4DocParams"></a> +<h4>ProjectHandler.startEric4DocParams</h4> +<b>startEric4DocParams</b>(<i>attrs</i>) +<p> + Handler method for the "Eric4DocParams" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startFiletypeAssociation" ID="ProjectHandler.startFiletypeAssociation"></a> +<h4>ProjectHandler.startFiletypeAssociation</h4> +<b>startFiletypeAssociation</b>(<i>attrs</i>) +<p> + Handler method for the "FiletypeAssociation" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startForm" ID="ProjectHandler.startForm"></a> +<h4>ProjectHandler.startForm</h4> +<b>startForm</b>(<i>attrs</i>) +<p> + Handler method for the "Form" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startInterface" ID="ProjectHandler.startInterface"></a> +<h4>ProjectHandler.startInterface</h4> +<b>startInterface</b>(<i>attrs</i>) +<p> + Handler method for the "Interface" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startLexerAssociation" ID="ProjectHandler.startLexerAssociation"></a> +<h4>ProjectHandler.startLexerAssociation</h4> +<b>startLexerAssociation</b>(<i>attrs</i>) +<p> + Handler method for the "LexerAssociation" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startMainScript" ID="ProjectHandler.startMainScript"></a> +<h4>ProjectHandler.startMainScript</h4> +<b>startMainScript</b>(<i>attrs</i>) +<p> + Handler method for the "MainScript" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startOther" ID="ProjectHandler.startOther"></a> +<h4>ProjectHandler.startOther</h4> +<b>startOther</b>(<i>attrs</i>) +<p> + Handler method for the "Other" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startOtherToolsParams" ID="ProjectHandler.startOtherToolsParams"></a> +<h4>ProjectHandler.startOtherToolsParams</h4> +<b>startOtherToolsParams</b>(<i>attrs</i>) +<p> + Handler method for the "OtherToolsParams" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startPackagersParams" ID="ProjectHandler.startPackagersParams"></a> +<h4>ProjectHandler.startPackagersParams</h4> +<b>startPackagersParams</b>(<i>attrs</i>) +<p> + Handler method for the "PackagersParams" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startProgLanguage" ID="ProjectHandler.startProgLanguage"></a> +<h4>ProjectHandler.startProgLanguage</h4> +<b>startProgLanguage</b>(<i>attrs</i>) +<p> + Handler method for the "Source" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startProject" ID="ProjectHandler.startProject"></a> +<h4>ProjectHandler.startProject</h4> +<b>startProject</b>(<i>attrs</i>) +<p> + Handler method for the "Project" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startProjectTypeSpecificData" ID="ProjectHandler.startProjectTypeSpecificData"></a> +<h4>ProjectHandler.startProjectTypeSpecificData</h4> +<b>startProjectTypeSpecificData</b>(<i>attrs</i>) +<p> + Handler method for the "ProjectTypeSpecificData" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startPyLintParams" ID="ProjectHandler.startPyLintParams"></a> +<h4>ProjectHandler.startPyLintParams</h4> +<b>startPyLintParams</b>(<i>attrs</i>) +<p> + Handler method for the "PyLintParams" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startResource" ID="ProjectHandler.startResource"></a> +<h4>ProjectHandler.startResource</h4> +<b>startResource</b>(<i>attrs</i>) +<p> + Handler method for the "Resource" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startSource" ID="ProjectHandler.startSource"></a> +<h4>ProjectHandler.startSource</h4> +<b>startSource</b>(<i>attrs</i>) +<p> + Handler method for the "Source" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startTranslation" ID="ProjectHandler.startTranslation"></a> +<h4>ProjectHandler.startTranslation</h4> +<b>startTranslation</b>(<i>attrs</i>) +<p> + Handler method for the "Translation" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startTranslationException" ID="ProjectHandler.startTranslationException"></a> +<h4>ProjectHandler.startTranslationException</h4> +<b>startTranslationException</b>(<i>attrs</i>) +<p> + Handler method for the "TranslationException" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startTranslationPrefix" ID="ProjectHandler.startTranslationPrefix"></a> +<h4>ProjectHandler.startTranslationPrefix</h4> +<b>startTranslationPrefix</b>(<i>attrs</i>) +<p> + Handler method for the "TranslationPrefix" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startTranslationsBinPath" ID="ProjectHandler.startTranslationsBinPath"></a> +<h4>ProjectHandler.startTranslationsBinPath</h4> +<b>startTranslationsBinPath</b>(<i>attrs</i>) +<p> + Handler method for the "TranslationsBinPath" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startVcsOptions" ID="ProjectHandler.startVcsOptions"></a> +<h4>ProjectHandler.startVcsOptions</h4> +<b>startVcsOptions</b>(<i>attrs</i>) +<p> + Handler method for the "VcsOptions" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ProjectHandler.startVcsOtherData" ID="ProjectHandler.startVcsOtherData"></a> +<h4>ProjectHandler.startVcsOtherData</h4> +<b>startVcsOtherData</b>(<i>attrs</i>) +<p> + Handler method for the "VcsOtherData" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.ProjectWriter.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.ProjectWriter</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.ProjectWriter</h1> +<p> +Module implementing the writer class for writing an XML project file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#ProjectWriter">ProjectWriter</a></td> +<td>Class implementing the writer class for writing an XML project file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="ProjectWriter" ID="ProjectWriter"></a> +<h2>ProjectWriter</h2> +<p> + Class implementing the writer class for writing an XML project file. +</p> +<h3>Derived from</h3> +XMLWriterBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#ProjectWriter.__init__">ProjectWriter</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#ProjectWriter.writeXML">writeXML</a></td> +<td>Public method to write the XML to the file.</td> +</tr> +</table> +<a NAME="ProjectWriter.__init__" ID="ProjectWriter.__init__"></a> +<h4>ProjectWriter (Constructor)</h4> +<b>ProjectWriter</b>(<i>file, projectName</i>) +<p> + Constructor +</p><dl> +<dt><i>file</i></dt> +<dd> +open file (like) object for writing +</dd><dt><i>projectName</i></dt> +<dd> +name of the project (string) +</dd> +</dl><a NAME="ProjectWriter.writeXML" ID="ProjectWriter.writeXML"></a> +<h4>ProjectWriter.writeXML</h4> +<b>writeXML</b>(<i></i>) +<p> + Public method to write the XML to the file. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.SessionHandler.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,419 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.SessionHandler</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.SessionHandler</h1> +<p> +Module implementing the handler class for reading an XML project session file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#SessionHandler">SessionHandler</a></td> +<td>Class implementing a sax handler to read an XML project session file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="SessionHandler" ID="SessionHandler"></a> +<h2>SessionHandler</h2> +<p> + Class implementing a sax handler to read an XML project session file. +</p> +<h3>Derived from</h3> +XMLHandlerBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#SessionHandler.__init__">SessionHandler</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#SessionHandler.endBFilename">endBFilename</a></td> +<td>Handler method for the "BFilename" end tag.</td> +</tr><tr> +<td><a href="#SessionHandler.endBookmark">endBookmark</a></td> +<td>Handler method for the "Bookmark" end tag.</td> +</tr><tr> +<td><a href="#SessionHandler.endBreakpoint">endBreakpoint</a></td> +<td>Handler method for the "Breakpoint" end tag.</td> +</tr><tr> +<td><a href="#SessionHandler.endCommandLine">endCommandLine</a></td> +<td>Handler method for the "CommandLine" end tag.</td> +</tr><tr> +<td><a href="#SessionHandler.endCondition">endCondition</a></td> +<td>Handler method for the "Condition" end tag.</td> +</tr><tr> +<td><a href="#SessionHandler.endEnvironment">endEnvironment</a></td> +<td>Handler method for the "Environment" end tag.</td> +</tr><tr> +<td><a href="#SessionHandler.endException">endException</a></td> +<td>Handler method for the "Exception" end tag.</td> +</tr><tr> +<td><a href="#SessionHandler.endExceptions">endExceptions</a></td> +<td>Handler method for the "Exceptions" end tag.</td> +</tr><tr> +<td><a href="#SessionHandler.endFilename">endFilename</a></td> +<td>Handler method for the "Filename" end tag.</td> +</tr><tr> +<td><a href="#SessionHandler.endIgnoredException">endIgnoredException</a></td> +<td>Handler method for the "IgnoredException" end tag.</td> +</tr><tr> +<td><a href="#SessionHandler.endIgnoredExceptions">endIgnoredExceptions</a></td> +<td>Handler method for the "IgnoredExceptions" end tag.</td> +</tr><tr> +<td><a href="#SessionHandler.endMultiProject">endMultiProject</a></td> +<td>Handler method for the "MultiProject" end tag.</td> +</tr><tr> +<td><a href="#SessionHandler.endProject">endProject</a></td> +<td>Handler method for the "Project" end tag.</td> +</tr><tr> +<td><a href="#SessionHandler.endSpecial">endSpecial</a></td> +<td>Handler method for the "Special" end tag.</td> +</tr><tr> +<td><a href="#SessionHandler.endWatchexpression">endWatchexpression</a></td> +<td>Handler method for the "Watchexpression" end tag.</td> +</tr><tr> +<td><a href="#SessionHandler.endWorkingDirectory">endWorkingDirectory</a></td> +<td>Handler method for the "WorkinDirectory" end tag.</td> +</tr><tr> +<td><a href="#SessionHandler.getVersion">getVersion</a></td> +<td>Public method to retrieve the version of the session.</td> +</tr><tr> +<td><a href="#SessionHandler.startAutoClearShell">startAutoClearShell</a></td> +<td>Handler method for the "AutoClearShell" start tag.</td> +</tr><tr> +<td><a href="#SessionHandler.startAutoContinue">startAutoContinue</a></td> +<td>Handler method for the "AutoContinue" start tag.</td> +</tr><tr> +<td><a href="#SessionHandler.startBookmark">startBookmark</a></td> +<td>Handler method for the "Bookmark" start tag.</td> +</tr><tr> +<td><a href="#SessionHandler.startBreakpoint">startBreakpoint</a></td> +<td>Handler method for the "Breakpoint" start tag.</td> +</tr><tr> +<td><a href="#SessionHandler.startCount">startCount</a></td> +<td>Handler method for the "Count" start tag.</td> +</tr><tr> +<td><a href="#SessionHandler.startDocumentSession">startDocumentSession</a></td> +<td>Handler called, when the document parsing is started.</td> +</tr><tr> +<td><a href="#SessionHandler.startEnabled">startEnabled</a></td> +<td>Handler method for the "Enabled" start tag.</td> +</tr><tr> +<td><a href="#SessionHandler.startExceptions">startExceptions</a></td> +<td>Handler method for the "Exceptions" start tag.</td> +</tr><tr> +<td><a href="#SessionHandler.startFilename">startFilename</a></td> +<td>Handler method for the "Filename" start tag.</td> +</tr><tr> +<td><a href="#SessionHandler.startIgnoredExceptions">startIgnoredExceptions</a></td> +<td>Handler method for the "IgnoredExceptions" start tag.</td> +</tr><tr> +<td><a href="#SessionHandler.startLinenumber">startLinenumber</a></td> +<td>Handler method for the "Linenumber" start tag.</td> +</tr><tr> +<td><a href="#SessionHandler.startReportExceptions">startReportExceptions</a></td> +<td>Handler method for the "ReportExceptions" start tag.</td> +</tr><tr> +<td><a href="#SessionHandler.startSession">startSession</a></td> +<td>Handler method for the "Session" start tag.</td> +</tr><tr> +<td><a href="#SessionHandler.startTemporary">startTemporary</a></td> +<td>Handler method for the "Temporary" start tag.</td> +</tr><tr> +<td><a href="#SessionHandler.startTracePython">startTracePython</a></td> +<td>Handler method for the "TracePython" start tag.</td> +</tr><tr> +<td><a href="#SessionHandler.startWatchexpression">startWatchexpression</a></td> +<td>Handler method for the "Watchexpression" start tag.</td> +</tr> +</table> +<a NAME="SessionHandler.__init__" ID="SessionHandler.__init__"></a> +<h4>SessionHandler (Constructor)</h4> +<b>SessionHandler</b>(<i>project</i>) +<p> + Constructor +</p><dl> +<dt><i>project</i></dt> +<dd> +Reference to the project object to store the + information into. +</dd> +</dl><a NAME="SessionHandler.endBFilename" ID="SessionHandler.endBFilename"></a> +<h4>SessionHandler.endBFilename</h4> +<b>endBFilename</b>(<i></i>) +<p> + Handler method for the "BFilename" end tag. +</p><a NAME="SessionHandler.endBookmark" ID="SessionHandler.endBookmark"></a> +<h4>SessionHandler.endBookmark</h4> +<b>endBookmark</b>(<i></i>) +<p> + Handler method for the "Bookmark" end tag. +</p><a NAME="SessionHandler.endBreakpoint" ID="SessionHandler.endBreakpoint"></a> +<h4>SessionHandler.endBreakpoint</h4> +<b>endBreakpoint</b>(<i></i>) +<p> + Handler method for the "Breakpoint" end tag. +</p><a NAME="SessionHandler.endCommandLine" ID="SessionHandler.endCommandLine"></a> +<h4>SessionHandler.endCommandLine</h4> +<b>endCommandLine</b>(<i></i>) +<p> + Handler method for the "CommandLine" end tag. +</p><a NAME="SessionHandler.endCondition" ID="SessionHandler.endCondition"></a> +<h4>SessionHandler.endCondition</h4> +<b>endCondition</b>(<i></i>) +<p> + Handler method for the "Condition" end tag. +</p><a NAME="SessionHandler.endEnvironment" ID="SessionHandler.endEnvironment"></a> +<h4>SessionHandler.endEnvironment</h4> +<b>endEnvironment</b>(<i></i>) +<p> + Handler method for the "Environment" end tag. +</p><a NAME="SessionHandler.endException" ID="SessionHandler.endException"></a> +<h4>SessionHandler.endException</h4> +<b>endException</b>(<i></i>) +<p> + Handler method for the "Exception" end tag. +</p><a NAME="SessionHandler.endExceptions" ID="SessionHandler.endExceptions"></a> +<h4>SessionHandler.endExceptions</h4> +<b>endExceptions</b>(<i></i>) +<p> + Handler method for the "Exceptions" end tag. +</p><a NAME="SessionHandler.endFilename" ID="SessionHandler.endFilename"></a> +<h4>SessionHandler.endFilename</h4> +<b>endFilename</b>(<i></i>) +<p> + Handler method for the "Filename" end tag. +</p><a NAME="SessionHandler.endIgnoredException" ID="SessionHandler.endIgnoredException"></a> +<h4>SessionHandler.endIgnoredException</h4> +<b>endIgnoredException</b>(<i></i>) +<p> + Handler method for the "IgnoredException" end tag. +</p><a NAME="SessionHandler.endIgnoredExceptions" ID="SessionHandler.endIgnoredExceptions"></a> +<h4>SessionHandler.endIgnoredExceptions</h4> +<b>endIgnoredExceptions</b>(<i></i>) +<p> + Handler method for the "IgnoredExceptions" end tag. +</p><a NAME="SessionHandler.endMultiProject" ID="SessionHandler.endMultiProject"></a> +<h4>SessionHandler.endMultiProject</h4> +<b>endMultiProject</b>(<i></i>) +<p> + Handler method for the "MultiProject" end tag. +</p><a NAME="SessionHandler.endProject" ID="SessionHandler.endProject"></a> +<h4>SessionHandler.endProject</h4> +<b>endProject</b>(<i></i>) +<p> + Handler method for the "Project" end tag. +</p><a NAME="SessionHandler.endSpecial" ID="SessionHandler.endSpecial"></a> +<h4>SessionHandler.endSpecial</h4> +<b>endSpecial</b>(<i></i>) +<p> + Handler method for the "Special" end tag. +</p><a NAME="SessionHandler.endWatchexpression" ID="SessionHandler.endWatchexpression"></a> +<h4>SessionHandler.endWatchexpression</h4> +<b>endWatchexpression</b>(<i></i>) +<p> + Handler method for the "Watchexpression" end tag. +</p><a NAME="SessionHandler.endWorkingDirectory" ID="SessionHandler.endWorkingDirectory"></a> +<h4>SessionHandler.endWorkingDirectory</h4> +<b>endWorkingDirectory</b>(<i></i>) +<p> + Handler method for the "WorkinDirectory" end tag. +</p><a NAME="SessionHandler.getVersion" ID="SessionHandler.getVersion"></a> +<h4>SessionHandler.getVersion</h4> +<b>getVersion</b>(<i></i>) +<p> + Public method to retrieve the version of the session. +</p><dl> +<dt>Returns:</dt> +<dd> +String containing the version number. +</dd> +</dl><a NAME="SessionHandler.startAutoClearShell" ID="SessionHandler.startAutoClearShell"></a> +<h4>SessionHandler.startAutoClearShell</h4> +<b>startAutoClearShell</b>(<i>attrs</i>) +<p> + Handler method for the "AutoClearShell" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="SessionHandler.startAutoContinue" ID="SessionHandler.startAutoContinue"></a> +<h4>SessionHandler.startAutoContinue</h4> +<b>startAutoContinue</b>(<i>attrs</i>) +<p> + Handler method for the "AutoContinue" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="SessionHandler.startBookmark" ID="SessionHandler.startBookmark"></a> +<h4>SessionHandler.startBookmark</h4> +<b>startBookmark</b>(<i>attrs</i>) +<p> + Handler method for the "Bookmark" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="SessionHandler.startBreakpoint" ID="SessionHandler.startBreakpoint"></a> +<h4>SessionHandler.startBreakpoint</h4> +<b>startBreakpoint</b>(<i>attrs</i>) +<p> + Handler method for the "Breakpoint" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="SessionHandler.startCount" ID="SessionHandler.startCount"></a> +<h4>SessionHandler.startCount</h4> +<b>startCount</b>(<i>attrs</i>) +<p> + Handler method for the "Count" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="SessionHandler.startDocumentSession" ID="SessionHandler.startDocumentSession"></a> +<h4>SessionHandler.startDocumentSession</h4> +<b>startDocumentSession</b>(<i></i>) +<p> + Handler called, when the document parsing is started. +</p><a NAME="SessionHandler.startEnabled" ID="SessionHandler.startEnabled"></a> +<h4>SessionHandler.startEnabled</h4> +<b>startEnabled</b>(<i>attrs</i>) +<p> + Handler method for the "Enabled" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="SessionHandler.startExceptions" ID="SessionHandler.startExceptions"></a> +<h4>SessionHandler.startExceptions</h4> +<b>startExceptions</b>(<i>attrs</i>) +<p> + Handler method for the "Exceptions" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="SessionHandler.startFilename" ID="SessionHandler.startFilename"></a> +<h4>SessionHandler.startFilename</h4> +<b>startFilename</b>(<i>attrs</i>) +<p> + Handler method for the "Filename" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="SessionHandler.startIgnoredExceptions" ID="SessionHandler.startIgnoredExceptions"></a> +<h4>SessionHandler.startIgnoredExceptions</h4> +<b>startIgnoredExceptions</b>(<i>attrs</i>) +<p> + Handler method for the "IgnoredExceptions" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="SessionHandler.startLinenumber" ID="SessionHandler.startLinenumber"></a> +<h4>SessionHandler.startLinenumber</h4> +<b>startLinenumber</b>(<i>attrs</i>) +<p> + Handler method for the "Linenumber" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="SessionHandler.startReportExceptions" ID="SessionHandler.startReportExceptions"></a> +<h4>SessionHandler.startReportExceptions</h4> +<b>startReportExceptions</b>(<i>attrs</i>) +<p> + Handler method for the "ReportExceptions" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="SessionHandler.startSession" ID="SessionHandler.startSession"></a> +<h4>SessionHandler.startSession</h4> +<b>startSession</b>(<i>attrs</i>) +<p> + Handler method for the "Session" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="SessionHandler.startTemporary" ID="SessionHandler.startTemporary"></a> +<h4>SessionHandler.startTemporary</h4> +<b>startTemporary</b>(<i>attrs</i>) +<p> + Handler method for the "Temporary" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="SessionHandler.startTracePython" ID="SessionHandler.startTracePython"></a> +<h4>SessionHandler.startTracePython</h4> +<b>startTracePython</b>(<i>attrs</i>) +<p> + Handler method for the "TracePython" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="SessionHandler.startWatchexpression" ID="SessionHandler.startWatchexpression"></a> +<h4>SessionHandler.startWatchexpression</h4> +<b>startWatchexpression</b>(<i>attrs</i>) +<p> + Handler method for the "Watchexpression" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.SessionWriter.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.SessionWriter</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.SessionWriter</h1> +<p> +Module implementing the writer class for writing an XML project session file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#SessionWriter">SessionWriter</a></td> +<td>Class implementing the writer class for writing an XML project session file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="SessionWriter" ID="SessionWriter"></a> +<h2>SessionWriter</h2> +<p> + Class implementing the writer class for writing an XML project session file. +</p> +<h3>Derived from</h3> +XMLWriterBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#SessionWriter.__init__">SessionWriter</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#SessionWriter.writeXML">writeXML</a></td> +<td>Public method to write the XML to the file.</td> +</tr> +</table> +<a NAME="SessionWriter.__init__" ID="SessionWriter.__init__"></a> +<h4>SessionWriter (Constructor)</h4> +<b>SessionWriter</b>(<i>file, projectName</i>) +<p> + Constructor +</p><dl> +<dt><i>file</i></dt> +<dd> +open file (like) object for writing +</dd><dt><i>projectName</i></dt> +<dd> +name of the project (string) or None for the + global session +</dd> +</dl><a NAME="SessionWriter.writeXML" ID="SessionWriter.writeXML"></a> +<h4>SessionWriter.writeXML</h4> +<b>writeXML</b>(<i></i>) +<p> + Public method to write the XML to the file. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.ShortcutsHandler.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,164 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.ShortcutsHandler</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.ShortcutsHandler</h1> +<p> +Module implementing the handler class for reading a keyboard shortcuts file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#ShortcutsHandler">ShortcutsHandler</a></td> +<td>Class implementing a sax handler to read a keyboard shortcuts file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="ShortcutsHandler" ID="ShortcutsHandler"></a> +<h2>ShortcutsHandler</h2> +<p> + Class implementing a sax handler to read a keyboard shortcuts file. +</p> +<h3>Derived from</h3> +XMLHandlerBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#ShortcutsHandler.__init__">ShortcutsHandler</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#ShortcutsHandler.endAccel">endAccel</a></td> +<td>Handler method for the "Accel" end tag.</td> +</tr><tr> +<td><a href="#ShortcutsHandler.endAltAccel">endAltAccel</a></td> +<td>Handler method for the "AltAccel" end tag.</td> +</tr><tr> +<td><a href="#ShortcutsHandler.endName">endName</a></td> +<td>Handler method for the "Name" end tag.</td> +</tr><tr> +<td><a href="#ShortcutsHandler.endShortcut">endShortcut</a></td> +<td>Handler method for the "Shortcut" end tag.</td> +</tr><tr> +<td><a href="#ShortcutsHandler.getShortcuts">getShortcuts</a></td> +<td>Public method to retrieve the shortcuts.</td> +</tr><tr> +<td><a href="#ShortcutsHandler.getVersion">getVersion</a></td> +<td>Public method to retrieve the version of the shortcuts.</td> +</tr><tr> +<td><a href="#ShortcutsHandler.startDocumentShortcuts">startDocumentShortcuts</a></td> +<td>Handler called, when the document parsing is started.</td> +</tr><tr> +<td><a href="#ShortcutsHandler.startShortcut">startShortcut</a></td> +<td>Handler method for the "Shortcut" start tag.</td> +</tr><tr> +<td><a href="#ShortcutsHandler.startShortcuts">startShortcuts</a></td> +<td>Handler method for the "Shortcuts" start tag.</td> +</tr> +</table> +<a NAME="ShortcutsHandler.__init__" ID="ShortcutsHandler.__init__"></a> +<h4>ShortcutsHandler (Constructor)</h4> +<b>ShortcutsHandler</b>(<i></i>) +<p> + Constructor +</p><a NAME="ShortcutsHandler.endAccel" ID="ShortcutsHandler.endAccel"></a> +<h4>ShortcutsHandler.endAccel</h4> +<b>endAccel</b>(<i></i>) +<p> + Handler method for the "Accel" end tag. +</p><a NAME="ShortcutsHandler.endAltAccel" ID="ShortcutsHandler.endAltAccel"></a> +<h4>ShortcutsHandler.endAltAccel</h4> +<b>endAltAccel</b>(<i></i>) +<p> + Handler method for the "AltAccel" end tag. +</p><a NAME="ShortcutsHandler.endName" ID="ShortcutsHandler.endName"></a> +<h4>ShortcutsHandler.endName</h4> +<b>endName</b>(<i></i>) +<p> + Handler method for the "Name" end tag. +</p><a NAME="ShortcutsHandler.endShortcut" ID="ShortcutsHandler.endShortcut"></a> +<h4>ShortcutsHandler.endShortcut</h4> +<b>endShortcut</b>(<i></i>) +<p> + Handler method for the "Shortcut" end tag. +</p><a NAME="ShortcutsHandler.getShortcuts" ID="ShortcutsHandler.getShortcuts"></a> +<h4>ShortcutsHandler.getShortcuts</h4> +<b>getShortcuts</b>(<i></i>) +<p> + Public method to retrieve the shortcuts. +</p><dl> +<dt>Returns:</dt> +<dd> +Dictionary of dictionaries of shortcuts. The keys of the + dictionary are the categories, the values are dictionaries. + These dictionaries have the shortcut name as their key and + a tuple of accelerators as their value. +</dd> +</dl><a NAME="ShortcutsHandler.getVersion" ID="ShortcutsHandler.getVersion"></a> +<h4>ShortcutsHandler.getVersion</h4> +<b>getVersion</b>(<i></i>) +<p> + Public method to retrieve the version of the shortcuts. +</p><dl> +<dt>Returns:</dt> +<dd> +String containing the version number. +</dd> +</dl><a NAME="ShortcutsHandler.startDocumentShortcuts" ID="ShortcutsHandler.startDocumentShortcuts"></a> +<h4>ShortcutsHandler.startDocumentShortcuts</h4> +<b>startDocumentShortcuts</b>(<i></i>) +<p> + Handler called, when the document parsing is started. +</p><a NAME="ShortcutsHandler.startShortcut" ID="ShortcutsHandler.startShortcut"></a> +<h4>ShortcutsHandler.startShortcut</h4> +<b>startShortcut</b>(<i>attrs</i>) +<p> + Handler method for the "Shortcut" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="ShortcutsHandler.startShortcuts" ID="ShortcutsHandler.startShortcuts"></a> +<h4>ShortcutsHandler.startShortcuts</h4> +<b>startShortcuts</b>(<i>attrs</i>) +<p> + Handler method for the "Shortcuts" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.ShortcutsWriter.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.ShortcutsWriter</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.ShortcutsWriter</h1> +<p> +Module implementing the writer class for writing an XML shortcuts file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#ShortcutsWriter">ShortcutsWriter</a></td> +<td>Class implementing the writer class for writing an XML shortcuts file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="ShortcutsWriter" ID="ShortcutsWriter"></a> +<h2>ShortcutsWriter</h2> +<p> + Class implementing the writer class for writing an XML shortcuts file. +</p> +<h3>Derived from</h3> +XMLWriterBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#ShortcutsWriter.__init__">ShortcutsWriter</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#ShortcutsWriter.writeXML">writeXML</a></td> +<td>Public method to write the XML to the file.</td> +</tr> +</table> +<a NAME="ShortcutsWriter.__init__" ID="ShortcutsWriter.__init__"></a> +<h4>ShortcutsWriter (Constructor)</h4> +<b>ShortcutsWriter</b>(<i>file</i>) +<p> + Constructor +</p><dl> +<dt><i>file</i></dt> +<dd> +open file (like) object for writing +</dd> +</dl><a NAME="ShortcutsWriter.writeXML" ID="ShortcutsWriter.writeXML"></a> +<h4>ShortcutsWriter.writeXML</h4> +<b>writeXML</b>(<i></i>) +<p> + Public method to write the XML to the file. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.TasksHandler.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,214 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.TasksHandler</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.TasksHandler</h1> +<p> +Module implementing the handler class for reading an XML tasks file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#TasksHandler">TasksHandler</a></td> +<td>Class implementing a sax handler to read an XML tasks file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="TasksHandler" ID="TasksHandler"></a> +<h2>TasksHandler</h2> +<p> + Class implementing a sax handler to read an XML tasks file. +</p> +<h3>Derived from</h3> +XMLHandlerBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#TasksHandler.__init__">TasksHandler</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#TasksHandler.__buildPath">__buildPath</a></td> +<td>Private method to assemble a path.</td> +</tr><tr> +<td><a href="#TasksHandler.endCreated">endCreated</a></td> +<td>Handler method for the "Created" end tag.</td> +</tr><tr> +<td><a href="#TasksHandler.endDescription">endDescription</a></td> +<td>Handler method for the "Description" end tag.</td> +</tr><tr> +<td><a href="#TasksHandler.endDir">endDir</a></td> +<td>Handler method for the "Dir" end tag.</td> +</tr><tr> +<td><a href="#TasksHandler.endFilename">endFilename</a></td> +<td>Handler method for the "Filename" end tag.</td> +</tr><tr> +<td><a href="#TasksHandler.endLinenumber">endLinenumber</a></td> +<td>Handler method for the "Linenumber" end tag.</td> +</tr><tr> +<td><a href="#TasksHandler.endName">endName</a></td> +<td>Handler method for the "Name" end tag.</td> +</tr><tr> +<td><a href="#TasksHandler.endSummary">endSummary</a></td> +<td>Handler method for the "Summary" end tag.</td> +</tr><tr> +<td><a href="#TasksHandler.endTask">endTask</a></td> +<td>Handler method for the "Task" end tag.</td> +</tr><tr> +<td><a href="#TasksHandler.getVersion">getVersion</a></td> +<td>Public method to retrieve the version of the tasks file.</td> +</tr><tr> +<td><a href="#TasksHandler.startDocumentTasks">startDocumentTasks</a></td> +<td>Handler called, when the document parsing is started.</td> +</tr><tr> +<td><a href="#TasksHandler.startFilename">startFilename</a></td> +<td>Handler method for the "Filename" start tag.</td> +</tr><tr> +<td><a href="#TasksHandler.startTask">startTask</a></td> +<td>Handler method for the "Task" start tag.</td> +</tr><tr> +<td><a href="#TasksHandler.startTasks">startTasks</a></td> +<td>Handler method for the "Tasks" start tag.</td> +</tr> +</table> +<a NAME="TasksHandler.__init__" ID="TasksHandler.__init__"></a> +<h4>TasksHandler (Constructor)</h4> +<b>TasksHandler</b>(<i>forProject = False, taskViewer=None</i>) +<p> + Constructor +</p><dl> +<dt><i>forProject</i></dt> +<dd> +flag indicating project related mode (boolean) +</dd><dt><i>taskViewer</i></dt> +<dd> +reference to the task viewer object +</dd> +</dl><a NAME="TasksHandler.__buildPath" ID="TasksHandler.__buildPath"></a> +<h4>TasksHandler.__buildPath</h4> +<b>__buildPath</b>(<i></i>) +<p> + Private method to assemble a path. +</p><dl> +<dt>Returns:</dt> +<dd> +The ready assembled path. (string) +</dd> +</dl><a NAME="TasksHandler.endCreated" ID="TasksHandler.endCreated"></a> +<h4>TasksHandler.endCreated</h4> +<b>endCreated</b>(<i></i>) +<p> + Handler method for the "Created" end tag. +</p><a NAME="TasksHandler.endDescription" ID="TasksHandler.endDescription"></a> +<h4>TasksHandler.endDescription</h4> +<b>endDescription</b>(<i></i>) +<p> + Handler method for the "Description" end tag. +</p><a NAME="TasksHandler.endDir" ID="TasksHandler.endDir"></a> +<h4>TasksHandler.endDir</h4> +<b>endDir</b>(<i></i>) +<p> + Handler method for the "Dir" end tag. +</p><a NAME="TasksHandler.endFilename" ID="TasksHandler.endFilename"></a> +<h4>TasksHandler.endFilename</h4> +<b>endFilename</b>(<i></i>) +<p> + Handler method for the "Filename" end tag. +</p><a NAME="TasksHandler.endLinenumber" ID="TasksHandler.endLinenumber"></a> +<h4>TasksHandler.endLinenumber</h4> +<b>endLinenumber</b>(<i></i>) +<p> + Handler method for the "Linenumber" end tag. +</p><a NAME="TasksHandler.endName" ID="TasksHandler.endName"></a> +<h4>TasksHandler.endName</h4> +<b>endName</b>(<i></i>) +<p> + Handler method for the "Name" end tag. +</p><a NAME="TasksHandler.endSummary" ID="TasksHandler.endSummary"></a> +<h4>TasksHandler.endSummary</h4> +<b>endSummary</b>(<i></i>) +<p> + Handler method for the "Summary" end tag. +</p><a NAME="TasksHandler.endTask" ID="TasksHandler.endTask"></a> +<h4>TasksHandler.endTask</h4> +<b>endTask</b>(<i></i>) +<p> + Handler method for the "Task" end tag. +</p><a NAME="TasksHandler.getVersion" ID="TasksHandler.getVersion"></a> +<h4>TasksHandler.getVersion</h4> +<b>getVersion</b>(<i></i>) +<p> + Public method to retrieve the version of the tasks file. +</p><dl> +<dt>Returns:</dt> +<dd> +String containing the version number. +</dd> +</dl><a NAME="TasksHandler.startDocumentTasks" ID="TasksHandler.startDocumentTasks"></a> +<h4>TasksHandler.startDocumentTasks</h4> +<b>startDocumentTasks</b>(<i></i>) +<p> + Handler called, when the document parsing is started. +</p><a NAME="TasksHandler.startFilename" ID="TasksHandler.startFilename"></a> +<h4>TasksHandler.startFilename</h4> +<b>startFilename</b>(<i>attrs</i>) +<p> + Handler method for the "Filename" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="TasksHandler.startTask" ID="TasksHandler.startTask"></a> +<h4>TasksHandler.startTask</h4> +<b>startTask</b>(<i>attrs</i>) +<p> + Handler method for the "Task" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="TasksHandler.startTasks" ID="TasksHandler.startTasks"></a> +<h4>TasksHandler.startTasks</h4> +<b>startTasks</b>(<i>attrs</i>) +<p> + Handler method for the "Tasks" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.TasksWriter.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.TasksWriter</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.TasksWriter</h1> +<p> +Module implementing the writer class for writing an XML tasks file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#TasksWriter">TasksWriter</a></td> +<td>Class implementing the writer class for writing an XML tasks file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="TasksWriter" ID="TasksWriter"></a> +<h2>TasksWriter</h2> +<p> + Class implementing the writer class for writing an XML tasks file. +</p> +<h3>Derived from</h3> +XMLWriterBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#TasksWriter.__init__">TasksWriter</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#TasksWriter.writeXML">writeXML</a></td> +<td>Public method to write the XML to the file.</td> +</tr> +</table> +<a NAME="TasksWriter.__init__" ID="TasksWriter.__init__"></a> +<h4>TasksWriter (Constructor)</h4> +<b>TasksWriter</b>(<i>file, forProject = False, projectName=""</i>) +<p> + Constructor +</p><dl> +<dt><i>file</i></dt> +<dd> +open file (like) object for writing +</dd><dt><i>forProject</i></dt> +<dd> +flag indicating project related mode (boolean) +</dd><dt><i>projectName</i></dt> +<dd> +name of the project (string) +</dd> +</dl><a NAME="TasksWriter.writeXML" ID="TasksWriter.writeXML"></a> +<h4>TasksWriter.writeXML</h4> +<b>writeXML</b>(<i></i>) +<p> + Public method to write the XML to the file. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.TemplatesHandler.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,158 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.TemplatesHandler</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.TemplatesHandler</h1> +<p> +Module implementing the handler class for reading an XML templates file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#TemplatesHandler">TemplatesHandler</a></td> +<td>Class implementing a sax handler to read an XML templates file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="TemplatesHandler" ID="TemplatesHandler"></a> +<h2>TemplatesHandler</h2> +<p> + Class implementing a sax handler to read an XML templates file. +</p> +<h3>Derived from</h3> +XMLHandlerBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#TemplatesHandler.__init__">TemplatesHandler</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#TemplatesHandler.endTemplate">endTemplate</a></td> +<td>Handler method for the "Template" end tag.</td> +</tr><tr> +<td><a href="#TemplatesHandler.endTemplateDescription">endTemplateDescription</a></td> +<td>Handler method for the "TemplateDescription" end tag.</td> +</tr><tr> +<td><a href="#TemplatesHandler.endTemplateText">endTemplateText</a></td> +<td>Handler method for the "TemplateText" end tag.</td> +</tr><tr> +<td><a href="#TemplatesHandler.getVersion">getVersion</a></td> +<td>Public method to retrieve the version of the templates.</td> +</tr><tr> +<td><a href="#TemplatesHandler.startDocumentTemplates">startDocumentTemplates</a></td> +<td>Handler called, when the document parsing is started.</td> +</tr><tr> +<td><a href="#TemplatesHandler.startTemplate">startTemplate</a></td> +<td>Handler method for the "Template" start tag.</td> +</tr><tr> +<td><a href="#TemplatesHandler.startTemplateGroup">startTemplateGroup</a></td> +<td>Handler method for the "TemplateGroup" start tag.</td> +</tr><tr> +<td><a href="#TemplatesHandler.startTemplates">startTemplates</a></td> +<td>Handler method for the "Templates" start tag.</td> +</tr> +</table> +<a NAME="TemplatesHandler.__init__" ID="TemplatesHandler.__init__"></a> +<h4>TemplatesHandler (Constructor)</h4> +<b>TemplatesHandler</b>(<i>templateViewer=None</i>) +<p> + Constructor +</p><dl> +<dt><i>templateViewer</i></dt> +<dd> +reference to the template viewer object +</dd> +</dl><a NAME="TemplatesHandler.endTemplate" ID="TemplatesHandler.endTemplate"></a> +<h4>TemplatesHandler.endTemplate</h4> +<b>endTemplate</b>(<i></i>) +<p> + Handler method for the "Template" end tag. +</p><a NAME="TemplatesHandler.endTemplateDescription" ID="TemplatesHandler.endTemplateDescription"></a> +<h4>TemplatesHandler.endTemplateDescription</h4> +<b>endTemplateDescription</b>(<i></i>) +<p> + Handler method for the "TemplateDescription" end tag. +</p><a NAME="TemplatesHandler.endTemplateText" ID="TemplatesHandler.endTemplateText"></a> +<h4>TemplatesHandler.endTemplateText</h4> +<b>endTemplateText</b>(<i></i>) +<p> + Handler method for the "TemplateText" end tag. +</p><a NAME="TemplatesHandler.getVersion" ID="TemplatesHandler.getVersion"></a> +<h4>TemplatesHandler.getVersion</h4> +<b>getVersion</b>(<i></i>) +<p> + Public method to retrieve the version of the templates. +</p><dl> +<dt>Returns:</dt> +<dd> +String containing the version number. +</dd> +</dl><a NAME="TemplatesHandler.startDocumentTemplates" ID="TemplatesHandler.startDocumentTemplates"></a> +<h4>TemplatesHandler.startDocumentTemplates</h4> +<b>startDocumentTemplates</b>(<i></i>) +<p> + Handler called, when the document parsing is started. +</p><a NAME="TemplatesHandler.startTemplate" ID="TemplatesHandler.startTemplate"></a> +<h4>TemplatesHandler.startTemplate</h4> +<b>startTemplate</b>(<i>attrs</i>) +<p> + Handler method for the "Template" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="TemplatesHandler.startTemplateGroup" ID="TemplatesHandler.startTemplateGroup"></a> +<h4>TemplatesHandler.startTemplateGroup</h4> +<b>startTemplateGroup</b>(<i>attrs</i>) +<p> + Handler method for the "TemplateGroup" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="TemplatesHandler.startTemplates" ID="TemplatesHandler.startTemplates"></a> +<h4>TemplatesHandler.startTemplates</h4> +<b>startTemplates</b>(<i>attrs</i>) +<p> + Handler method for the "Templates" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.TemplatesWriter.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.TemplatesWriter</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.TemplatesWriter</h1> +<p> +Module implementing the writer class for writing an XML templates file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#TemplatesWriter">TemplatesWriter</a></td> +<td>Class implementing the writer class for writing an XML templates file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="TemplatesWriter" ID="TemplatesWriter"></a> +<h2>TemplatesWriter</h2> +<p> + Class implementing the writer class for writing an XML templates file. +</p> +<h3>Derived from</h3> +XMLWriterBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#TemplatesWriter.__init__">TemplatesWriter</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#TemplatesWriter.writeXML">writeXML</a></td> +<td>Public method to write the XML to the file.</td> +</tr> +</table> +<a NAME="TemplatesWriter.__init__" ID="TemplatesWriter.__init__"></a> +<h4>TemplatesWriter (Constructor)</h4> +<b>TemplatesWriter</b>(<i>file, templatesViewer</i>) +<p> + Constructor +</p><dl> +<dt><i>file</i></dt> +<dd> +open file (like) object for writing +</dd> +</dl><a NAME="TemplatesWriter.writeXML" ID="TemplatesWriter.writeXML"></a> +<h4>TemplatesWriter.writeXML</h4> +<b>writeXML</b>(<i></i>) +<p> + Public method to write the XML to the file. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.UserProjectHandler.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.UserProjectHandler</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.UserProjectHandler</h1> +<p> +Module implementing the handler class for reading an XML user project properties file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#UserProjectHandler">UserProjectHandler</a></td> +<td>Class implementing a sax handler to read an XML user project properties file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="UserProjectHandler" ID="UserProjectHandler"></a> +<h2>UserProjectHandler</h2> +<p> + Class implementing a sax handler to read an XML user project properties file. +</p> +<h3>Derived from</h3> +XMLHandlerBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#UserProjectHandler.__init__">UserProjectHandler</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#UserProjectHandler.endVcsType">endVcsType</a></td> +<td>Handler method for the "VcsType" end tag.</td> +</tr><tr> +<td><a href="#UserProjectHandler.getVersion">getVersion</a></td> +<td>Public method to retrieve the version of the user project file.</td> +</tr><tr> +<td><a href="#UserProjectHandler.startDocumentProject">startDocumentProject</a></td> +<td>Handler called, when the document parsing is started.</td> +</tr><tr> +<td><a href="#UserProjectHandler.startUserProject">startUserProject</a></td> +<td>Handler method for the "UserProject" start tag.</td> +</tr><tr> +<td><a href="#UserProjectHandler.startVcsStatusMonitorInterval">startVcsStatusMonitorInterval</a></td> +<td>Handler method for the "VcsStatusMonitorInterval" start tag.</td> +</tr> +</table> +<a NAME="UserProjectHandler.__init__" ID="UserProjectHandler.__init__"></a> +<h4>UserProjectHandler (Constructor)</h4> +<b>UserProjectHandler</b>(<i>project</i>) +<p> + Constructor +</p><dl> +<dt><i>project</i></dt> +<dd> +Reference to the project object to store the + information into. +</dd> +</dl><a NAME="UserProjectHandler.endVcsType" ID="UserProjectHandler.endVcsType"></a> +<h4>UserProjectHandler.endVcsType</h4> +<b>endVcsType</b>(<i></i>) +<p> + Handler method for the "VcsType" end tag. +</p><a NAME="UserProjectHandler.getVersion" ID="UserProjectHandler.getVersion"></a> +<h4>UserProjectHandler.getVersion</h4> +<b>getVersion</b>(<i></i>) +<p> + Public method to retrieve the version of the user project file. +</p><dl> +<dt>Returns:</dt> +<dd> +String containing the version number. +</dd> +</dl><a NAME="UserProjectHandler.startDocumentProject" ID="UserProjectHandler.startDocumentProject"></a> +<h4>UserProjectHandler.startDocumentProject</h4> +<b>startDocumentProject</b>(<i></i>) +<p> + Handler called, when the document parsing is started. +</p><a NAME="UserProjectHandler.startUserProject" ID="UserProjectHandler.startUserProject"></a> +<h4>UserProjectHandler.startUserProject</h4> +<b>startUserProject</b>(<i>attrs</i>) +<p> + Handler method for the "UserProject" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="UserProjectHandler.startVcsStatusMonitorInterval" ID="UserProjectHandler.startVcsStatusMonitorInterval"></a> +<h4>UserProjectHandler.startVcsStatusMonitorInterval</h4> +<b>startVcsStatusMonitorInterval</b>(<i>attrs</i>) +<p> + Handler method for the "VcsStatusMonitorInterval" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.UserProjectWriter.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.UserProjectWriter</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.UserProjectWriter</h1> +<p> +Module implementing the writer class for writing an XML user project properties file. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#UserProjectWriter">UserProjectWriter</a></td> +<td>Class implementing the writer class for writing an XML user project properties file.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="UserProjectWriter" ID="UserProjectWriter"></a> +<h2>UserProjectWriter</h2> +<p> + Class implementing the writer class for writing an XML user project properties file. +</p> +<h3>Derived from</h3> +XMLWriterBase +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#UserProjectWriter.__init__">UserProjectWriter</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#UserProjectWriter.writeXML">writeXML</a></td> +<td>Public method to write the XML to the file.</td> +</tr> +</table> +<a NAME="UserProjectWriter.__init__" ID="UserProjectWriter.__init__"></a> +<h4>UserProjectWriter (Constructor)</h4> +<b>UserProjectWriter</b>(<i>file, projectName</i>) +<p> + Constructor +</p><dl> +<dt><i>file</i></dt> +<dd> +open file (like) object for writing +</dd><dt><i>projectName</i></dt> +<dd> +name of the project (string) +</dd> +</dl><a NAME="UserProjectWriter.writeXML" ID="UserProjectWriter.writeXML"></a> +<h4>UserProjectWriter.writeXML</h4> +<b>writeXML</b>(<i></i>) +<p> + Public method to write the XML to the file. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.XMLEntityResolver.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,83 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.XMLEntityResolver</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.XMLEntityResolver</h1> +<p> +Module implementing a specialized entity resolver to find our DTDs. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#XMLEntityResolver">XMLEntityResolver</a></td> +<td>Class implementing a specialized entity resolver to find our DTDs.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="XMLEntityResolver" ID="XMLEntityResolver"></a> +<h2>XMLEntityResolver</h2> +<p> + Class implementing a specialized entity resolver to find our DTDs. +</p> +<h3>Derived from</h3> +EntityResolver +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#XMLEntityResolver.resolveEntity">resolveEntity</a></td> +<td>Public method to resolve the system identifier of an entity and return either the system identifier to read from as a string.</td> +</tr> +</table> +<a NAME="XMLEntityResolver.resolveEntity" ID="XMLEntityResolver.resolveEntity"></a> +<h4>XMLEntityResolver.resolveEntity</h4> +<b>resolveEntity</b>(<i>publicId, systemId</i>) +<p> + Public method to resolve the system identifier of an entity and + return either the system identifier to read from as a string. +</p><dl> +<dt><i>publicId</i></dt> +<dd> +publicId of an entity (string) +</dd><dt><i>systemId</i></dt> +<dd> +systemId of an entity to reslove (string) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +resolved systemId (string) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.XMLErrorHandler.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,177 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.XMLErrorHandler</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.XMLErrorHandler</h1> +<p> +Module implementing an error handler class. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#XMLErrorHandler">XMLErrorHandler</a></td> +<td>Class implementing an error handler class.</td> +</tr><tr> +<td><a href="#XMLFatalParseError">XMLFatalParseError</a></td> +<td>Class implementing an exception for recoverable parse errors.</td> +</tr><tr> +<td><a href="#XMLParseError">XMLParseError</a></td> +<td>Class implementing an exception for recoverable parse errors.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="XMLErrorHandler" ID="XMLErrorHandler"></a> +<h2>XMLErrorHandler</h2> +<p> + Class implementing an error handler class. +</p> +<h3>Derived from</h3> +ErrorHandler +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#XMLErrorHandler.__init__">XMLErrorHandler</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#XMLErrorHandler.error">error</a></td> +<td>Public method to handle a recoverable error.</td> +</tr><tr> +<td><a href="#XMLErrorHandler.fatalError">fatalError</a></td> +<td>Public method to handle a non-recoverable error.</td> +</tr><tr> +<td><a href="#XMLErrorHandler.getParseMessages">getParseMessages</a></td> +<td>Public method to retrieve all messages.</td> +</tr><tr> +<td><a href="#XMLErrorHandler.showParseMessages">showParseMessages</a></td> +<td>Public method to show the parse messages (if any) in a dialog.</td> +</tr><tr> +<td><a href="#XMLErrorHandler.warning">warning</a></td> +<td>Public method to handle a warning.</td> +</tr> +</table> +<a NAME="XMLErrorHandler.__init__" ID="XMLErrorHandler.__init__"></a> +<h4>XMLErrorHandler (Constructor)</h4> +<b>XMLErrorHandler</b>(<i></i>) +<p> + Constructor +</p><a NAME="XMLErrorHandler.error" ID="XMLErrorHandler.error"></a> +<h4>XMLErrorHandler.error</h4> +<b>error</b>(<i>exception</i>) +<p> + Public method to handle a recoverable error. +</p><dl> +<dt><i>exception</i></dt> +<dd> +Exception object describing the error (SAXParseException) +</dd> +</dl><a NAME="XMLErrorHandler.fatalError" ID="XMLErrorHandler.fatalError"></a> +<h4>XMLErrorHandler.fatalError</h4> +<b>fatalError</b>(<i>exception</i>) +<p> + Public method to handle a non-recoverable error. +</p><dl> +<dt><i>exception</i></dt> +<dd> +Exception object describing the error (SAXParseException) +</dd> +</dl><dl> +<dt>Raises <b>XMLFatalParseError</b>:</dt> +<dd> +a fatal parse error has occured +</dd> +</dl><a NAME="XMLErrorHandler.getParseMessages" ID="XMLErrorHandler.getParseMessages"></a> +<h4>XMLErrorHandler.getParseMessages</h4> +<b>getParseMessages</b>(<i></i>) +<p> + Public method to retrieve all messages. +</p><dl> +<dt>Returns:</dt> +<dd> +list of tuples of (message type, system id, line no, column no, + message) +</dd> +</dl><a NAME="XMLErrorHandler.showParseMessages" ID="XMLErrorHandler.showParseMessages"></a> +<h4>XMLErrorHandler.showParseMessages</h4> +<b>showParseMessages</b>(<i></i>) +<p> + Public method to show the parse messages (if any) in a dialog. +</p><a NAME="XMLErrorHandler.warning" ID="XMLErrorHandler.warning"></a> +<h4>XMLErrorHandler.warning</h4> +<b>warning</b>(<i>exception</i>) +<p> + Public method to handle a warning. +</p><dl> +<dt><i>exception</i></dt> +<dd> +Exception object describing the error (SAXParseException) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="XMLFatalParseError" ID="XMLFatalParseError"></a> +<h2>XMLFatalParseError</h2> +<p> + Class implementing an exception for recoverable parse errors. +</p> +<h3>Derived from</h3> +XMLParseError +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr><td>None</td></tr> +</table> + +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="XMLParseError" ID="XMLParseError"></a> +<h2>XMLParseError</h2> +<p> + Class implementing an exception for recoverable parse errors. +</p> +<h3>Derived from</h3> +Exception +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr><td>None</td></tr> +</table> + +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.XMLHandlerBase.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,367 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.XMLHandlerBase</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.XMLHandlerBase</h1> +<p> +Module implementing a base class for all of eric5s XML handlers. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#XMLHandlerBase">XMLHandlerBase</a></td> +<td>Class implementing the base class for al of eric5s XML handlers.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="XMLHandlerBase" ID="XMLHandlerBase"></a> +<h2>XMLHandlerBase</h2> +<p> + Class implementing the base class for al of eric5s XML handlers. +</p> +<h3>Derived from</h3> +ContentHandler +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#XMLHandlerBase.__init__">XMLHandlerBase</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#XMLHandlerBase._prepareBasics">_prepareBasics</a></td> +<td>Protected method to prepare the parsing of XML for basic python types.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.characters">characters</a></td> +<td>Handler called for ordinary text.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.decodedNewLines">decodedNewLines</a></td> +<td>Public method to decode newlines and paragraph breaks.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.defaultEndElement">defaultEndElement</a></td> +<td>Handler method for the common end tags.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.defaultStartElement">defaultStartElement</a></td> +<td>Handler method for common start tags.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.endBool">endBool</a></td> +<td>Handler method for the "bool" end tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.endBytearray">endBytearray</a></td> +<td>Handler method for the "bytearray" end tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.endBytes">endBytes</a></td> +<td>Handler method for the "bytes" end tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.endComplex">endComplex</a></td> +<td>Handler method for the "complex" end tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.endDictionary">endDictionary</a></td> +<td>Handler method for the "dictionary" end tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.endElement">endElement</a></td> +<td>Handler called, when an ending tag is found.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.endFloat">endFloat</a></td> +<td>Handler method for the "float" end tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.endFrozenset">endFrozenset</a></td> +<td>Handler method for the "frozenset" end tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.endInt">endInt</a></td> +<td>Handler method for the "int" end tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.endList">endList</a></td> +<td>Handler method for the "list" end tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.endNone">endNone</a></td> +<td>Handler method for the "none" end tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.endPickle">endPickle</a></td> +<td>Handler method for the "pickle" end tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.endSet">endSet</a></td> +<td>Handler method for the "set" end tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.endString">endString</a></td> +<td>Handler method for the "string" end tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.endTuple">endTuple</a></td> +<td>Handler method for the "tuple" end tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.startDictionary">startDictionary</a></td> +<td>Handler method for the "dictionary" start tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.startDocument">startDocument</a></td> +<td>Handler called, when the document parsing is started.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.startElement">startElement</a></td> +<td>Handler called, when a starting tag is found.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.startFrozenset">startFrozenset</a></td> +<td>Handler method for the "frozenset" start tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.startList">startList</a></td> +<td>Handler method for the "list" start tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.startPickle">startPickle</a></td> +<td>Handler method for the "pickle" start tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.startSet">startSet</a></td> +<td>Handler method for the "set" start tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.startTuple">startTuple</a></td> +<td>Handler method for the "tuple" start tag.</td> +</tr><tr> +<td><a href="#XMLHandlerBase.unescape">unescape</a></td> +<td>Public method used to unescape certain characters.</td> +</tr> +</table> +<a NAME="XMLHandlerBase.__init__" ID="XMLHandlerBase.__init__"></a> +<h4>XMLHandlerBase (Constructor)</h4> +<b>XMLHandlerBase</b>(<i></i>) +<p> + Constructor +</p><a NAME="XMLHandlerBase._prepareBasics" ID="XMLHandlerBase._prepareBasics"></a> +<h4>XMLHandlerBase._prepareBasics</h4> +<b>_prepareBasics</b>(<i></i>) +<p> + Protected method to prepare the parsing of XML for basic python types. +</p><a NAME="XMLHandlerBase.characters" ID="XMLHandlerBase.characters"></a> +<h4>XMLHandlerBase.characters</h4> +<b>characters</b>(<i>chars</i>) +<p> + Handler called for ordinary text. +</p><dl> +<dt><i>chars</i></dt> +<dd> +the scanned text (string) +</dd> +</dl><a NAME="XMLHandlerBase.decodedNewLines" ID="XMLHandlerBase.decodedNewLines"></a> +<h4>XMLHandlerBase.decodedNewLines</h4> +<b>decodedNewLines</b>(<i>text</i>) +<p> + Public method to decode newlines and paragraph breaks. +</p><dl> +<dt><i>text</i></dt> +<dd> +text to decode (string or QString) +</dd> +</dl><a NAME="XMLHandlerBase.defaultEndElement" ID="XMLHandlerBase.defaultEndElement"></a> +<h4>XMLHandlerBase.defaultEndElement</h4> +<b>defaultEndElement</b>(<i></i>) +<p> + Handler method for the common end tags. +</p><a NAME="XMLHandlerBase.defaultStartElement" ID="XMLHandlerBase.defaultStartElement"></a> +<h4>XMLHandlerBase.defaultStartElement</h4> +<b>defaultStartElement</b>(<i>attrs</i>) +<p> + Handler method for common start tags. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="XMLHandlerBase.endBool" ID="XMLHandlerBase.endBool"></a> +<h4>XMLHandlerBase.endBool</h4> +<b>endBool</b>(<i></i>) +<p> + Handler method for the "bool" end tag. +</p><a NAME="XMLHandlerBase.endBytearray" ID="XMLHandlerBase.endBytearray"></a> +<h4>XMLHandlerBase.endBytearray</h4> +<b>endBytearray</b>(<i></i>) +<p> + Handler method for the "bytearray" end tag. +</p><a NAME="XMLHandlerBase.endBytes" ID="XMLHandlerBase.endBytes"></a> +<h4>XMLHandlerBase.endBytes</h4> +<b>endBytes</b>(<i></i>) +<p> + Handler method for the "bytes" end tag. +</p><a NAME="XMLHandlerBase.endComplex" ID="XMLHandlerBase.endComplex"></a> +<h4>XMLHandlerBase.endComplex</h4> +<b>endComplex</b>(<i></i>) +<p> + Handler method for the "complex" end tag. +</p><a NAME="XMLHandlerBase.endDictionary" ID="XMLHandlerBase.endDictionary"></a> +<h4>XMLHandlerBase.endDictionary</h4> +<b>endDictionary</b>(<i></i>) +<p> + Handler method for the "dictionary" end tag. +</p><a NAME="XMLHandlerBase.endElement" ID="XMLHandlerBase.endElement"></a> +<h4>XMLHandlerBase.endElement</h4> +<b>endElement</b>(<i>name</i>) +<p> + Handler called, when an ending tag is found. +</p><dl> +<dt><i>name</i></dt> +<dd> +name of the tag (string) +</dd> +</dl><a NAME="XMLHandlerBase.endFloat" ID="XMLHandlerBase.endFloat"></a> +<h4>XMLHandlerBase.endFloat</h4> +<b>endFloat</b>(<i></i>) +<p> + Handler method for the "float" end tag. +</p><a NAME="XMLHandlerBase.endFrozenset" ID="XMLHandlerBase.endFrozenset"></a> +<h4>XMLHandlerBase.endFrozenset</h4> +<b>endFrozenset</b>(<i></i>) +<p> + Handler method for the "frozenset" end tag. +</p><a NAME="XMLHandlerBase.endInt" ID="XMLHandlerBase.endInt"></a> +<h4>XMLHandlerBase.endInt</h4> +<b>endInt</b>(<i></i>) +<p> + Handler method for the "int" end tag. +</p><a NAME="XMLHandlerBase.endList" ID="XMLHandlerBase.endList"></a> +<h4>XMLHandlerBase.endList</h4> +<b>endList</b>(<i></i>) +<p> + Handler method for the "list" end tag. +</p><a NAME="XMLHandlerBase.endNone" ID="XMLHandlerBase.endNone"></a> +<h4>XMLHandlerBase.endNone</h4> +<b>endNone</b>(<i></i>) +<p> + Handler method for the "none" end tag. +</p><a NAME="XMLHandlerBase.endPickle" ID="XMLHandlerBase.endPickle"></a> +<h4>XMLHandlerBase.endPickle</h4> +<b>endPickle</b>(<i></i>) +<p> + Handler method for the "pickle" end tag. +</p><a NAME="XMLHandlerBase.endSet" ID="XMLHandlerBase.endSet"></a> +<h4>XMLHandlerBase.endSet</h4> +<b>endSet</b>(<i></i>) +<p> + Handler method for the "set" end tag. +</p><a NAME="XMLHandlerBase.endString" ID="XMLHandlerBase.endString"></a> +<h4>XMLHandlerBase.endString</h4> +<b>endString</b>(<i></i>) +<p> + Handler method for the "string" end tag. +</p><a NAME="XMLHandlerBase.endTuple" ID="XMLHandlerBase.endTuple"></a> +<h4>XMLHandlerBase.endTuple</h4> +<b>endTuple</b>(<i></i>) +<p> + Handler method for the "tuple" end tag. +</p><a NAME="XMLHandlerBase.startDictionary" ID="XMLHandlerBase.startDictionary"></a> +<h4>XMLHandlerBase.startDictionary</h4> +<b>startDictionary</b>(<i>attrs</i>) +<p> + Handler method for the "dictionary" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="XMLHandlerBase.startDocument" ID="XMLHandlerBase.startDocument"></a> +<h4>XMLHandlerBase.startDocument</h4> +<b>startDocument</b>(<i></i>) +<p> + Handler called, when the document parsing is started. +</p><a NAME="XMLHandlerBase.startElement" ID="XMLHandlerBase.startElement"></a> +<h4>XMLHandlerBase.startElement</h4> +<b>startElement</b>(<i>name, attrs</i>) +<p> + Handler called, when a starting tag is found. +</p><dl> +<dt><i>name</i></dt> +<dd> +name of the tag (string) +</dd><dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="XMLHandlerBase.startFrozenset" ID="XMLHandlerBase.startFrozenset"></a> +<h4>XMLHandlerBase.startFrozenset</h4> +<b>startFrozenset</b>(<i>attrs</i>) +<p> + Handler method for the "frozenset" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="XMLHandlerBase.startList" ID="XMLHandlerBase.startList"></a> +<h4>XMLHandlerBase.startList</h4> +<b>startList</b>(<i>attrs</i>) +<p> + Handler method for the "list" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="XMLHandlerBase.startPickle" ID="XMLHandlerBase.startPickle"></a> +<h4>XMLHandlerBase.startPickle</h4> +<b>startPickle</b>(<i>attrs</i>) +<p> + Handler method for the "pickle" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="XMLHandlerBase.startSet" ID="XMLHandlerBase.startSet"></a> +<h4>XMLHandlerBase.startSet</h4> +<b>startSet</b>(<i>attrs</i>) +<p> + Handler method for the "set" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="XMLHandlerBase.startTuple" ID="XMLHandlerBase.startTuple"></a> +<h4>XMLHandlerBase.startTuple</h4> +<b>startTuple</b>(<i>attrs</i>) +<p> + Handler method for the "tuple" start tag. +</p><dl> +<dt><i>attrs</i></dt> +<dd> +list of tag attributes +</dd> +</dl><a NAME="XMLHandlerBase.unescape" ID="XMLHandlerBase.unescape"></a> +<h4>XMLHandlerBase.unescape</h4> +<b>unescape</b>(<i>text, attribute = False</i>) +<p> + Public method used to unescape certain characters. +</p><dl> +<dt><i>text</i></dt> +<dd> +the text to unescape (string) +</dd><dt><i>attribute</i></dt> +<dd> +flag indicating unescaping is done for an attribute +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.XMLMessageDialog.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,94 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.XMLMessageDialog</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.XMLMessageDialog</h1> +<p> +Module implementing a dialog to display XML parse messages. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#XMLMessageDialog">XMLMessageDialog</a></td> +<td>Class implementing a dialog to display XML parse messages.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="XMLMessageDialog" ID="XMLMessageDialog"></a> +<h2>XMLMessageDialog</h2> +<p> + Class implementing a dialog to display XML parse messages. +</p> +<h3>Derived from</h3> +QDialog, Ui_XMLMessageDialog +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#XMLMessageDialog.__init__">XMLMessageDialog</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#XMLMessageDialog.__appendText">__appendText</a></td> +<td>Private method to append text to the end of the messages pane.</td> +</tr> +</table> +<a NAME="XMLMessageDialog.__init__" ID="XMLMessageDialog.__init__"></a> +<h4>XMLMessageDialog (Constructor)</h4> +<b>XMLMessageDialog</b>(<i>msgs, parent = None</i>) +<p> + Constructor +</p><dl> +<dt><i>msgs</i></dt> +<dd> +list of tuples of (message type, system id, + line no, column no, message) +</dd><dt><i>parent</i></dt> +<dd> +parent object of the dialog (QWidget) +</dd> +</dl><a NAME="XMLMessageDialog.__appendText" ID="XMLMessageDialog.__appendText"></a> +<h4>XMLMessageDialog.__appendText</h4> +<b>__appendText</b>(<i>txt, color</i>) +<p> + Private method to append text to the end of the messages pane. +</p><dl> +<dt><i>txt</i></dt> +<dd> +text to insert (QString) +</dd><dt><i>color</i></dt> +<dd> +text color to be used (QColor) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.XMLUtilities.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.XMLUtilities</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.XMLUtilities</h1> +<p> +Module implementing various XML utility functions. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> +<table> +<tr> +<td><a href="#make_parser">make_parser</a></td> +<td>Function to generate an XML parser.</td> +</tr> +</table> +<hr /><hr /> +<a NAME="make_parser" ID="make_parser"></a> +<h2>make_parser</h2> +<b>make_parser</b>(<i>validating</i>) +<p> + Function to generate an XML parser. +</p><p> + First it will be tried to generate a validating parser. If + this attempt fails, a non validating parser is tried next. +</p><dl> +<dt><i>validating</i></dt> +<dd> +flag indicating a validating parser is requested +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +XML parser object +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.E5XML.XMLWriterBase.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,372 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML.XMLWriterBase</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.E5XML.XMLWriterBase</h1> +<p> +Module implementing a base class for all of eric5s XML writers. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#XMLWriterBase">XMLWriterBase</a></td> +<td>Class implementing a base class for all of eric5s XML writers.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="XMLWriterBase" ID="XMLWriterBase"></a> +<h2>XMLWriterBase</h2> +<p> + Class implementing a base class for all of eric5s XML writers. +</p> +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#XMLWriterBase.__init__">XMLWriterBase</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#XMLWriterBase._write">_write</a></td> +<td>Protected method used to do the real write operation.</td> +</tr><tr> +<td><a href="#XMLWriterBase._writeBasics">_writeBasics</a></td> +<td>Protected method to dump an object of a basic Python type.</td> +</tr><tr> +<td><a href="#XMLWriterBase._write_bool">_write_bool</a></td> +<td>Protected method to dump a bool object.</td> +</tr><tr> +<td><a href="#XMLWriterBase._write_bytearray">_write_bytearray</a></td> +<td>Protected method to dump a bytearray object.</td> +</tr><tr> +<td><a href="#XMLWriterBase._write_bytes">_write_bytes</a></td> +<td>Protected method to dump a bytes object.</td> +</tr><tr> +<td><a href="#XMLWriterBase._write_complex">_write_complex</a></td> +<td>Protected method to dump a complex object.</td> +</tr><tr> +<td><a href="#XMLWriterBase._write_dictionary">_write_dictionary</a></td> +<td>Protected method to dump a dict object.</td> +</tr><tr> +<td><a href="#XMLWriterBase._write_float">_write_float</a></td> +<td>Protected method to dump a float object.</td> +</tr><tr> +<td><a href="#XMLWriterBase._write_frozenset">_write_frozenset</a></td> +<td>Protected method to dump a frozenset object.</td> +</tr><tr> +<td><a href="#XMLWriterBase._write_int">_write_int</a></td> +<td>Protected method to dump an int object.</td> +</tr><tr> +<td><a href="#XMLWriterBase._write_list">_write_list</a></td> +<td>Protected method to dump a list object.</td> +</tr><tr> +<td><a href="#XMLWriterBase._write_none">_write_none</a></td> +<td>Protected method to dump a NoneType object.</td> +</tr><tr> +<td><a href="#XMLWriterBase._write_set">_write_set</a></td> +<td>Protected method to dump a set object.</td> +</tr><tr> +<td><a href="#XMLWriterBase._write_string">_write_string</a></td> +<td>Protected method to dump a str object.</td> +</tr><tr> +<td><a href="#XMLWriterBase._write_tuple">_write_tuple</a></td> +<td>Protected method to dump a tuple object.</td> +</tr><tr> +<td><a href="#XMLWriterBase._write_unimplemented">_write_unimplemented</a></td> +<td>Protected method to dump a type, that has no special method.</td> +</tr><tr> +<td><a href="#XMLWriterBase.encodedNewLines">encodedNewLines</a></td> +<td>Public method to encode newlines and paragraph breaks.</td> +</tr><tr> +<td><a href="#XMLWriterBase.escape">escape</a></td> +<td>Function to escape &, <, and > in a string of data.</td> +</tr><tr> +<td><a href="#XMLWriterBase.writeXML">writeXML</a></td> +<td>Public method to write the XML to the file.</td> +</tr> +</table> +<a NAME="XMLWriterBase.__init__" ID="XMLWriterBase.__init__"></a> +<h4>XMLWriterBase (Constructor)</h4> +<b>XMLWriterBase</b>(<i>file</i>) +<p> + Constructor +</p><dl> +<dt><i>file</i></dt> +<dd> +open file (like) object for writing +</dd> +</dl><a NAME="XMLWriterBase._write" ID="XMLWriterBase._write"></a> +<h4>XMLWriterBase._write</h4> +<b>_write</b>(<i>s, newline = True</i>) +<p> + Protected method used to do the real write operation. +</p><dl> +<dt><i>s</i></dt> +<dd> +string to be written to the XML file +</dd><dt><i>newline</i></dt> +<dd> +flag indicating a linebreak +</dd> +</dl><a NAME="XMLWriterBase._writeBasics" ID="XMLWriterBase._writeBasics"></a> +<h4>XMLWriterBase._writeBasics</h4> +<b>_writeBasics</b>(<i>pyobject, indent = 0</i>) +<p> + Protected method to dump an object of a basic Python type. +</p><dl> +<dt><i>pyobject</i></dt> +<dd> +object to be dumped +</dd><dt><i>indent</i></dt> +<dd> +indentation level for prettier output (integer) +</dd> +</dl><a NAME="XMLWriterBase._write_bool" ID="XMLWriterBase._write_bool"></a> +<h4>XMLWriterBase._write_bool</h4> +<b>_write_bool</b>(<i>value, indent</i>) +<p> + Protected method to dump a bool object. +</p><dl> +<dt><i>value</i></dt> +<dd> +value to be dumped (boolean) +</dd><dt><i>indent</i></dt> +<dd> +indentation level for prettier output (integer) +</dd> +</dl><a NAME="XMLWriterBase._write_bytearray" ID="XMLWriterBase._write_bytearray"></a> +<h4>XMLWriterBase._write_bytearray</h4> +<b>_write_bytearray</b>(<i>value, indent</i>) +<p> + Protected method to dump a bytearray object. +</p><dl> +<dt><i>value</i></dt> +<dd> +value to be dumped (bytearray) +</dd><dt><i>indent</i></dt> +<dd> +indentation level for prettier output (integer) +</dd> +</dl><a NAME="XMLWriterBase._write_bytes" ID="XMLWriterBase._write_bytes"></a> +<h4>XMLWriterBase._write_bytes</h4> +<b>_write_bytes</b>(<i>value, indent</i>) +<p> + Protected method to dump a bytes object. +</p><dl> +<dt><i>value</i></dt> +<dd> +value to be dumped (bytes) +</dd><dt><i>indent</i></dt> +<dd> +indentation level for prettier output (integer) +</dd> +</dl><a NAME="XMLWriterBase._write_complex" ID="XMLWriterBase._write_complex"></a> +<h4>XMLWriterBase._write_complex</h4> +<b>_write_complex</b>(<i>value, indent</i>) +<p> + Protected method to dump a complex object. +</p><dl> +<dt><i>value</i></dt> +<dd> +value to be dumped (complex) +</dd><dt><i>indent</i></dt> +<dd> +indentation level for prettier output (integer) +</dd> +</dl><a NAME="XMLWriterBase._write_dictionary" ID="XMLWriterBase._write_dictionary"></a> +<h4>XMLWriterBase._write_dictionary</h4> +<b>_write_dictionary</b>(<i>value, indent</i>) +<p> + Protected method to dump a dict object. +</p><dl> +<dt><i>value</i></dt> +<dd> +value to be dumped (dictionary) +</dd><dt><i>indent</i></dt> +<dd> +indentation level for prettier output (integer) +</dd> +</dl><a NAME="XMLWriterBase._write_float" ID="XMLWriterBase._write_float"></a> +<h4>XMLWriterBase._write_float</h4> +<b>_write_float</b>(<i>value, indent</i>) +<p> + Protected method to dump a float object. +</p><dl> +<dt><i>value</i></dt> +<dd> +value to be dumped (float) +</dd><dt><i>indent</i></dt> +<dd> +indentation level for prettier output (integer) +</dd> +</dl><a NAME="XMLWriterBase._write_frozenset" ID="XMLWriterBase._write_frozenset"></a> +<h4>XMLWriterBase._write_frozenset</h4> +<b>_write_frozenset</b>(<i>value, indent</i>) +<p> + Protected method to dump a frozenset object. +</p><dl> +<dt><i>value</i></dt> +<dd> +value to be dumped (frozenset) +</dd><dt><i>indent</i></dt> +<dd> +indentation level for prettier output (integer) +</dd> +</dl><a NAME="XMLWriterBase._write_int" ID="XMLWriterBase._write_int"></a> +<h4>XMLWriterBase._write_int</h4> +<b>_write_int</b>(<i>value, indent</i>) +<p> + Protected method to dump an int object. +</p><dl> +<dt><i>value</i></dt> +<dd> +value to be dumped (integer) +</dd><dt><i>indent</i></dt> +<dd> +indentation level for prettier output (integer) +</dd> +</dl><a NAME="XMLWriterBase._write_list" ID="XMLWriterBase._write_list"></a> +<h4>XMLWriterBase._write_list</h4> +<b>_write_list</b>(<i>value, indent</i>) +<p> + Protected method to dump a list object. +</p><dl> +<dt><i>value</i></dt> +<dd> +value to be dumped (list) +</dd><dt><i>indent</i></dt> +<dd> +indentation level for prettier output (integer) +</dd> +</dl><a NAME="XMLWriterBase._write_none" ID="XMLWriterBase._write_none"></a> +<h4>XMLWriterBase._write_none</h4> +<b>_write_none</b>(<i>value, indent</i>) +<p> + Protected method to dump a NoneType object. +</p><dl> +<dt><i>value</i></dt> +<dd> +value to be dumped (None) (ignored) +</dd><dt><i>indent</i></dt> +<dd> +indentation level for prettier output (integer) +</dd> +</dl><a NAME="XMLWriterBase._write_set" ID="XMLWriterBase._write_set"></a> +<h4>XMLWriterBase._write_set</h4> +<b>_write_set</b>(<i>value, indent</i>) +<p> + Protected method to dump a set object. +</p><dl> +<dt><i>value</i></dt> +<dd> +value to be dumped (set) +</dd><dt><i>indent</i></dt> +<dd> +indentation level for prettier output (integer) +</dd> +</dl><a NAME="XMLWriterBase._write_string" ID="XMLWriterBase._write_string"></a> +<h4>XMLWriterBase._write_string</h4> +<b>_write_string</b>(<i>value, indent</i>) +<p> + Protected method to dump a str object. +</p><dl> +<dt><i>value</i></dt> +<dd> +value to be dumped (string) +</dd><dt><i>indent</i></dt> +<dd> +indentation level for prettier output (integer) +</dd> +</dl><a NAME="XMLWriterBase._write_tuple" ID="XMLWriterBase._write_tuple"></a> +<h4>XMLWriterBase._write_tuple</h4> +<b>_write_tuple</b>(<i>value, indent</i>) +<p> + Protected method to dump a tuple object. +</p><dl> +<dt><i>value</i></dt> +<dd> +value to be dumped (tuple) +</dd><dt><i>indent</i></dt> +<dd> +indentation level for prettier output (integer) +</dd> +</dl><a NAME="XMLWriterBase._write_unimplemented" ID="XMLWriterBase._write_unimplemented"></a> +<h4>XMLWriterBase._write_unimplemented</h4> +<b>_write_unimplemented</b>(<i>value, indent</i>) +<p> + Protected method to dump a type, that has no special method. +</p><dl> +<dt><i>value</i></dt> +<dd> +value to be dumped (any pickleable object) +</dd><dt><i>indent</i></dt> +<dd> +indentation level for prettier output (integer) +</dd> +</dl><a NAME="XMLWriterBase.encodedNewLines" ID="XMLWriterBase.encodedNewLines"></a> +<h4>XMLWriterBase.encodedNewLines</h4> +<b>encodedNewLines</b>(<i>text</i>) +<p> + Public method to encode newlines and paragraph breaks. +</p><dl> +<dt><i>text</i></dt> +<dd> +text to encode (string or QString) +</dd> +</dl><a NAME="XMLWriterBase.escape" ID="XMLWriterBase.escape"></a> +<h4>XMLWriterBase.escape</h4> +<b>escape</b>(<i>data, attribute=False</i>) +<p> + Function to escape &, <, and > in a string of data. +</p><dl> +<dt><i>data</i></dt> +<dd> +data to be escaped (string) +</dd><dt><i>attribute</i></dt> +<dd> +flag indicating escaping is done for an attribute +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +the escaped data (string) +</dd> +</dl><a NAME="XMLWriterBase.writeXML" ID="XMLWriterBase.writeXML"></a> +<h4>XMLWriterBase.writeXML</h4> +<b>writeXML</b>(<i></i>) +<p> + Public method to write the XML to the file. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- a/Documentation/Source/index-eric5.E4XML.html Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,125 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4XML</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body> -<h1>eric5.E4XML</h1> -<p> -Package implementing the XML handling module of eric5. -</p><p> -This module includes XML handlers and writers for -<ul> - <li>Project files</li> - <li>User project data files</li> - <li>Multi-project files</li> - <li>Session files</li> - <li>Shortcuts files</li> - <li>Debugger Properties files</li> - <li>Tasks files</li> - <li>Templates files</li> - <li>Highlighting styles</li> - <li>Plugiin repository (handler only)</li> -</ul> -</p> - - -<h3>Modules</h3> -<table> -<tr> -<td><a href="eric5.E4XML.Config.html">Config</a></td> -<td>Module implementing some common configuration stuf for the XML package.</td> -</tr><tr> -<td><a href="eric5.E4XML.DebuggerPropertiesHandler.html">DebuggerPropertiesHandler</a></td> -<td>Module implementing the handler class for reading an XML project debugger properties file.</td> -</tr><tr> -<td><a href="eric5.E4XML.DebuggerPropertiesWriter.html">DebuggerPropertiesWriter</a></td> -<td>Module implementing the writer class for writing an XML project debugger properties file.</td> -</tr><tr> -<td><a href="eric5.E4XML.HighlightingStylesHandler.html">HighlightingStylesHandler</a></td> -<td>Module implementing the handler class for handling a highlighting styles XML file.</td> -</tr><tr> -<td><a href="eric5.E4XML.HighlightingStylesWriter.html">HighlightingStylesWriter</a></td> -<td>Module implementing the writer class for writing a highlighting styles XML file.</td> -</tr><tr> -<td><a href="eric5.E4XML.MultiProjectHandler.html">MultiProjectHandler</a></td> -<td>Module implementing the handler class for reading an XML multi project file.</td> -</tr><tr> -<td><a href="eric5.E4XML.MultiProjectWriter.html">MultiProjectWriter</a></td> -<td>Module implementing the writer class for writing an XML multi project file.</td> -</tr><tr> -<td><a href="eric5.E4XML.PluginRepositoryHandler.html">PluginRepositoryHandler</a></td> -<td>Module implementing the handler class for reading an XML tasks file.</td> -</tr><tr> -<td><a href="eric5.E4XML.ProjectHandler.html">ProjectHandler</a></td> -<td>Module implementing the handler class for reading an XML project file.</td> -</tr><tr> -<td><a href="eric5.E4XML.ProjectWriter.html">ProjectWriter</a></td> -<td>Module implementing the writer class for writing an XML project file.</td> -</tr><tr> -<td><a href="eric5.E4XML.SessionHandler.html">SessionHandler</a></td> -<td>Module implementing the handler class for reading an XML project session file.</td> -</tr><tr> -<td><a href="eric5.E4XML.SessionWriter.html">SessionWriter</a></td> -<td>Module implementing the writer class for writing an XML project session file.</td> -</tr><tr> -<td><a href="eric5.E4XML.ShortcutsHandler.html">ShortcutsHandler</a></td> -<td>Module implementing the handler class for reading a keyboard shortcuts file.</td> -</tr><tr> -<td><a href="eric5.E4XML.ShortcutsWriter.html">ShortcutsWriter</a></td> -<td>Module implementing the writer class for writing an XML shortcuts file.</td> -</tr><tr> -<td><a href="eric5.E4XML.TasksHandler.html">TasksHandler</a></td> -<td>Module implementing the handler class for reading an XML tasks file.</td> -</tr><tr> -<td><a href="eric5.E4XML.TasksWriter.html">TasksWriter</a></td> -<td>Module implementing the writer class for writing an XML tasks file.</td> -</tr><tr> -<td><a href="eric5.E4XML.TemplatesHandler.html">TemplatesHandler</a></td> -<td>Module implementing the handler class for reading an XML templates file.</td> -</tr><tr> -<td><a href="eric5.E4XML.TemplatesWriter.html">TemplatesWriter</a></td> -<td>Module implementing the writer class for writing an XML templates file.</td> -</tr><tr> -<td><a href="eric5.E4XML.UserProjectHandler.html">UserProjectHandler</a></td> -<td>Module implementing the handler class for reading an XML user project properties file.</td> -</tr><tr> -<td><a href="eric5.E4XML.UserProjectWriter.html">UserProjectWriter</a></td> -<td>Module implementing the writer class for writing an XML user project properties file.</td> -</tr><tr> -<td><a href="eric5.E4XML.XMLEntityResolver.html">XMLEntityResolver</a></td> -<td>Module implementing a specialized entity resolver to find our DTDs.</td> -</tr><tr> -<td><a href="eric5.E4XML.XMLErrorHandler.html">XMLErrorHandler</a></td> -<td>Module implementing an error handler class.</td> -</tr><tr> -<td><a href="eric5.E4XML.XMLHandlerBase.html">XMLHandlerBase</a></td> -<td>Module implementing a base class for all of eric5s XML handlers.</td> -</tr><tr> -<td><a href="eric5.E4XML.XMLMessageDialog.html">XMLMessageDialog</a></td> -<td>Module implementing a dialog to display XML parse messages.</td> -</tr><tr> -<td><a href="eric5.E4XML.XMLUtilities.html">XMLUtilities</a></td> -<td>Module implementing various XML utility functions.</td> -</tr><tr> -<td><a href="eric5.E4XML.XMLWriterBase.html">XMLWriterBase</a></td> -<td>Module implementing a base class for all of eric5s XML writers.</td> -</tr> -</table> -</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/index-eric5.E5XML.html Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,125 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.E5XML</title> +<style> +body { + background:white; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #4FA4FF; } +h2 { color: white; background: #4FA4FF; } +h3 { color: white; background: #00557F; } +h4 { color: white; background: #00557F; } + +a { color: #AA5500; } + +</style> +</head> +<body> +<h1>eric5.E5XML</h1> +<p> +Package implementing the XML handling module of eric5. +</p><p> +This module includes XML handlers and writers for +<ul> + <li>Project files</li> + <li>User project data files</li> + <li>Multi-project files</li> + <li>Session files</li> + <li>Shortcuts files</li> + <li>Debugger Properties files</li> + <li>Tasks files</li> + <li>Templates files</li> + <li>Highlighting styles</li> + <li>Plugiin repository (handler only)</li> +</ul> +</p> + + +<h3>Modules</h3> +<table> +<tr> +<td><a href="eric5.E5XML.Config.html">Config</a></td> +<td>Module implementing some common configuration stuf for the XML package.</td> +</tr><tr> +<td><a href="eric5.E5XML.DebuggerPropertiesHandler.html">DebuggerPropertiesHandler</a></td> +<td>Module implementing the handler class for reading an XML project debugger properties file.</td> +</tr><tr> +<td><a href="eric5.E5XML.DebuggerPropertiesWriter.html">DebuggerPropertiesWriter</a></td> +<td>Module implementing the writer class for writing an XML project debugger properties file.</td> +</tr><tr> +<td><a href="eric5.E5XML.HighlightingStylesHandler.html">HighlightingStylesHandler</a></td> +<td>Module implementing the handler class for handling a highlighting styles XML file.</td> +</tr><tr> +<td><a href="eric5.E5XML.HighlightingStylesWriter.html">HighlightingStylesWriter</a></td> +<td>Module implementing the writer class for writing a highlighting styles XML file.</td> +</tr><tr> +<td><a href="eric5.E5XML.MultiProjectHandler.html">MultiProjectHandler</a></td> +<td>Module implementing the handler class for reading an XML multi project file.</td> +</tr><tr> +<td><a href="eric5.E5XML.MultiProjectWriter.html">MultiProjectWriter</a></td> +<td>Module implementing the writer class for writing an XML multi project file.</td> +</tr><tr> +<td><a href="eric5.E5XML.PluginRepositoryHandler.html">PluginRepositoryHandler</a></td> +<td>Module implementing the handler class for reading an XML tasks file.</td> +</tr><tr> +<td><a href="eric5.E5XML.ProjectHandler.html">ProjectHandler</a></td> +<td>Module implementing the handler class for reading an XML project file.</td> +</tr><tr> +<td><a href="eric5.E5XML.ProjectWriter.html">ProjectWriter</a></td> +<td>Module implementing the writer class for writing an XML project file.</td> +</tr><tr> +<td><a href="eric5.E5XML.SessionHandler.html">SessionHandler</a></td> +<td>Module implementing the handler class for reading an XML project session file.</td> +</tr><tr> +<td><a href="eric5.E5XML.SessionWriter.html">SessionWriter</a></td> +<td>Module implementing the writer class for writing an XML project session file.</td> +</tr><tr> +<td><a href="eric5.E5XML.ShortcutsHandler.html">ShortcutsHandler</a></td> +<td>Module implementing the handler class for reading a keyboard shortcuts file.</td> +</tr><tr> +<td><a href="eric5.E5XML.ShortcutsWriter.html">ShortcutsWriter</a></td> +<td>Module implementing the writer class for writing an XML shortcuts file.</td> +</tr><tr> +<td><a href="eric5.E5XML.TasksHandler.html">TasksHandler</a></td> +<td>Module implementing the handler class for reading an XML tasks file.</td> +</tr><tr> +<td><a href="eric5.E5XML.TasksWriter.html">TasksWriter</a></td> +<td>Module implementing the writer class for writing an XML tasks file.</td> +</tr><tr> +<td><a href="eric5.E5XML.TemplatesHandler.html">TemplatesHandler</a></td> +<td>Module implementing the handler class for reading an XML templates file.</td> +</tr><tr> +<td><a href="eric5.E5XML.TemplatesWriter.html">TemplatesWriter</a></td> +<td>Module implementing the writer class for writing an XML templates file.</td> +</tr><tr> +<td><a href="eric5.E5XML.UserProjectHandler.html">UserProjectHandler</a></td> +<td>Module implementing the handler class for reading an XML user project properties file.</td> +</tr><tr> +<td><a href="eric5.E5XML.UserProjectWriter.html">UserProjectWriter</a></td> +<td>Module implementing the writer class for writing an XML user project properties file.</td> +</tr><tr> +<td><a href="eric5.E5XML.XMLEntityResolver.html">XMLEntityResolver</a></td> +<td>Module implementing a specialized entity resolver to find our DTDs.</td> +</tr><tr> +<td><a href="eric5.E5XML.XMLErrorHandler.html">XMLErrorHandler</a></td> +<td>Module implementing an error handler class.</td> +</tr><tr> +<td><a href="eric5.E5XML.XMLHandlerBase.html">XMLHandlerBase</a></td> +<td>Module implementing a base class for all of eric5s XML handlers.</td> +</tr><tr> +<td><a href="eric5.E5XML.XMLMessageDialog.html">XMLMessageDialog</a></td> +<td>Module implementing a dialog to display XML parse messages.</td> +</tr><tr> +<td><a href="eric5.E5XML.XMLUtilities.html">XMLUtilities</a></td> +<td>Module implementing various XML utility functions.</td> +</tr><tr> +<td><a href="eric5.E5XML.XMLWriterBase.html">XMLWriterBase</a></td> +<td>Module implementing a base class for all of eric5s XML writers.</td> +</tr> +</table> +</body></html> \ No newline at end of file
--- a/Documentation/Source/index-eric5.html Tue Jan 12 07:38:28 2010 +0000 +++ b/Documentation/Source/index-eric5.html Tue Jan 12 17:55:24 2010 +0000 @@ -52,7 +52,7 @@ <td><a href="index-eric5.E4Network.html">E4Network</a></td> <td>Package implementing some special network related objects.</td> </tr><tr> -<td><a href="index-eric5.E4XML.html">E4XML</a></td> +<td><a href="index-eric5.E5XML.html">E5XML</a></td> <td>Package implementing the XML handling module of eric5.</td> </tr><tr> <td><a href="index-eric5.Globals.html">Globals</a></td>
--- a/E4XML/Config.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,38 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing some common configuration stuf for the XML package. -""" - -# version number of the multi project file -multiProjectFileFormatVersion = "4.2" - -# version number of the project file -projectFileFormatVersion = "4.6" - -# version number of the user project file -userProjectFileFormatVersion = "4.0" - -# version number of the project session file -sessionFileFormatVersion = "4.3" - -# version number of the shortcuts file -shortcutsFileFormatVersion = "3.6" - -# version number of the tasks file -tasksFileFormatVersion = "4.2" - -# version number of the debugger properties file -debuggerPropertiesFileFormatVersion = "3.9" - -# version number of the templates file -templatesFileFormatVersion = "4.0" - -# version number of the plugin repository file -pluginRepositoryFileFormatVersion = "4.2" - -# version number of the highlighting styles file -highlightingStylesFileFormatVersion = "4.3"
--- a/E4XML/DebuggerPropertiesHandler.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,167 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2003 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the handler class for reading an XML project debugger properties file. -""" - -from .Config import debuggerPropertiesFileFormatVersion -from .XMLHandlerBase import XMLHandlerBase - -class DebuggerPropertiesHandler(XMLHandlerBase): - """ - Class implementing a sax handler to read an XML project debugger properties file. - """ - def __init__(self, project): - """ - Constructor - - @param project Reference to the project object to store the - information into. - """ - XMLHandlerBase.__init__(self) - - self.startDocumentSpecific = self.startDocumentDebuggerProperties - - self.elements.update({ - 'DebuggerProperties' : (self.startDebuggerProperties, self.defaultEndElement), - 'Interpreter' : (self.defaultStartElement, self.endInterpreter), - 'DebugClient' : (self.defaultStartElement, self.endDebugClient), - 'Environment' : (self.startEnvironment, self.endEnvironment), - 'RemoteDebugger' : (self.startRemoteDebugger, self.defaultEndElement), - 'RemoteHost' : (self.defaultStartElement, self.endRemoteHost), - 'RemoteCommand' : (self.defaultStartElement, self.endRemoteCommand), - 'PathTranslation' : (self.startPathTranslation, self.defaultEndElement), - 'RemotePath' : (self.defaultStartElement, self.endRemotePath), - 'LocalPath' : (self.defaultStartElement, self.endLocalPath), - 'ConsoleDebugger' : (self.startConsoleDebugger, self.endConsoleDebugger), - 'Redirect' : (self.startRedirect, self.defaultEndElement), - 'Noencoding' : (self.startNoencoding, self.defaultEndElement), - }) - - self.project = project - - def startDocumentDebuggerProperties(self): - """ - Handler called, when the document parsing is started. - """ - self.version = '' - - ################################################### - ## below follow the individual handler functions - ################################################### - - def endInterpreter(self): - """ - Handler method for the "Interpreter" end tag. - """ - self.project.debugProperties["INTERPRETER"] = self.buffer - - def endDebugClient(self): - """ - Handler method for the "DebugClient" end tag. - """ - self.project.debugProperties["DEBUGCLIENT"] = self.buffer - - def startEnvironment(self, attrs): - """ - Handler method for the "Environment" start tag. - """ - self.buffer = "" - self.project.debugProperties["ENVIRONMENTOVERRIDE"] = \ - int(attrs.get("override", "0")) - - def endEnvironment(self): - """ - Handler method for the "Environment" end tag. - """ - self.project.debugProperties["ENVIRONMENTSTRING"] = \ - self.unescape(self.buffer) - - def startRemoteDebugger(self, attrs): - """ - Handler method for the "RemoteDebugger" start tag. - """ - self.buffer = "" - self.project.debugProperties["REMOTEDEBUGGER"] = \ - int(attrs.get("on", "0")) - - def endRemoteHost(self): - """ - Handler method for the "RemoteHost" end tag. - """ - self.project.debugProperties["REMOTEHOST"] = self.buffer - - def endRemoteCommand(self): - """ - Handler method for the "RemoteCommand" end tag. - """ - self.project.debugProperties["REMOTECOMMAND"] = \ - self.unescape(self.buffer) - - def startPathTranslation(self, attrs): - """ - Handler method for the "PathTranslation" start tag. - """ - self.buffer = "" - self.project.debugProperties["PATHTRANSLATION"] = \ - int(attrs.get("on", "0")) - - def endRemotePath(self): - """ - Handler method for the "RemotePath" end tag. - """ - self.project.debugProperties["REMOTEPATH"] = self.buffer - - def endLocalPath(self): - """ - Handler method for the "LocalPath" end tag. - """ - self.project.debugProperties["LOCALPATH"] = self.buffer - - def startConsoleDebugger(self, attrs): - """ - Handler method for the "ConsoleDebugger" start tag. - """ - self.buffer = "" - self.project.debugProperties["CONSOLEDEBUGGER"] = \ - int(attrs.get("on", "0")) - - def endConsoleDebugger(self): - """ - Handler method for the "ConsoleDebugger" end tag. - """ - self.project.debugProperties["CONSOLECOMMAND"] = \ - self.unescape(self.buffer) - - def startRedirect(self, attrs): - """ - Handler method for the "Redirect" start tag. - """ - self.project.debugProperties["REDIRECT"] = \ - int(attrs.get("on", "1")) - - def startNoencoding(self, attrs): - """ - Handler method for the "Noencoding" start tag. - """ - self.project.debugProperties["NOENCODING"] = \ - int(attrs.get("on", "0")) - - def startDebuggerProperties(self, attrs): - """ - Handler method for the "DebuggerProperties" start tag. - - @param attrs list of tag attributes - """ - self.version = attrs.get('version', debuggerPropertiesFileFormatVersion) - - def getVersion(self): - """ - Public method to retrieve the version of the debugger properties. - - @return String containing the version number. - """ - return self.version
--- a/E4XML/DebuggerPropertiesWriter.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,92 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2005 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the writer class for writing an XML project debugger properties file. -""" - -import os -import time - -from E4Gui.E4Application import e4App - -from .XMLWriterBase import XMLWriterBase -from .Config import debuggerPropertiesFileFormatVersion - -import Preferences - -class DebuggerPropertiesWriter(XMLWriterBase): - """ - Class implementing the writer class for writing an XML project debugger properties - file. - """ - def __init__(self, file, projectName): - """ - Constructor - - @param file open file (like) object for writing - @param projectName name of the project (string) - """ - XMLWriterBase.__init__(self, file) - - self.name = projectName - self.project = e4App().getObject("Project") - - def writeXML(self): - """ - Public method to write the XML to the file. - """ - XMLWriterBase.writeXML(self) - - self._write('<!DOCTYPE DebuggerProperties SYSTEM "DebuggerProperties-%s.dtd">' % \ - debuggerPropertiesFileFormatVersion) - - # add some generation comments - self._write("<!-- eric5 debugger properties file for project %s -->" % self.name) - self._write("<!-- This file was generated automatically, do not edit. -->") - if Preferences.getProject("XMLTimestamp"): - self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) - - # add the main tag - self._write('<DebuggerProperties version="%s">' % \ - debuggerPropertiesFileFormatVersion) - - self._write(' <Interpreter>%s</Interpreter>' % \ - self.project.debugProperties["INTERPRETER"]) - - self._write(' <DebugClient>%s</DebugClient>' % \ - self.project.debugProperties["DEBUGCLIENT"]) - - self._write(' <Environment override="%d">%s</Environment>' % \ - (self.project.debugProperties["ENVIRONMENTOVERRIDE"], - self.escape(self.project.debugProperties["ENVIRONMENTSTRING"]))) - - self._write(' <RemoteDebugger on="%d">' % \ - self.project.debugProperties["REMOTEDEBUGGER"]) - self._write(' <RemoteHost>%s</RemoteHost>' % \ - self.project.debugProperties["REMOTEHOST"]) - self._write(' <RemoteCommand>%s</RemoteCommand>' % \ - self.escape(self.project.debugProperties["REMOTECOMMAND"])) - self._write(' </RemoteDebugger>') - - self._write(' <PathTranslation on="%d">' % \ - self.project.debugProperties["PATHTRANSLATION"]) - self._write(' <RemotePath>%s</RemotePath>' % \ - self.project.debugProperties["REMOTEPATH"]) - self._write(' <LocalPath>%s</LocalPath>' % \ - self.project.debugProperties["LOCALPATH"]) - self._write(' </PathTranslation>') - - self._write(' <ConsoleDebugger on="%d">%s</ConsoleDebugger>' % \ - (self.project.debugProperties["CONSOLEDEBUGGER"], - self.escape(self.project.debugProperties["CONSOLECOMMAND"]))) - - self._write(' <Redirect on="%d" />' % \ - self.project.debugProperties["REDIRECT"]) - - self._write(' <Noencoding on="%d" />' % \ - self.project.debugProperties["NOENCODING"]) - - self._write("</DebuggerProperties>", newline = False) \ No newline at end of file
--- a/E4XML/HighlightingStylesHandler.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,116 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2008 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the handler class for handling a highlighting styles XML file. -""" - -from PyQt4.QtGui import QColor, QFont - -from .Config import highlightingStylesFileFormatVersion -from .XMLHandlerBase import XMLHandlerBase - -class HighlightingStylesHandler(XMLHandlerBase): - """ - Class implementing a sax handler to read a highlighting styles file. - """ - def __init__(self, lexers): - """ - Constructor - - @param lexers dictionary of lexer objects for which to import the styles - """ - XMLHandlerBase.__init__(self) - - self.lexers = lexers - self.lexer = None - - self.startDocumentSpecific = self.startDocumentHighlightingStyles - - self.elements.update({ - 'HighlightingStyles' : (self.startHighlightingStyles, self.defaultEndElement), - 'Lexer' : (self.startLexer, self.defaultEndElement), - 'Style' : (self.startStyle, self.defaultEndElement), - }) - - def startDocumentHighlightingStyles(self): - """ - Handler called, when the document parsing is started. - """ - self.version = '' - - ################################################### - ## below follow the individual handler functions - ################################################### - - def startHighlightingStyles(self, attrs): - """ - Handler method for the "HighlightingStyles" start tag. - - @param attrs list of tag attributes - """ - self.version = attrs.get('version', highlightingStylesFileFormatVersion) - - def startLexer(self, attrs): - """ - Handler method for the "Lexer" start tag. - - @param attrs list of tag attributes - """ - language = attrs.get("name", "") - if language and language in self.lexers: - self.lexer = self.lexers[language] - else: - self.lexer = None - - def startStyle(self, attrs): - """ - Handler method for the "Style" start tag. - - @param attrs list of tag attributes - """ - self.buffer = "" - - if self.lexer is not None: - style = attrs.get("style") - if style is not None: - style = int(style) - - color = attrs.get("color") - if color is None: - color = self.lexer.defaultColor(style) - else: - color = QColor(color) - self.lexer.setColor(color, style) - - paper = attrs.get("paper") - if paper is None: - paper = self.lexer.defaultPaper(style) - else: - paper = QColor(paper) - self.lexer.setPaper(paper, style) - - fontStr = attrs.get("font") - if fontStr is None: - font = self.lexer.defaultFont(style) - else: - font = QFont() - font.fromString(fontStr) - self.lexer.setFont(font, style) - - eolfill = attrs.get("eolfill") - if eolfill is None: - eolfill = self.lexer.defaulEolFill(style) - else: - eolfill = int(eolfill) - self.lexer.setEolFill(eolfill, style) - - def getVersion(self): - """ - Public method to retrieve the version of the shortcuts. - - @return String containing the version number. - """ - return self.version
--- a/E4XML/HighlightingStylesWriter.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,65 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2008 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the writer class for writing a highlighting styles XML file. -""" - -import os -import time - -from E4Gui.E4Application import e4App - -from .XMLWriterBase import XMLWriterBase -from .Config import highlightingStylesFileFormatVersion - -import Preferences - -class HighlightingStylesWriter(XMLWriterBase): - """ - Class implementing the writer class for writing a highlighting styles XML file. - """ - def __init__(self, file, lexers): - """ - Constructor - - @param file open file (like) object for writing - @param lexers list of lexer objects for which to export the styles - """ - XMLWriterBase.__init__(self, file) - - self.lexers = lexers - self.email = Preferences.getUser("Email") - - def writeXML(self): - """ - Public method to write the XML to the file. - """ - XMLWriterBase.writeXML(self) - - self._write('<!DOCTYPE HighlightingStyles SYSTEM "HighlightingStyles-%s.dtd">' % \ - highlightingStylesFileFormatVersion) - - # add some generation comments - self._write("<!-- Eric5 highlighting styles -->") - self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) - self._write("<!-- Author: %s -->" % self.escape("%s" % self.email)) - - # add the main tag - self._write('<HighlightingStyles version="%s">' % \ - highlightingStylesFileFormatVersion) - - for lexer in self.lexers: - self._write(' <Lexer name="%s">' % lexer.language()) - for style in lexer.descriptions: - self._write(' <Style style="%d" ' - 'color="%s" paper="%s" font="%s" eolfill="%d">%s</Style>' % \ - (style, lexer.color(style).name(), lexer.paper(style).name(), - lexer.font(style).toString(), lexer.eolFill(style), - self.escape(lexer.description(style))) - ) - self._write(' </Lexer>') - - self._write("</HighlightingStyles>", newline = False)
--- a/E4XML/MultiProjectHandler.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2008 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the handler class for reading an XML multi project file. -""" - -from .Config import multiProjectFileFormatVersion -from .XMLHandlerBase import XMLHandlerBase - -import Utilities - -class MultiProjectHandler(XMLHandlerBase): - """ - Class implementing a sax handler to read an XML multi project file. - """ - def __init__(self, multiProject): - """ - Constructor - - @param multiProject Reference to the multi project object to store the - information into. - """ - XMLHandlerBase.__init__(self) - - self.startDocumentSpecific = self.startDocumentMultiProject - - self.elements.update({ - 'MultiProject' : (self.startMultiProject, self.defaultEndElement), - 'Description' : (self.defaultStartElement, self.endDescription), - 'Project' : (self.startProject, self.endProject), - 'ProjectName' : (self.defaultStartElement, self.endProjectName), - 'ProjectFile' : (self.defaultStartElement, self.endProjectFile), - 'ProjectDescription' : (self.defaultStartElement, self.endProjectDescription), - }) - - self.multiProject = multiProject - - def startDocumentMultiProject(self): - """ - Handler called, when the document parsing is started. - """ - self.version = '' - - ################################################### - ## below follow the individual handler functions - ################################################### - - def startMultiProject(self, attrs): - """ - Handler method for the "MultiProject" start tag. - - @param attrs list of tag attributes - """ - self.version = attrs.get('version', multiProjectFileFormatVersion) - - def endDescription(self): - """ - Handler method for the "Description" end tag. - """ - self.buffer = self.unescape(self.buffer) - self.multiProject.description = self.decodedNewLines(self.buffer) - - def startProject(self, attrs): - """ - Handler method for the "Project" start tag. - - @param attrs list of tag attributes - """ - self.project = {} - isMaster = attrs.get('isMaster', "False") - self.project["master"] = isMaster == "True" - - def endProject(self): - """ - Handler method for the "Project" end tag. - """ - self.multiProject.projects.append(self.project) - - def endProjectName(self): - """ - Handler method for the "ProjectName" end tag. - """ - self.project["name"] = self.unescape(self.buffer) - - def endProjectFile(self): - """ - Handler method for the "ProjectFile" end tag. - """ - filename = self.buffer - self.project["file"] = Utilities.toNativeSeparators(filename) - - def endProjectDescription(self): - """ - Handler method for the "ProjectDescription" end tag. - """ - self.buffer = self.unescape(self.buffer) - self.project["description"] = self.decodedNewLines(self.buffer) - - def getVersion(self): - """ - Public method to retrieve the version of the project. - - @return String containing the version number. - """ - return self.version -
--- a/E4XML/MultiProjectWriter.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,73 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2008 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the writer class for writing an XML multi project file. -""" - -import os -import time - -from E4Gui.E4Application import e4App - -from .XMLWriterBase import XMLWriterBase -from .Config import multiProjectFileFormatVersion - -import Preferences -import Utilities - -class MultiProjectWriter(XMLWriterBase): - """ - Class implementing the writer class for writing an XML project file. - """ - def __init__(self, multiProject, file, multiProjectName): - """ - Constructor - - @param multiProject Reference to the multi project object - @param file open file (like) object for writing - @param projectName name of the project (string) - """ - XMLWriterBase.__init__(self, file) - - self.name = multiProjectName - self.multiProject = multiProject - - def writeXML(self): - """ - Public method to write the XML to the file. - """ - XMLWriterBase.writeXML(self) - - self._write('<!DOCTYPE MultiProject SYSTEM "MultiProject-%s.dtd">' % \ - multiProjectFileFormatVersion) - - # add some generation comments - self._write("<!-- eric5 multi project file for multi project %s -->" % self.name) - if Preferences.getMultiProject("XMLTimestamp"): - self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) - self._write("<!-- Copyright (C) %s -->" % time.strftime('%Y')) - - # add the main tag - self._write('<MultiProject version="%s">' % multiProjectFileFormatVersion) - - # do description - self._write(" <Description>%s</Description>" % \ - self.escape(self.encodedNewLines(self.multiProject.description))) - - # do the projects - self._write(" <Projects>") - for project in self.multiProject.getProjects(): - self._write(' <Project isMaster="%s">' % project['master']) - self._write(" <ProjectName>%s</ProjectName>" % \ - self.escape(project['name'])) - self._write(" <ProjectFile>%s</ProjectFile>" % \ - Utilities.fromNativeSeparators(project['file'])) - self._write(" <ProjectDescription>%s</ProjectDescription>" % \ - self.escape(self.encodedNewLines(project['name']))) - self._write(" </Project>") - self._write(" </Projects>") - - self._write("</MultiProject>", newline = False) \ No newline at end of file
--- a/E4XML/PluginRepositoryHandler.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,143 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2005 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the handler class for reading an XML tasks file. -""" - -from .Config import pluginRepositoryFileFormatVersion -from .XMLHandlerBase import XMLHandlerBase - -import Preferences - -class PluginRepositoryHandler(XMLHandlerBase): - """ - Class implementing a sax handler to read an XML tasks file. - """ - def __init__(self, parent): - """ - Constructor - - @param parent reference to the parent dialog (PluginRepositoryDialog) - """ - XMLHandlerBase.__init__(self) - - self.startDocumentSpecific = self.startDocumentPlugins - - self.elements.update({ - 'Plugins' : (self.startPlugins, self.defaultEndElement), - 'Plugin' : (self.startPlugin, self.endPlugin), - 'Name' : (self.defaultStartElement, self.endName), - 'Short' : (self.defaultStartElement, self.endShort), - 'Description' : (self.defaultStartElement, self.endDescription), - 'Url' : (self.defaultStartElement, self.endUrl), - 'Author' : (self.defaultStartElement, self.endAuthor), - 'Version' : (self.defaultStartElement, self.endVersion), - 'Filename' : (self.defaultStartElement, self.endFilename), - 'RepositoryUrl' : (self.defaultStartElement, self.endRepositoryUrl), - }) - - self.parent = parent - - def startDocumentPlugins(self): - """ - Handler called, when the document parsing is started. - """ - self.version = '' - - ################################################### - ## below follow the individual handler functions - ################################################### - - def startPlugins(self, attrs): - """ - Handler method for the "Plugins" start tag. - - @param attrs list of tag attributes - """ - self.version = attrs.get('version', pluginRepositoryFileFormatVersion) - - def startPlugin(self, attrs): - """ - Handler method for the "Plugin" start tag. - - @param attrs list of tag attributes - """ - self.info = {"name" : "", - "short" : "", - "description" : "", - "url" : "", - "author" : "", - "version" : "", - "filename" : "", - } - self.info["status"] = attrs.get("status", "unknown") - - def endPlugin(self): - """ - Handler method for the "Plugin" end tag. - """ - self.parent.addEntry(self.info["name"], self.info["short"], - self.info["description"], self.info["url"], - self.info["author"], self.info["version"], - self.info["filename"], self.info["status"]) - - def endName(self): - """ - Handler method for the "Name" end tag. - """ - self.info["name"] = self.unescape(self.buffer) - - def endShort(self): - """ - Handler method for the "Short" end tag. - """ - self.info["short"] = self.unescape(self.buffer) - - def endDescription(self): - """ - Handler method for the "Description" end tag. - """ - txt = self.unescape(self.buffer) - self.info["description"] = [line.strip() for line in txt.splitlines()] - - def endUrl(self): - """ - Handler method for the "Url" end tag. - """ - self.info["url"] = self.unescape(self.buffer) - - def endAuthor(self): - """ - Handler method for the "Author" end tag. - """ - self.info["author"] = self.unescape(self.buffer) - - def endVersion(self): - """ - Handler method for the "Version" end tag. - """ - self.info["version"] = self.unescape(self.buffer) - - def endFilename(self): - """ - Handler method for the "Filename" end tag. - """ - self.info["filename"] = self.unescape(self.buffer) - - def endRepositoryUrl(self): - """ - Handler method for the "RepositoryUrl" end tag. - """ - url = self.unescape(self.buffer).strip() - Preferences.setUI("PluginRepositoryUrl5", url) - - def getVersion(self): - """ - Public method to retrieve the version of the tasks file. - - @return String containing the version number. - """ - return self.version
--- a/E4XML/ProjectHandler.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,643 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2003 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the handler class for reading an XML project file. -""" - -import os - -from .Config import projectFileFormatVersion -from .XMLHandlerBase import XMLHandlerBase - -import Utilities - -class ProjectHandler(XMLHandlerBase): - """ - Class implementing a sax handler to read an XML project file. - """ - def __init__(self, project): - """ - Constructor - - @param project Reference to the project object to store the - information into. - """ - XMLHandlerBase.__init__(self) - - self.startDocumentSpecific = self.startDocumentProject - - self.elements.update({ - 'Project' : (self.startProject, self.defaultEndElement), - 'Language' : (self.defaultStartElement, self.endLanguage), - 'ProjectWordList' : (self.defaultStartElement, self.endProjectWordList), - 'ProjectExcludeList' : (self.defaultStartElement, - self.endProjectExcludeList), - 'ProgLanguage' : (self.startProgLanguage, self.endProgLanguage), - 'ProjectType' : (self.defaultStartElement, self.endProjectType), - 'Description' : (self.defaultStartElement, self.endDescription), - 'Version' : (self.defaultStartElement, self.endVersion), - 'Author' : (self.defaultStartElement, self.endAuthor), - 'Email' : (self.defaultStartElement, self.endEmail), - 'VcsType' : (self.defaultStartElement, self.endVcsType), - 'VcsOptions' : (self.startVcsOptions, self.endVcsOptions), - 'VcsOtherData' : (self.startVcsOtherData, self.endVcsOtherData), - 'Dir' : (self.defaultStartElement, self.endDir), - 'Name' : (self.defaultStartElement, self.endName), - 'Source' : (self.startSource, self.endSource), - 'Form' : (self.startForm, self.endForm), - 'Translation' : (self.startTranslation, self.endTranslation), - 'TranslationPattern' : (self.defaultStartElement, - self.endTranslationPattern), - 'TranslationsBinPath' : (self.startTranslationsBinPath, - self.endTranslationsBinPath), - 'TranslationException' : (self.startTranslationException, - self.endTranslationException), - 'Resource' : (self.startResource, self.endResource), - 'Interface' : (self.startInterface, self.endInterface), - 'Other' : (self.startOther, self.endOther), - 'MainScript' : (self.startMainScript, self.endMainScript), - 'FiletypeAssociation' : (self.startFiletypeAssociation, - self.defaultEndElement), - 'LexerAssociation' : (self.startLexerAssociation, - self.defaultEndElement), - 'ProjectTypeSpecificData' : (self.startProjectTypeSpecificData, - self.endProjectTypeSpecificData), - 'DocumentationParams' : (self.startDocumentationParams, - self.endDocumentationParams), - 'PackagersParams' : (self.startPackagersParams, self.endPackagersParams), - 'CheckersParams' : (self.startCheckersParams, self.endCheckersParams), - 'OtherToolsParams' : (self.startOtherToolsParams, self.endOtherToolsParams), - # parameters kept for backward compatibility - 'UIType' : (self.defaultStartElement, self.endUIType), - 'TranslationPrefix' : (self.startTranslationPrefix, - self.endTranslationPrefix), - 'Eric4DocParams' : (self.startEric4DocParams, self.endEric4DocParams), - 'Eric4ApiParams' : (self.startEric4ApiParams, self.endEric4ApiParams), - 'CxfreezeParams' : (self.startCxfreezeParams, self.endCxfreezeParams), - 'PyLintParams' : (self.startPyLintParams, self.endPyLintParams), - }) - - self.project = project - - def startDocumentProject(self): - """ - Handler called, when the document parsing is started. - """ - self.version = '' - self.pathStack = [] - - ################################################### - ## below follow the individual handler functions - ################################################### - - def endLanguage(self): - """ - Handler method for the "Language" end tag. - """ - self.project.pdata["SPELLLANGUAGE"] = [self.buffer] - - def endProjectWordList(self): - """ - Handler method for the "ProjectWordList" end tag. - """ - path = Utilities.toNativeSeparators(self.buffer) - self.project.pdata["SPELLWORDS"] = [path] - - def endProjectExcludeList(self): - """ - Handler method for the "ProjectExcludeList" end tag. - """ - path = Utilities.toNativeSeparators(self.buffer) - self.project.pdata["SPELLEXCLUDES"] = [path] - - def startProgLanguage(self, attrs): - """ - Handler method for the "Source" start tag. - - @param attrs list of tag attributes - """ - mixedLanguage = int(attrs.get("mixed", "0")) - self.project.pdata["MIXEDLANGUAGE"] = [mixedLanguage] - self.buffer = "" - - def endProgLanguage(self): - """ - Handler method for the "ProgLanguage" end tag. - """ - self.project.pdata["PROGLANGUAGE"] = [self.buffer] - - def endProjectType(self): - """ - Handler method for the "ProjectType" end tag. - """ - self.project.pdata["PROJECTTYPE"] = [self.buffer] - - def endDescription(self): - """ - Handler method for the "Description" end tag. - """ - self.buffer = self.unescape(self.buffer) - if self.version >= '4.3': - self.project.pdata["DESCRIPTION"] = [self.decodedNewLines(self.buffer)] - else: - self.project.pdata["DESCRIPTION"] = [self.buffer] - - def endVersion(self): - """ - Handler method for the "Version" end tag. - """ - self.buffer = self.unescape(self.buffer) - self.project.pdata["VERSION"] = [self.buffer] - - def endAuthor(self): - """ - Handler method for the "Author" end tag. - """ - self.buffer = self.unescape(self.buffer) - self.project.pdata["AUTHOR"] = [self.buffer] - - def endEmail(self): - """ - Handler method for the "Email" end tag. - """ - self.buffer = self.unescape(self.buffer) - self.project.pdata["EMAIL"] = [self.buffer] - - def endVcsType(self): - """ - Handler method for the "VcsType" end tag. - """ - self.project.pdata["VCS"] = [self.buffer] - - def startVcsOptions(self, attrs): - """ - Handler method for the "VcsOptions" start tag. - - @param attrs list of tag attributes - """ - self.defaultStartElement(attrs) - self._prepareBasics() - - def endVcsOptions(self): - """ - Handler method for the "VcsOptions" end tag. - """ - try: - self.project.pdata["VCSOPTIONS"] = [self.stack[-1]] - except IndexError: - self.project.pdata["VCSOPTIONS"] = [] - - def startVcsOtherData(self, attrs): - """ - Handler method for the "VcsOtherData" start tag. - - @param attrs list of tag attributes - """ - self.defaultStartElement(attrs) - self._prepareBasics() - - def endVcsOtherData(self): - """ - Handler method for the "VcsOtherData" end tag. - """ - try: - self.project.pdata["VCSOTHERDATA"] = [self.stack[-1]] - except IndexError: - self.project.pdata["VCSOTHERDATA"] = [] - - def startProjectTypeSpecificData(self, attrs): - """ - Handler method for the "ProjectTypeSpecificData" start tag. - - @param attrs list of tag attributes - """ - self.defaultStartElement(attrs) - self._prepareBasics() - - def endProjectTypeSpecificData(self): - """ - Handler method for the "ProjectTypeSpecificData" end tag. - """ - try: - self.project.pdata["PROJECTTYPESPECIFICDATA"] = self.stack[-1] - except IndexError: - self.project.pdata["PROJECTTYPESPECIFICDATA"] = {} - - def startDocumentationParams(self, attrs): - """ - Handler method for the "DocumentationParams" start tag. - - @param attrs list of tag attributes - """ - self.defaultStartElement(attrs) - self._prepareBasics() - - def endDocumentationParams(self): - """ - Handler method for the "DocumentationParams" end tag. - """ - try: - self.project.pdata["DOCUMENTATIONPARMS"] = self.stack[-1] - except IndexError: - self.project.pdata["DOCUMENTATIONPARMS"] = {} - - def startPackagersParams(self, attrs): - """ - Handler method for the "PackagersParams" start tag. - - @param attrs list of tag attributes - """ - self.defaultStartElement(attrs) - self._prepareBasics() - - def endPackagersParams(self): - """ - Handler method for the "PackagersParams" end tag. - """ - try: - self.project.pdata["PACKAGERSPARMS"] = self.stack[-1] - except IndexError: - self.project.pdata["PACKAGERSPARMS"] = {} - - def startCheckersParams(self, attrs): - """ - Handler method for the "CheckersParams" start tag. - - @param attrs list of tag attributes - """ - self.defaultStartElement(attrs) - self._prepareBasics() - - def endCheckersParams(self): - """ - Handler method for the "CheckersParams" end tag. - """ - try: - self.project.pdata["CHECKERSPARMS"] = self.stack[-1] - except IndexError: - self.project.pdata["CHECKERSPARMS"] = {} - - def startOtherToolsParams(self, attrs): - """ - Handler method for the "OtherToolsParams" start tag. - - @param attrs list of tag attributes - """ - self.defaultStartElement(attrs) - self._prepareBasics() - - def endOtherToolsParams(self): - """ - Handler method for the "OtherToolsParams" end tag. - """ - try: - self.project.pdata["OTHERTOOLSPARMS"] = self.stack[-1] - except IndexError: - self.project.pdata["OTHERTOOLSPARMS"] = {} - - def endDir(self): - """ - Handler method for the "Dir" end tag. - """ - self.pathStack.append(self.buffer) - - def endName(self): - """ - Handler method for the "Name" end tag. - """ - self.pathStack.append(self.buffer) - - def endTranslationPattern(self): - """ - Handler method for the "TranslationPattern" end tag. - """ - self.project.pdata["TRANSLATIONPATTERN"].append( - Utilities.toNativeSeparators(self.buffer)) - - def startTranslationsBinPath(self, attrs): - """ - Handler method for the "TranslationsBinPath" start tag. - - @param attrs list of tag attributes - """ - self.pathStack = [] - self.buffer = "" - - def endTranslationsBinPath(self): - """ - Handler method for the "TranslationsBinPath" end tag. - """ - if self.version >= '4.3': - path = Utilities.toNativeSeparators(self.buffer) - else: - path = self.__buildPath() - self.project.pdata["TRANSLATIONSBINPATH"].append(path) - - def startSource(self, attrs): - """ - Handler method for the "Source" start tag. - - @param attrs list of tag attributes - """ - self.pathStack = [] - self.buffer = "" - - def endSource(self): - """ - Handler method for the "Source" end tag. - """ - if self.version >= '4.3': - path = Utilities.toNativeSeparators(self.buffer) - else: - path = self.__buildPath() - self.project.pdata["SOURCES"].append(path) - - def startForm(self, attrs): - """ - Handler method for the "Form" start tag. - - @param attrs list of tag attributes - """ - self.pathStack = [] - self.buffer = "" - - def endForm(self): - """ - Handler method for the "Form" end tag. - """ - if self.version >= '4.3': - path = Utilities.toNativeSeparators(self.buffer) - else: - path = self.__buildPath() - self.project.pdata["FORMS"].append(path) - - def startTranslation(self, attrs): - """ - Handler method for the "Translation" start tag. - - @param attrs list of tag attributes - """ - self.pathStack = [] - self.buffer = "" - - def endTranslation(self): - """ - Handler method for the "Translation" end tag. - """ - if self.version >= '4.3': - path = Utilities.toNativeSeparators(self.buffer) - else: - path = self.__buildPath() - self.project.pdata["TRANSLATIONS"].append(path) - - def startTranslationException(self, attrs): - """ - Handler method for the "TranslationException" start tag. - - @param attrs list of tag attributes - """ - self.pathStack = [] - self.buffer = "" - - def endTranslationException(self): - """ - Handler method for the "TranslationException" end tag. - """ - if self.version >= '4.3': - path = Utilities.toNativeSeparators(self.buffer) - else: - path = self.__buildPath() - self.project.pdata["TRANSLATIONEXCEPTIONS"].append(path) - - def startResource(self, attrs): - """ - Handler method for the "Resource" start tag. - - @param attrs list of tag attributes - """ - self.pathStack = [] - self.buffer = "" - - def endResource(self): - """ - Handler method for the "Resource" end tag. - """ - if self.version >= '4.3': - path = Utilities.toNativeSeparators(self.buffer) - else: - path = self.__buildPath() - self.project.pdata["RESOURCES"].append(path) - - def startInterface(self, attrs): - """ - Handler method for the "Interface" start tag. - - @param attrs list of tag attributes - """ - self.pathStack = [] - self.buffer = "" - - def endInterface(self): - """ - Handler method for the "Interface" end tag. - """ - if self.version >= '4.3': - path = Utilities.toNativeSeparators(self.buffer) - else: - path = self.__buildPath() - self.project.pdata["INTERFACES"].append(path) - - def startOther(self, attrs): - """ - Handler method for the "Other" start tag. - - @param attrs list of tag attributes - """ - self.pathStack = [] - self.buffer = "" - - def endOther(self): - """ - Handler method for the "Other" end tag. - """ - if self.version >= '4.3': - path = Utilities.toNativeSeparators(self.buffer) - else: - path = self.__buildPath() - self.project.pdata["OTHERS"].append(path) - - def startMainScript(self, attrs): - """ - Handler method for the "MainScript" start tag. - - @param attrs list of tag attributes - """ - self.pathStack = [] - self.buffer = "" - - def endMainScript(self): - """ - Handler method for the "MainScript" end tag. - """ - if self.version >= '4.3': - path = Utilities.toNativeSeparators(self.buffer) - else: - path = self.__buildPath() - self.project.pdata["MAINSCRIPT"] = [path] - - def startFiletypeAssociation(self, attrs): - """ - Handler method for the "FiletypeAssociation" start tag. - - @param attrs list of tag attributes - """ - pattern = attrs.get("pattern", "") - filetype = attrs.get("type", "OTHERS") - if pattern: - self.project.pdata["FILETYPES"][pattern] = filetype - - def startLexerAssociation(self, attrs): - """ - Handler method for the "LexerAssociation" start tag. - - @param attrs list of tag attributes - """ - pattern = attrs.get("pattern", "") - lexer = attrs.get("lexer", "") - if pattern: - self.project.pdata["LEXERASSOCS"][pattern] = lexer - - def __buildPath(self): - """ - Private method to assemble a path. - - @return The ready assembled path. (string) - """ - path = "" - if self.pathStack and not self.pathStack[0]: - self.pathStack[0] = os.sep - for p in self.pathStack: - path = os.path.join(path, p) - return path - - def startProject(self, attrs): - """ - Handler method for the "Project" start tag. - - @param attrs list of tag attributes - """ - self.version = attrs.get('version', projectFileFormatVersion) - - def getVersion(self): - """ - Public method to retrieve the version of the project. - - @return String containing the version number. - """ - return self.version - - ############################################################### - ## below are handler methods kept for backward compatibility - ############################################################### - - def endUIType(self): - """ - Handler method for the "UIType" end tag. - """ - self.project.pdata["PROJECTTYPE"] = [self.buffer] - - def startTranslationPrefix(self, attrs): - """ - Handler method for the "TranslationPrefix" start tag. - - @param attrs list of tag attributes - """ - self.pathStack = [] - self.buffer = "" - - def endTranslationPrefix(self): - """ - Handler method for the "TranslationPrefix" end tag. - """ - if self.version >= '4.3': - path = Utilities.toNativeSeparators(self.buffer) - else: - path = self.__buildPath() - if not path.endswith("_"): - path = "%s_" % path - self.project.pdata["TRANSLATIONPATTERN"].append("%s%%language%%.ts" % path) - - def startEric4DocParams(self, attrs): - """ - Handler method for the "Eric4DocParams" start tag. - - @param attrs list of tag attributes - """ - self.defaultStartElement(attrs) - self._prepareBasics() - - def endEric4DocParams(self): - """ - Handler method for the "Eric4DocParams" end tag. - """ - try: - self.project.pdata["DOCUMENTATIONPARMS"]["ERIC4DOC"] = self.stack[-1] - except IndexError: - pass - - def startEric4ApiParams(self, attrs): - """ - Handler method for the "Eric4ApiParams" start tag. - - @param attrs list of tag attributes - """ - self.defaultStartElement(attrs) - self._prepareBasics() - - def endEric4ApiParams(self): - """ - Handler method for the "Eric4ApiParams" end tag. - """ - try: - self.project.pdata["DOCUMENTATIONPARMS"]["ERIC4API"] = self.stack[-1] - except IndexError: - pass - - def startCxfreezeParams(self, attrs): - """ - Handler method for the "CxfreezeParams" start tag. - - @param attrs list of tag attributes - """ - self.defaultStartElement(attrs) - self._prepareBasics() - - def endCxfreezeParams(self): - """ - Handler method for the "CxfreezeParams" end tag. - """ - try: - self.project.pdata["PACKAGERSPARMS"]["CXFREEZE"] = self.stack[-1] - except IndexError: - self.project.pdata["PACKAGERSPARMS"] = {} - - def startPyLintParams(self, attrs): - """ - Handler method for the "PyLintParams" start tag. - - @param attrs list of tag attributes - """ - self.defaultStartElement(attrs) - self._prepareBasics() - - def endPyLintParams(self): - """ - Handler method for the "PyLintParams" end tag. - """ - try: - self.project.pdata["CHECKERSPARMS"]["PYLINT"] = self.stack[-1] - except IndexError: - self.project.pdata["CHECKERSPARMS"] = {}
--- a/E4XML/ProjectWriter.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,225 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the writer class for writing an XML project file. -""" - -import os -import time - -from E4Gui.E4Application import e4App - -from .XMLWriterBase import XMLWriterBase -from .Config import projectFileFormatVersion - -import Preferences -import Utilities - -class ProjectWriter(XMLWriterBase): - """ - Class implementing the writer class for writing an XML project file. - """ - def __init__(self, file, projectName): - """ - Constructor - - @param file open file (like) object for writing - @param projectName name of the project (string) - """ - XMLWriterBase.__init__(self, file) - - self.pdata = e4App().getObject("Project").pdata - self.name = projectName - - def writeXML(self): - """ - Public method to write the XML to the file. - """ - XMLWriterBase.writeXML(self) - - self._write('<!DOCTYPE Project SYSTEM "Project-%s.dtd">' % \ - projectFileFormatVersion) - - # add some generation comments - self._write("<!-- eric5 project file for project %s -->" % self.name) - if Preferences.getProject("XMLTimestamp"): - self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) - self._write("<!-- Copyright (C) %s %s, %s -->" % \ - (time.strftime('%Y'), - self.escape(self.pdata["AUTHOR"][0]), - self.escape(self.pdata["EMAIL"][0]))) - - # add the main tag - self._write('<Project version="%s">' % projectFileFormatVersion) - - # do the language (used for spell checking) - self._write(' <Language>%s</Language>' % self.pdata["SPELLLANGUAGE"][0]) - if len(self.pdata["SPELLWORDS"][0]) > 0: - self._write(" <ProjectWordList>%s</ProjectWordList>" % \ - Utilities.fromNativeSeparators(self.pdata["SPELLWORDS"][0])) - if len(self.pdata["SPELLEXCLUDES"][0]) > 0: - self._write(" <ProjectExcludeList>%s</ProjectExcludeList>" % \ - Utilities.fromNativeSeparators(self.pdata["SPELLEXCLUDES"][0])) - - # do the programming language - self._write(' <ProgLanguage mixed="%d">%s</ProgLanguage>' % \ - (self.pdata["MIXEDLANGUAGE"][0], self.pdata["PROGLANGUAGE"][0])) - - # do the UI type - self._write(' <ProjectType>%s</ProjectType>' % self.pdata["PROJECTTYPE"][0]) - - # do description - if self.pdata["DESCRIPTION"]: - self._write(" <Description>%s</Description>" % \ - self.escape(self.encodedNewLines(self.pdata["DESCRIPTION"][0]))) - - # do version, author and email - for key in ["VERSION", "AUTHOR", "EMAIL"]: - element = key.capitalize() - if self.pdata[key]: - self._write(" <%s>%s</%s>" % \ - (element, self.escape(self.pdata[key][0]), element)) - - # do the translation pattern - if self.pdata["TRANSLATIONPATTERN"]: - self._write(" <TranslationPattern>%s</TranslationPattern>" % \ - Utilities.fromNativeSeparators(self.pdata["TRANSLATIONPATTERN"][0])) - - # do the binary translations path - if self.pdata["TRANSLATIONSBINPATH"]: - self._write(" <TranslationsBinPath>%s</TranslationsBinPath>" % \ - Utilities.fromNativeSeparators(self.pdata["TRANSLATIONSBINPATH"][0])) - - # do the sources - self._write(" <Sources>") - for name in self.pdata["SOURCES"]: - self._write(" <Source>%s</Source>" % \ - Utilities.fromNativeSeparators(name)) - self._write(" </Sources>") - - # do the forms - self._write(" <Forms>") - for name in self.pdata["FORMS"]: - self._write(" <Form>%s</Form>" % \ - Utilities.fromNativeSeparators(name)) - self._write(" </Forms>") - - # do the translations - self._write(" <Translations>") - for name in self.pdata["TRANSLATIONS"]: - self._write(" <Translation>%s</Translation>" % \ - Utilities.fromNativeSeparators(name)) - self._write(" </Translations>") - - # do the translation exceptions - if self.pdata["TRANSLATIONEXCEPTIONS"]: - self._write(" <TranslationExceptions>") - for name in self.pdata["TRANSLATIONEXCEPTIONS"]: - self._write(" <TranslationException>%s</TranslationException>" % \ - Utilities.fromNativeSeparators(name)) - self._write(" </TranslationExceptions>") - - # do the resources - self._write(" <Resources>") - for name in self.pdata["RESOURCES"]: - self._write(" <Resource>%s</Resource>" % \ - Utilities.fromNativeSeparators(name)) - self._write(" </Resources>") - - # do the interfaces (IDL) - self._write(" <Interfaces>") - for name in self.pdata["INTERFACES"]: - self._write(" <Interface>%s</Interface>" % \ - Utilities.fromNativeSeparators(name)) - self._write(" </Interfaces>") - - # do the others - self._write(" <Others>") - for name in self.pdata["OTHERS"]: - self._write(" <Other>%s</Other>" % \ - Utilities.fromNativeSeparators(name)) - self._write(" </Others>") - - # do the main script - if self.pdata["MAINSCRIPT"]: - self._write(" <MainScript>%s</MainScript>" % \ - Utilities.fromNativeSeparators(self.pdata["MAINSCRIPT"][0])) - - # do the vcs stuff - self._write(" <Vcs>") - if self.pdata["VCS"]: - self._write(" <VcsType>%s</VcsType>" % self.pdata["VCS"][0]) - if self.pdata["VCSOPTIONS"]: - self._write(" <VcsOptions>") - self._writeBasics(self.pdata["VCSOPTIONS"][0], 3) - self._write(" </VcsOptions>") - if self.pdata["VCSOTHERDATA"]: - self._write(" <VcsOtherData>") - self._writeBasics(self.pdata["VCSOTHERDATA"][0], 3) - self._write(" </VcsOtherData>") - self._write(" </Vcs>") - - # do the filetype associations - self._write(" <FiletypeAssociations>") - for pattern, filetype in list(self.pdata["FILETYPES"].items()): - self._write(' <FiletypeAssociation pattern="%s" type="%s" />' % \ - (pattern, filetype)) - self._write(" </FiletypeAssociations>") - - # do the lexer associations - if self.pdata["LEXERASSOCS"]: - self._write(" <LexerAssociations>") - for pattern, lexer in list(self.pdata["LEXERASSOCS"].items()): - self._write(' <LexerAssociation pattern="%s" lexer="%s" />' % \ - (pattern, lexer)) - self._write(" </LexerAssociations>") - - # do the extra project data stuff - if len(self.pdata["PROJECTTYPESPECIFICDATA"]): - self._write(" <ProjectTypeSpecific>") - if self.pdata["PROJECTTYPESPECIFICDATA"]: - self._write(" <ProjectTypeSpecificData>") - self._writeBasics(self.pdata["PROJECTTYPESPECIFICDATA"], 3) - self._write(" </ProjectTypeSpecificData>") - self._write(" </ProjectTypeSpecific>") - - # do the documentation generators stuff - if len(self.pdata["DOCUMENTATIONPARMS"]): - self._write(" <Documentation>") - if self.pdata["DOCUMENTATIONPARMS"]: - self._write(" <DocumentationParams>") - self._writeBasics(self.pdata["DOCUMENTATIONPARMS"], 3) - self._write(" </DocumentationParams>") - self._write(" </Documentation>") - - # do the packagers stuff - if len(self.pdata["PACKAGERSPARMS"]): - self._write(" <Packagers>") - if self.pdata["PACKAGERSPARMS"]: - self._write(" <PackagersParams>") - self._writeBasics(self.pdata["PACKAGERSPARMS"], 3) - self._write(" </PackagersParams>") - self._write(" </Packagers>") - - # do the checkers stuff - if len(self.pdata["CHECKERSPARMS"]): - self._write(" <Checkers>") - if self.pdata["CHECKERSPARMS"]: - self._write(" <CheckersParams>") - self._writeBasics(self.pdata["CHECKERSPARMS"], 3) - self._write(" </CheckersParams>") - self._write(" </Checkers>") - - # do the other tools stuff - if len(self.pdata["OTHERTOOLSPARMS"]): - self._write(" <OtherTools>") - if self.pdata["OTHERTOOLSPARMS"]: - self._write(" <OtherToolsParams>") - self._writeBasics(self.pdata["OTHERTOOLSPARMS"], 3) - self._write(" </OtherToolsParams>") - self._write(" </OtherTools>") - - self._write("</Project>", newline = False) \ No newline at end of file
--- a/E4XML/SessionHandler.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,403 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2003 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the handler class for reading an XML project session file. -""" - -from E4Gui.E4Application import e4App - -from .Config import sessionFileFormatVersion -from .XMLHandlerBase import XMLHandlerBase - -class SessionHandler(XMLHandlerBase): - """ - Class implementing a sax handler to read an XML project session file. - """ - def __init__(self, project): - """ - Constructor - - @param project Reference to the project object to store the - information into. - """ - XMLHandlerBase.__init__(self) - - self.startDocumentSpecific = self.startDocumentSession - - self.elements.update({ - 'Session' : (self.startSession, self.defaultEndElement), - 'MultiProject' : (self.defaultStartElement, self.endMultiProject), - 'Project' : (self.defaultStartElement, self.endProject), - 'Filename' : (self.startFilename, self.endFilename), - 'ActiveWindow' : (self.startFilename, self.endFilename), - 'Breakpoint' : (self.startBreakpoint, self.endBreakpoint), - 'BpFilename' : (self.defaultStartElement, self.endBFilename), - 'Linenumber' : (self.startLinenumber, self.defaultEndElement), - 'Condition' : (self.defaultStartElement, self.endCondition), - 'Enabled' : (self.startEnabled, self.defaultEndElement), - 'Temporary' : (self.startTemporary, self.defaultEndElement), - 'Count' : (self.startCount, self.defaultEndElement), - 'Watchexpression' : (self.startWatchexpression, self.endWatchexpression), - 'Special' : (self.defaultStartElement, self.endSpecial), - 'CommandLine' : (self.defaultStartElement, self.endCommandLine), - 'WorkingDirectory' : (self.defaultStartElement, self.endWorkingDirectory), - 'Environment' : (self.defaultStartElement, self.endEnvironment), - 'ReportExceptions' : (self.startReportExceptions, self.defaultEndElement), - 'Exceptions' : (self.startExceptions, self.endExceptions), - 'Exception' : (self.defaultStartElement, self.endException), - 'IgnoredExceptions' : (self.startIgnoredExceptions, self.endIgnoredExceptions), - 'IgnoredException' : (self.defaultStartElement, self.endIgnoredException), - 'AutoClearShell' : (self.startAutoClearShell, self.defaultEndElement), - 'TracePython' : (self.startTracePython, self.defaultEndElement), - 'AutoContinue' : (self.startAutoContinue, self.defaultEndElement), - 'Bookmark' : (self.startBookmark, self.endBookmark), - 'BmFilename' : (self.defaultStartElement, self.endBFilename), - - #################################################################### - ## backward compatibility - #################################################################### - 'Watchpoint' : (self.startWatchexpression, self.endWatchexpression), # 4.0 - 'CovexcPattern' : (self.defaultStartElement, self.defaultEndElement), # 4.3 - }) - - self.project = project - self.isGlobal = project is None - - self.project = e4App().getObject("Project") - self.multiProject = e4App().getObject("MultiProject") - self.vm = e4App().getObject("ViewManager") - self.dbg = e4App().getObject("DebugUI") - self.dbs = e4App().getObject("DebugServer") - - def startDocumentSession(self): - """ - Handler called, when the document parsing is started. - """ - if not self.isGlobal: - # clear all breakpoints and bookmarks first - # (in case we are rereading a session file) - files = self.project.getSources(True) - for file in files: - editor = self.vm.getOpenEditor(file) - if editor is not None: - editor.clearBookmarks() - self.dbs.getBreakPointModel().deleteAll() - self.version = '' - - ################################################### - ## below follow the individual handler functions - ################################################### - - def endMultiProject(self): - """ - Handler method for the "MultiProject" end tag. - """ - self.multiProject.openMultiProject(self.buffer, False) - - def endProject(self): - """ - Handler method for the "Project" end tag. - """ - self.project.openProject(self.buffer, False) - - def startFilename(self, attrs): - """ - Handler method for the "Filename" start tag. - - @param attrs list of tag attributes - """ - self.buffer = "" - self.cline = int(attrs.get("cline", "0")) - self.cindex = int(attrs.get("cindex", "0")) - - folds = attrs.get("folds", "") - if folds: - self.folds = [int(f) for f in folds.split(',')] - else: - self.folds = [] - - def endFilename(self): - """ - Handler method for the "Filename" end tag. - """ - self.vm.openFiles(self.buffer) - ed = self.vm.getOpenEditor(self.buffer) - if ed is not None: - if self.folds: - ed.recolor() - for line in self.folds: - ed.foldLine(line - 1) - ed.setCursorPosition(self.cline, self.cindex) - ed.ensureCursorVisible() - - def startBreakpoint(self, attrs): - """ - Handler method for the "Breakpoint" start tag. - - @param attrs list of tag attributes - """ - self.filename = "" - self.lineno = 0 - self.bpCond = "" - self.bpTemp = False - self.bpEnabled = True - self.bpCount = 0 - - def endBreakpoint(self): - """ - Handler method for the "Breakpoint" end tag. - """ - self.dbs.getBreakPointModel().addBreakPoint(self.filename, self.lineno, - (self.bpCond, self.bpTemp, self.bpEnabled, self.bpCount)) - - def startWatchexpression(self, attrs): - """ - Handler method for the "Watchexpression" start tag. - - @param attrs list of tag attributes - """ - self.bpCond = "" - self.bpTemp = False - self.bpEnabled = True - self.bpCount = 0 - self.wpSpecialCond = "" - - def endWatchexpression(self): - """ - Handler method for the "Watchexpression" end tag. - """ - self.dbs.getWatchPointModel().addWatchPoint(self.bpCond, - (self.bpTemp, self.bpEnabled, self.bpCount, self.wpSpecialCond)) - - def endBFilename(self): - """ - Handler method for the "BFilename" end tag. - """ - self.filename = self.buffer - - def startLinenumber(self, attrs): - """ - Handler method for the "Linenumber" start tag. - - @param attrs list of tag attributes - """ - self.lineno = int(attrs["value"]) - - def endCondition(self): - """ - Handler method for the "Condition" end tag. - """ - cond = self.unescape(self.buffer) - if cond == 'None': - self.bpCond = '' - else: - self.bpCond = cond - - def startEnabled(self, attrs): - """ - Handler method for the "Enabled" start tag. - - @param attrs list of tag attributes - """ - self.bpEnabled = attrs["value"] - if self.bpEnabled in ["True", "False"]: - self.bpEnabled = self.bpEnabled == "True" - else: - self.bpEnabled = bool(int(self.bpEnabled)) - - def startTemporary(self, attrs): - """ - Handler method for the "Temporary" start tag. - - @param attrs list of tag attributes - """ - self.bpTemp = attrs["value"] - if self.bpTemp in ["True", "False"]: - self.bpTemp = self.bpTemp == "True" - else: - self.bpTemp = bool(int(self.bpTemp)) - - def startCount(self, attrs): - """ - Handler method for the "Count" start tag. - - @param attrs list of tag attributes - """ - self.bpCount = int(attrs["value"]) - - def endSpecial(self): - """ - Handler method for the "Special" end tag. - """ - self.wpSpecialCond = self.buffer - - def endCommandLine(self): - """ - Handler method for the "CommandLine" end tag. - """ - self.buffer = self.unescape(self.buffer) - self.dbg.setArgvHistory(self.buffer) - if not self.isGlobal: - self.project.dbgCmdline = self.buffer - - def endWorkingDirectory(self): - """ - Handler method for the "WorkinDirectory" end tag. - """ - self.dbg.setWdHistory(self.buffer) - if not self.isGlobal: - self.project.dbgWd = self.buffer - - def endEnvironment(self): - """ - Handler method for the "Environment" end tag. - """ - self.dbg.setEnvHistory(self.buffer) - if not self.isGlobal: - self.project.dbgEnv = self.buffer - - def startReportExceptions(self, attrs): - """ - Handler method for the "ReportExceptions" start tag. - - @param attrs list of tag attributes - """ - exc = attrs.get("value", "False") - if exc in ["True", "False"]: - if exc == "True": - exc = True - else: - exc = False - else: - exc = bool(int(exc)) - self.dbg.setExceptionReporting(exc) - if not self.isGlobal: - self.project.dbgReportExceptions = exc - - def startExceptions(self, attrs): - """ - Handler method for the "Exceptions" start tag. - - @param attrs list of tag attributes - """ - self.dbgExcList = [] - - def endExceptions(self): - """ - Handler method for the "Exceptions" end tag. - """ - self.dbg.setExcList(self.dbgExcList) - if not self.isGlobal: - self.project.dbgExcList = self.dbgExcList[:] # keep a copy - - def endException(self): - """ - Handler method for the "Exception" end tag. - """ - self.dbgExcList.append(self.buffer) - - def startIgnoredExceptions(self, attrs): - """ - Handler method for the "IgnoredExceptions" start tag. - - @param attrs list of tag attributes - """ - self.dbgExcIgnoreList = [] - - def endIgnoredExceptions(self): - """ - Handler method for the "IgnoredExceptions" end tag. - """ - self.dbg.setExcIgnoreList(self.dbgExcIgnoreList) - if not self.isGlobal: - self.project.dbgExcIgnoreList = self.dbgExcIgnoreList[:] # keep a copy - - def endIgnoredException(self): - """ - Handler method for the "IgnoredException" end tag. - """ - self.dbgExcIgnoreList.append(self.buffer) - - def startAutoClearShell(self, attrs): - """ - Handler method for the "AutoClearShell" start tag. - - @param attrs list of tag attributes - """ - autoClearShell = attrs.get("value", "False") - if autoClearShell == "True": - autoClearShell = True - else: - autoClearShell = False - self.dbg.setAutoClearShell(autoClearShell) - if not self.isGlobal: - self.project.dbgAutoClearShell = autoClearShell - - def startTracePython(self, attrs): - """ - Handler method for the "TracePython" start tag. - - @param attrs list of tag attributes - """ - tracePython = attrs.get("value", "False") - if tracePython in ["True", "False"]: - if tracePython == "True": - tracePython = True - else: - tracePython = False - else: - tracePython = bool(int(tracePython)) - self.dbg.setTracePython(tracePython) - if not self.isGlobal: - self.project.dbgTracePython = tracePython - - def startAutoContinue(self, attrs): - """ - Handler method for the "AutoContinue" start tag. - - @param attrs list of tag attributes - """ - autoContinue = attrs.get("value", "False") - if autoContinue == "True": - autoContinue = True - else: - autoContinue = False - self.dbg.setAutoContinue(autoContinue) - if not self.isGlobal: - self.project.dbgAutoContinue = autoContinue - - def startBookmark(self, attrs): - """ - Handler method for the "Bookmark" start tag. - - @param attrs list of tag attributes - """ - self.filename = "" - self.lineno = 0 - - def endBookmark(self): - """ - Handler method for the "Bookmark" end tag. - """ - editor = self.vm.getOpenEditor(self.filename) - if editor is not None: - editor.toggleBookmark(self.lineno) - - def startSession(self, attrs): - """ - Handler method for the "Session" start tag. - - @param attrs list of tag attributes - """ - self.version = attrs.get('version', sessionFileFormatVersion) - - def getVersion(self): - """ - Public method to retrieve the version of the session. - - @return String containing the version number. - """ - return self.version
--- a/E4XML/SessionWriter.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,201 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the writer class for writing an XML project session file. -""" - -import os -import time - -from E4Gui.E4Application import e4App - -from .XMLWriterBase import XMLWriterBase -from .Config import sessionFileFormatVersion - -import Preferences - -class SessionWriter(XMLWriterBase): - """ - Class implementing the writer class for writing an XML project session file. - """ - def __init__(self, file, projectName): - """ - Constructor - - @param file open file (like) object for writing - @param projectName name of the project (string) or None for the - global session - """ - XMLWriterBase.__init__(self, file) - - self.name = projectName - self.project = e4App().getObject("Project") - self.multiProject = e4App().getObject("MultiProject") - self.vm = e4App().getObject("ViewManager") - self.dbg = e4App().getObject("DebugUI") - self.dbs = e4App().getObject("DebugServer") - - def writeXML(self): - """ - Public method to write the XML to the file. - """ - isGlobal = self.name is None - - XMLWriterBase.writeXML(self) - - self._write('<!DOCTYPE Session SYSTEM "Session-%s.dtd">' % \ - sessionFileFormatVersion) - - # add some generation comments - if not isGlobal: - self._write("<!-- eric5 session file for project %s -->" % self.name) - self._write("<!-- This file was generated automatically, do not edit. -->") - if Preferences.getProject("XMLTimestamp") or isGlobal: - self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) - - # add the main tag - self._write('<Session version="%s">' % sessionFileFormatVersion) - - # step 0: save open multi project and project for the global session - if isGlobal: - if self.multiProject.isOpen(): - self._write(' <MultiProject>%s</MultiProject>' % \ - self.multiProject.getMultiProjectFile()) - if self.project.isOpen(): - self._write(' <Project>%s</Project>' % \ - self.project.getProjectFile()) - - # step 1: save all open (project) filenames and the active window - allOpenFiles = self.vm.getOpenFilenames() - self._write(" <Filenames>") - for of in allOpenFiles: - if isGlobal or of.startswith(self.project.ppath): - ed = self.vm.getOpenEditor(of) - if ed is not None: - line, index = ed.getCursorPosition() - folds = ','.join([str(i + 1) for i in ed.getFolds()]) - else: - line, index = 0, 0 - folds = '' - self._write(' <Filename cline="%d" cindex="%d" folds="%s">%s</Filename>' % \ - (line, index, folds, of)) - self._write(" </Filenames>") - - aw = self.vm.getActiveName() - if aw and aw.startswith(self.project.ppath): - ed = self.vm.getOpenEditor(aw) - if ed is not None: - line, index = ed.getCursorPosition() - else: - line, index = 0, 0 - self._write(' <ActiveWindow cline="%d" cindex="%d">%s</ActiveWindow>' % \ - (line, index, aw)) - - # step 2a: save all breakpoints - allBreaks = Preferences.getProject("SessionAllBreakpoints") - projectFiles = self.project.getSources(True) - bpModel = self.dbs.getBreakPointModel() - self._write(" <Breakpoints>") - for row in range(bpModel.rowCount()): - index = bpModel.index(row, 0) - fname, lineno, cond, temp, enabled, count = \ - bpModel.getBreakPointByIndex(index)[:6] - if isGlobal or allBreaks or fname in projectFiles: - self._write(" <Breakpoint>") - self._write(" <BpFilename>%s</BpFilename>" % fname) - self._write(' <Linenumber value="%d" />' % lineno) - self._write(" <Condition>%s</Condition>" % self.escape(str(cond))) - self._write(' <Temporary value="%s" />' % temp) - self._write(' <Enabled value="%s" />' % enabled) - self._write(' <Count value="%d" />' % count) - self._write(" </Breakpoint>") - self._write(" </Breakpoints>") - - # step 2b: save all watch expressions - self._write(" <Watchexpressions>") - wpModel = self.dbs.getWatchPointModel() - for row in range(wpModel.rowCount()): - index = wpModel.index(row, 0) - cond, temp, enabled, count, special = wpModel.getWatchPointByIndex(index)[:5] - self._write(' <Watchexpression>') - self._write(" <Condition>%s</Condition>" % self.escape(str(cond))) - self._write(' <Temporary value="%s" />' % temp) - self._write(' <Enabled value="%s" />' % enabled) - self._write(' <Count value="%d" />' % count) - self._write(' <Special>%s</Special>' % special) - self._write(' </Watchexpression>') - self._write(' </Watchexpressions>') - - # step 3: save the debug info - self._write(" <DebugInfo>") - if isGlobal: - if len(self.dbg.argvHistory): - dbgCmdline = str(self.dbg.argvHistory[0]) - else: - dbgCmdline = "" - if len(self.dbg.wdHistory): - dbgWd = self.dbg.wdHistory[0] - else: - dbgWd = "" - if len(self.dbg.envHistory): - dbgEnv = self.dbg.envHistory[0] - else: - dbgEnv = "" - self._write(" <CommandLine>%s</CommandLine>" % self.escape(dbgCmdline)) - self._write(" <WorkingDirectory>%s</WorkingDirectory>" % dbgWd) - self._write(" <Environment>%s</Environment>" % dbgEnv) - self._write(' <ReportExceptions value="%s" />' % self.dbg.exceptions) - self._write(" <Exceptions>") - for exc in self.dbg.excList: - self._write(" <Exception>%s</Exception>" % exc) - self._write(" </Exceptions>") - self._write(" <IgnoredExceptions>") - for iexc in self.dbg.excIgnoreList: - self._write(" <IgnoredException>%s</IgnoredException>" % iexc) - self._write(" </IgnoredExceptions>") - self._write(' <AutoClearShell value="%s" />' % self.dbg.autoClearShell) - self._write(' <TracePython value="%s" />' % self.dbg.tracePython) - self._write(' <AutoContinue value="%s" />' % self.dbg.autoContinue) - self._write(" <CovexcPattern></CovexcPattern>") # kept for compatibility - else: - self._write(" <CommandLine>%s</CommandLine>" % \ - self.escape(str(self.project.dbgCmdline))) - self._write(" <WorkingDirectory>%s</WorkingDirectory>" % \ - self.project.dbgWd) - self._write(" <Environment>%s</Environment>" % \ - self.project.dbgEnv) - self._write(' <ReportExceptions value="%s" />' % \ - self.project.dbgReportExceptions) - self._write(" <Exceptions>") - for exc in self.project.dbgExcList: - self._write(" <Exception>%s</Exception>" % exc) - self._write(" </Exceptions>") - self._write(" <IgnoredExceptions>") - for iexc in self.project.dbgExcIgnoreList: - self._write(" <IgnoredException>%s</IgnoredException>" % iexc) - self._write(" </IgnoredExceptions>") - self._write(' <AutoClearShell value="%s" />' % \ - self.project.dbgAutoClearShell) - self._write(' <TracePython value="%s" />' % \ - self.project.dbgTracePython) - self._write(' <AutoContinue value="%s" />' % \ - self.project.dbgAutoContinue) - self._write(" <CovexcPattern></CovexcPattern>") # kept for compatibility - self._write(" </DebugInfo>") - - # step 4: save bookmarks of all open (project) files - self._write(" <Bookmarks>") - for of in allOpenFiles: - if isGlobal or of.startswith(self.project.ppath): - editor = self.vm.getOpenEditor(of) - for bookmark in editor.getBookmarks(): - self._write(" <Bookmark>") - self._write(" <BmFilename>%s</BmFilename>" % of) - self._write(' <Linenumber value="%d" />' % bookmark) - self._write(" </Bookmark>") - self._write(" </Bookmarks>") - - self._write("</Session>", newline = False) \ No newline at end of file
--- a/E4XML/ShortcutsHandler.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2003 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the handler class for reading a keyboard shortcuts file. -""" - -from .Config import shortcutsFileFormatVersion -from .XMLHandlerBase import XMLHandlerBase - -class ShortcutsHandler(XMLHandlerBase): - """ - Class implementing a sax handler to read a keyboard shortcuts file. - """ - def __init__(self): - """ - Constructor - """ - XMLHandlerBase.__init__(self) - - self.startDocumentSpecific = self.startDocumentShortcuts - - self.elements.update({ - 'Shortcuts' : (self.startShortcuts, self.defaultEndElement), - 'Shortcut' : (self.startShortcut, self.endShortcut), - 'Name' : (self.defaultStartElement, self.endName), - 'Accel' : (self.defaultStartElement, self.endAccel), - 'AltAccel' : (self.defaultStartElement, self.endAltAccel), - }) - - def startDocumentShortcuts(self): - """ - Handler called, when the document parsing is started. - """ - self.shortcuts = {} # dictionary for storing the shortcuts - self.version = '' - - ################################################### - ## below follow the individual handler functions - ################################################### - - def endName(self): - """ - Handler method for the "Name" end tag. - """ - self.name = self.buffer - - def endAccel(self): - """ - Handler method for the "Accel" end tag. - """ - self.accel = self.unescape(self.buffer) - - def endAltAccel(self): - """ - Handler method for the "AltAccel" end tag. - """ - self.altAccel = self.unescape(self.buffer) - - def startShortcut(self, attrs): - """ - Handler method for the "Shortcut" start tag. - - @param attrs list of tag attributes - """ - self.name = '' - self.accel = '' - self.altAccel = '' - self.category = attrs.get('category', '') - - def endShortcut(self): - """ - Handler method for the "Shortcut" end tag. - """ - if self.category: - if self.category not in self.shortcuts: - self.shortcuts[self.category] = {} - self.shortcuts[self.category][self.name] = (self.accel, self.altAccel) - - def startShortcuts(self, attrs): - """ - Handler method for the "Shortcuts" start tag. - - @param attrs list of tag attributes - """ - self.version = attrs.get('version', shortcutsFileFormatVersion) - - def getShortcuts(self): - """ - Public method to retrieve the shortcuts. - - @return Dictionary of dictionaries of shortcuts. The keys of the - dictionary are the categories, the values are dictionaries. - These dictionaries have the shortcut name as their key and - a tuple of accelerators as their value. - """ - return self.shortcuts - - def getVersion(self): - """ - Public method to retrieve the version of the shortcuts. - - @return String containing the version number. - """ - return self.version
--- a/E4XML/ShortcutsWriter.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,183 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the writer class for writing an XML shortcuts file. -""" - -import time - -from E4Gui.E4Application import e4App - -from .XMLWriterBase import XMLWriterBase -from .Config import shortcutsFileFormatVersion - -import Preferences - -class ShortcutsWriter(XMLWriterBase): - """ - Class implementing the writer class for writing an XML shortcuts file. - """ - def __init__(self, file): - """ - Constructor - - @param file open file (like) object for writing - """ - XMLWriterBase.__init__(self, file) - - self.email = Preferences.getUser("Email") - - def writeXML(self): - """ - Public method to write the XML to the file. - """ - XMLWriterBase.writeXML(self) - - self._write('<!DOCTYPE Shortcuts SYSTEM "Shortcuts-%s.dtd">' % \ - shortcutsFileFormatVersion) - - # add some generation comments - self._write("<!-- Eric5 keyboard shortcuts -->") - self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) - self._write("<!-- Author: %s -->" % self.escape("%s" % self.email)) - - # add the main tag - self._write('<Shortcuts version="%s">' % shortcutsFileFormatVersion) - - for act in e4App().getObject("Project").getActions(): - self._write(' <Shortcut category="Project">') - self._write(' <Name>%s</Name>' % act.objectName()) - self._write(' <Accel>%s</Accel>' % \ - self.escape("%s" % act.shortcut().toString())) - self._write(' <AltAccel>%s</AltAccel>' \ - % self.escape("%s" % act.alternateShortcut().toString())) - self._write(' </Shortcut>') - - for act in e4App().getObject("UserInterface").getActions('ui'): - self._write(' <Shortcut category="General">') - self._write(' <Name>%s</Name>' % act.objectName()) - self._write(' <Accel>%s</Accel>' % \ - self.escape("%s" % act.shortcut().toString())) - self._write(' <AltAccel>%s</AltAccel>' % \ - self.escape("%s" % act.alternateShortcut().toString())) - self._write(' </Shortcut>') - - for act in e4App().getObject("UserInterface").getActions('wizards'): - self._write(' <Shortcut category="Wizards">') - self._write(' <Name>%s</Name>' % act.objectName()) - self._write(' <Accel>%s</Accel>' % \ - self.escape("%s" % act.shortcut().toString())) - self._write(' <AltAccel>%s</AltAccel>' % \ - self.escape("%s" % act.alternateShortcut().toString())) - self._write(' </Shortcut>') - - for act in e4App().getObject("DebugUI").getActions(): - self._write(' <Shortcut category="Debug">') - self._write(' <Name>%s</Name>' % act.objectName()) - self._write(' <Accel>%s</Accel>' % \ - self.escape("%s" % act.shortcut().toString())) - self._write(' <AltAccel>%s</AltAccel>' % \ - self.escape("%s" % act.alternateShortcut().toString())) - self._write(' </Shortcut>') - - for act in e4App().getObject("ViewManager").getActions('edit'): - self._write(' <Shortcut category="Edit">') - self._write(' <Name>%s</Name>' % act.objectName()) - self._write(' <Accel>%s</Accel>' % \ - self.escape("%s" % act.shortcut().toString())) - self._write(' <AltAccel>%s</AltAccel>' % \ - self.escape("%s" % act.alternateShortcut().toString())) - self._write(' </Shortcut>') - - for act in e4App().getObject("ViewManager").getActions('file'): - self._write(' <Shortcut category="File">') - self._write(' <Name>%s</Name>' % act.objectName()) - self._write(' <Accel>%s</Accel>' % \ - self.escape("%s" % act.shortcut().toString())) - self._write(' <AltAccel>%s</AltAccel>' % \ - self.escape("%s" % act.alternateShortcut().toString())) - self._write(' </Shortcut>') - - for act in e4App().getObject("ViewManager").getActions('search'): - self._write(' <Shortcut category="Search">') - self._write(' <Name>%s</Name>' % act.objectName()) - self._write(' <Accel>%s</Accel>' % \ - self.escape("%s" % act.shortcut().toString())) - self._write(' <AltAccel>%s</AltAccel>' % \ - self.escape("%s" % act.alternateShortcut().toString())) - self._write(' </Shortcut>') - - for act in e4App().getObject("ViewManager").getActions('view'): - self._write(' <Shortcut category="View">') - self._write(' <Name>%s</Name>' % act.objectName()) - self._write(' <Accel>%s</Accel>' % \ - self.escape("%s" % act.shortcut().toString())) - self._write(' <AltAccel>%s</AltAccel>' % \ - self.escape("%s" % act.alternateShortcut().toString())) - self._write(' </Shortcut>') - - for act in e4App().getObject("ViewManager").getActions('macro'): - self._write(' <Shortcut category="Macro">') - self._write(' <Name>%s</Name>' % act.objectName()) - self._write(' <Accel>%s</Accel>' % \ - self.escape("%s" % act.shortcut().toString())) - self._write(' <AltAccel>%s</AltAccel>' % \ - self.escape("%s" % act.alternateShortcut().toString())) - self._write(' </Shortcut>') - - for act in e4App().getObject("ViewManager").getActions('bookmark'): - self._write(' <Shortcut category="Bookmarks">') - self._write(' <Name>%s</Name>' % act.objectName()) - self._write(' <Accel>%s</Accel>' % \ - self.escape("%s" % act.shortcut().toString())) - self._write(' <AltAccel>%s</AltAccel>' % \ - self.escape("%s" % act.alternateShortcut().toString())) - self._write(' </Shortcut>') - - for act in e4App().getObject("ViewManager").getActions('spelling'): - self._write(' <Shortcut category="Spelling">') - self._write(' <Name>%s</Name>' % act.objectName()) - self._write(' <Accel>%s</Accel>' % \ - self.escape("%s" % act.shortcut().toString())) - self._write(' <AltAccel>%s</AltAccel>' % \ - self.escape("%s" % act.alternateShortcut().toString())) - self._write(' </Shortcut>') - - actions = e4App().getObject("ViewManager").getActions('window') - for act in actions: - self._write(' <Shortcut category="Window">') - self._write(' <Name>%s</Name>' % act.objectName()) - self._write(' <Accel>%s</Accel>' % \ - self.escape("%s" % act.shortcut().toString())) - self._write(' <AltAccel>%s</AltAccel>' % \ - self.escape("%s" % act.alternateShortcut().toString())) - self._write(' </Shortcut>') - - for category, ref in e4App().getPluginObjects(): - if hasattr(ref, "getActions"): - actions = ref.getActions() - for act in actions: - if act.objectName(): - # shortcuts are only exported, if their objectName is set - self._write(' <Shortcut category="%s">' % category) - self._write(' <Name>%s</Name>' % act.objectName()) - self._write(' <Accel>%s</Accel>' % \ - self.escape("%s" % act.shortcut().toString())) - self._write(' <AltAccel>%s</AltAccel>' % \ - self.escape("%s" % act.alternateShortcut().toString())) - self._write(' </Shortcut>') - - for act in e4App().getObject("DummyHelpViewer").getActions(): - self._write(' <Shortcut category="HelpViewer">') - self._write(' <Name>%s</Name>' % act.objectName()) - self._write(' <Accel>%s</Accel>' % \ - self.escape("%s" % act.shortcut().toString())) - self._write(' <AltAccel>%s</AltAccel>' \ - % self.escape("%s" % act.alternateShortcut().toString())) - self._write(' </Shortcut>') - - # add the main end tag - self._write("</Shortcuts>", newline = False)
--- a/E4XML/TasksHandler.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,197 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2005 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the handler class for reading an XML tasks file. -""" - -import os -import time - -from E4Gui.E4Application import e4App - -from .Config import tasksFileFormatVersion -from .XMLHandlerBase import XMLHandlerBase - -import Utilities - -class TasksHandler(XMLHandlerBase): - """ - Class implementing a sax handler to read an XML tasks file. - """ - def __init__(self, forProject = False, taskViewer=None): - """ - Constructor - - @param forProject flag indicating project related mode (boolean) - @param taskViewer reference to the task viewer object - """ - XMLHandlerBase.__init__(self) - - self.startDocumentSpecific = self.startDocumentTasks - - self.elements.update({ - 'Tasks' : (self.startTasks, self.defaultEndElement), - 'Summary' : (self.defaultStartElement, self.endSummary), - 'Description' : (self.defaultStartElement, self.endDescription), - 'Created' : (self.defaultStartElement, self.endCreated), - 'Dir' : (self.defaultStartElement, self.endDir), - 'Name' : (self.defaultStartElement, self.endName), - 'Filename' : (self.startFilename, self.endFilename), - 'Linenumber' : (self.defaultStartElement, self.endLinenumber), - 'Task' : (self.startTask, self.endTask), - }) - - self.forProject = forProject - if taskViewer: - self.taskViewer = taskViewer - else: - self.taskViewer = e4App().getObject("TaskViewer") - - def startDocumentTasks(self): - """ - Handler called, when the document parsing is started. - """ - self.version = '' - self.pathStack = [] - - ################################################### - ## below follow the individual handler functions - ################################################### - - def startTask(self, attrs): - """ - Handler method for the "Task" start tag. - - @param attrs list of tag attributes - """ - self.task = {"summary" : "", - "priority" : 1, - "completed" : False, - "created" : 0, - "filename" : "", - "linenumber" : 0, - "bugfix" : False, - "description" : "", - } - self.task["priority"] = int(attrs.get("priority", "1")) - - val = attrs.get("completed", "False") - if val in ["True", "False"]: - val = (val == "True") - else: - val = bool(int(val)) - self.task["completed"] = val - - val = attrs.get("bugfix", "False") - if val in ["True", "False"]: - val = (val == "True") - else: - val = bool(int(val)) - self.task["bugfix"] = val - - def endTask(self): - """ - Handler method for the "Task" end tag. - """ - self.taskViewer.addTask(self.task["summary"], priority = self.task["priority"], - filename = self.task["filename"], lineno = self.task["linenumber"], - completed = self.task["completed"], - _time = self.task["created"], isProjectTask = self.forProject, - isBugfixTask = self.task["bugfix"], longtext = self.task["description"]) - - def endSummary(self): - """ - Handler method for the "Summary" end tag. - """ - self.task["summary"] = self.unescape(self.buffer) - - def endDescription(self): - """ - Handler method for the "Description" end tag. - """ - if self.version < '4.1': - self.task["summary"] = self.unescape(self.buffer) - elif self.version == '4.1': - self.task["description"] = self.unescape(self.buffer) - else: - self.buffer = self.unescape(self.buffer) - self.task["description"] = self.decodedNewLines(self.buffer) - - def endCreated(self): - """ - Handler method for the "Created" end tag. - """ - self.task["created"] = \ - time.mktime(time.strptime(self.buffer, "%Y-%m-%d, %H:%M:%S")) - - def endDir(self): - """ - Handler method for the "Dir" end tag. - """ - self.pathStack.append(self.buffer) - - def endName(self): - """ - Handler method for the "Name" end tag. - """ - self.pathStack.append(self.buffer) - - def endLinenumber(self): - """ - Handler method for the "Linenumber" end tag. - """ - try: - self.task["linenumber"] = int(self.buffer) - except ValueError: - pass - - def startFilename(self, attrs): - """ - Handler method for the "Filename" start tag. - - @param attrs list of tag attributes - """ - self.pathStack = [] - self.buffer = "" - - def endFilename(self): - """ - Handler method for the "Filename" end tag. - """ - if self.version >= '4.2': - self.task["filename"] = \ - Utilities.toNativeSeparators(self.buffer) - else: - self.task["filename"] = self.__buildPath() - - def __buildPath(self): - """ - Private method to assemble a path. - - @return The ready assembled path. (string) - """ - path = "" - if self.pathStack and not self.pathStack[0]: - self.pathStack[0] = os.sep - for p in self.pathStack: - path = os.path.join(path, p) - return path - - def startTasks(self, attrs): - """ - Handler method for the "Tasks" start tag. - - @param attrs list of tag attributes - """ - self.version = attrs.get('version', tasksFileFormatVersion) - - def getVersion(self): - """ - Public method to retrieve the version of the tasks file. - - @return String containing the version number. - """ - return self.version
--- a/E4XML/TasksWriter.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,80 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2005 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the writer class for writing an XML tasks file. -""" - -import os -import time - -from E4Gui.E4Application import e4App - -from .XMLWriterBase import XMLWriterBase -from .Config import tasksFileFormatVersion - -import Preferences -import Utilities - -class TasksWriter(XMLWriterBase): - """ - Class implementing the writer class for writing an XML tasks file. - """ - def __init__(self, file, forProject = False, projectName=""): - """ - Constructor - - @param file open file (like) object for writing - @param forProject flag indicating project related mode (boolean) - @param projectName name of the project (string) - """ - XMLWriterBase.__init__(self, file) - - self.name = projectName - self.forProject = forProject - - def writeXML(self): - """ - Public method to write the XML to the file. - """ - XMLWriterBase.writeXML(self) - - self._write('<!DOCTYPE Tasks SYSTEM "Tasks-%s.dtd">' % tasksFileFormatVersion) - - # add some generation comments - if self.forProject: - self._write("<!-- eric5 tasks file for project %s -->" % self.name) - if Preferences.getProject("XMLTimestamp"): - self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) - else: - self._write("<!-- eric5 tasks file -->") - self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) - - # add the main tag - self._write('<Tasks version="%s">' % tasksFileFormatVersion) - - # do the tasks - if self.forProject: - tasks = e4App().getObject("TaskViewer").getProjectTasks() - else: - tasks = e4App().getObject("TaskViewer").getGlobalTasks() - for task in tasks: - self._write(' <Task priority="%d" completed="%s" bugfix="%s">' % \ - (task.priority, task.completed, task.isBugfixTask)) - self._write(' <Summary>%s</Summary>' % \ - self.escape("%s" % task.description.strip())) - self._write(' <Description>%s</Description>' % \ - self.escape(self.encodedNewLines(task.longtext.strip()))) - self._write(' <Created>%s</Created>' % \ - time.strftime("%Y-%m-%d, %H:%M:%S", time.localtime(task.created))) - if task.filename: - self._write(' <Resource>') - self._write(' <Filename>%s</Filename>' % \ - Utilities.fromNativeSeparators(task.filename)) - self._write(' <Linenumber>%d</Linenumber>' % task.lineno) - self._write(' </Resource>') - self._write(' </Task>') - - self._write('</Tasks>', newline = False) \ No newline at end of file
--- a/E4XML/TemplatesHandler.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,111 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2005 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the handler class for reading an XML templates file. -""" - -import os -import time - -from E4Gui.E4Application import e4App - -from .Config import templatesFileFormatVersion -from .XMLHandlerBase import XMLHandlerBase - -class TemplatesHandler(XMLHandlerBase): - """ - Class implementing a sax handler to read an XML templates file. - """ - def __init__(self, templateViewer=None): - """ - Constructor - - @param templateViewer reference to the template viewer object - """ - XMLHandlerBase.__init__(self) - - self.startDocumentSpecific = self.startDocumentTemplates - - self.elements.update({ - 'Templates' : (self.startTemplates, self.defaultEndElement), - 'TemplateGroup' : (self.startTemplateGroup, self.defaultEndElement), - 'Template' : (self.startTemplate, self.endTemplate), - 'TemplateDescription' : (self.defaultStartElement, - self.endTemplateDescription), - 'TemplateText' : (self.defaultStartElement, self.endTemplateText), - }) - - if templateViewer: - self.viewer = templateViewer - else: - self.viewer = e4App().getObject("TemplateViewer") - - def startDocumentTemplates(self): - """ - Handler called, when the document parsing is started. - """ - self.version = '' - - ################################################### - ## below follow the individual handler functions - ################################################### - - def startTemplateGroup(self, attrs): - """ - Handler method for the "TemplateGroup" start tag. - - @param attrs list of tag attributes - """ - self.groupName = attrs.get('name', "DEFAULT") - language = attrs.get('language', "All") - self.viewer.addGroup(self.groupName, language) - - def startTemplate(self, attrs): - """ - Handler method for the "Template" start tag. - - @param attrs list of tag attributes - """ - self.templateName = attrs.get('name', '') - self.templateDescription = "" - self.templateText = "" - - def endTemplate(self): - """ - Handler method for the "Template" end tag. - """ - if self.templateName and self.templateText: - self.viewer.addEntry(self.groupName, self.templateName, - self.templateDescription, self.templateText, - quiet=True) - - def endTemplateText(self): - """ - Handler method for the "TemplateText" end tag. - """ - self.templateText = self.unescape(self.buffer) - - def endTemplateDescription(self): - """ - Handler method for the "TemplateDescription" end tag. - """ - self.templateDescription = self.unescape(self.buffer) - - def startTemplates(self, attrs): - """ - Handler method for the "Templates" start tag. - - @param attrs list of tag attributes - """ - self.version = attrs.get('version', templatesFileFormatVersion) - - def getVersion(self): - """ - Public method to retrieve the version of the templates. - - @return String containing the version number. - """ - return self.version
--- a/E4XML/TemplatesWriter.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,63 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2005 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the writer class for writing an XML templates file. -""" - -import os -import time - -from .XMLWriterBase import XMLWriterBase -from .Config import templatesFileFormatVersion - -class TemplatesWriter(XMLWriterBase): - """ - Class implementing the writer class for writing an XML templates file. - """ - def __init__(self, file, templatesViewer): - """ - Constructor - - @param file open file (like) object for writing - """ - XMLWriterBase.__init__(self, file) - - self.templatesViewer = templatesViewer - - def writeXML(self): - """ - Public method to write the XML to the file. - """ - XMLWriterBase.writeXML(self) - - self._write('<!DOCTYPE Templates SYSTEM "Templates-%s.dtd">' % \ - templatesFileFormatVersion) - - # add some generation comments - self._write("<!-- eric5 templates file -->") - self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) - - # add the main tag - self._write('<Templates version="%s">' % templatesFileFormatVersion) - - # do the template groups - groups = self.templatesViewer.getAllGroups() - for group in groups: - self._write(' <TemplateGroup name="%s" language="%s">' % \ - (group.getName(), group.getLanguage())) - # do the templates - templates = group.getAllEntries() - for template in templates: - self._write(' <Template name="%s">' % \ - self.escape(template.getName(), True)) - self._write(' <TemplateDescription>%s</TemplateDescription>' % \ - self.escape("%s" % template.getDescription())) - self._write(' <TemplateText>%s</TemplateText>' % \ - self.escape("%s" % template.getTemplateText())) - self._write(' </Template>') - self._write(' </TemplateGroup>') - - self._write('</Templates>', newline = False) \ No newline at end of file
--- a/E4XML/UserProjectHandler.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,80 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2006 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the handler class for reading an XML user project properties file. -""" - -import os - -from .Config import userProjectFileFormatVersion -from .XMLHandlerBase import XMLHandlerBase - -import Preferences - -class UserProjectHandler(XMLHandlerBase): - """ - Class implementing a sax handler to read an XML user project properties file. - """ - def __init__(self, project): - """ - Constructor - - @param project Reference to the project object to store the - information into. - """ - XMLHandlerBase.__init__(self) - - self.startDocumentSpecific = self.startDocumentProject - - self.elements.update({ - 'UserProject' : (self.startUserProject, self.defaultEndElement), - 'VcsType' : (self.defaultStartElement, self.endVcsType), - 'VcsStatusMonitorInterval' : (self.startVcsStatusMonitorInterval, - self.defaultEndElement), - }) - - self.project = project - - def startDocumentProject(self): - """ - Handler called, when the document parsing is started. - """ - self.version = '' - - ################################################### - ## below follow the individual handler functions - ################################################### - - def endVcsType(self): - """ - Handler method for the "VcsType" end tag. - """ - self.project.pudata["VCSOVERRIDE"] = [self.buffer] - - def startVcsStatusMonitorInterval(self, attrs): - """ - Handler method for the "VcsStatusMonitorInterval" start tag. - - @param attrs list of tag attributes - """ - interval = int(attrs.get("value", Preferences.getVCS("StatusMonitorInterval"))) - self.project.pudata["VCSSTATUSMONITORINTERVAL"] = [interval] - - def startUserProject(self, attrs): - """ - Handler method for the "UserProject" start tag. - - @param attrs list of tag attributes - """ - self.version = attrs.get('version', userProjectFileFormatVersion) - - def getVersion(self): - """ - Public method to retrieve the version of the user project file. - - @return String containing the version number. - """ - return self.version
--- a/E4XML/UserProjectWriter.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,64 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2006 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing the writer class for writing an XML user project properties file. -""" - -import time - -from E4Gui.E4Application import e4App - -from .XMLWriterBase import XMLWriterBase -from .Config import userProjectFileFormatVersion - -import Preferences - -class UserProjectWriter(XMLWriterBase): - """ - Class implementing the writer class for writing an XML user project properties file. - """ - def __init__(self, file, projectName): - """ - Constructor - - @param file open file (like) object for writing - @param projectName name of the project (string) - """ - XMLWriterBase.__init__(self, file) - - self.pudata = e4App().getObject("Project").pudata - self.pdata = e4App().getObject("Project").pdata - self.name = projectName - - def writeXML(self): - """ - Public method to write the XML to the file. - """ - XMLWriterBase.writeXML(self) - - self._write('<!DOCTYPE UserProject SYSTEM "UserProject-%s.dtd">' % \ - userProjectFileFormatVersion) - - # add some generation comments - self._write("<!-- eric5 user project file for project %s -->" % self.name) - if Preferences.getProject("XMLTimestamp"): - self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) - self._write("<!-- Copyright (C) %s %s, %s -->" % \ - (time.strftime('%Y'), - self.escape(self.pdata["AUTHOR"][0]), - self.escape(self.pdata["EMAIL"][0]))) - - # add the main tag - self._write('<UserProject version="%s">' % userProjectFileFormatVersion) - - # do the vcs override stuff - if self.pudata["VCSOVERRIDE"]: - self._write(" <VcsType>%s</VcsType>" % self.pudata["VCSOVERRIDE"][0]) - if self.pudata["VCSSTATUSMONITORINTERVAL"]: - self._write(' <VcsStatusMonitorInterval value="%d" />' % \ - self.pudata["VCSSTATUSMONITORINTERVAL"][0]) - - self._write("</UserProject>", newline = False) \ No newline at end of file
--- a/E4XML/XMLEntityResolver.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,48 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing a specialized entity resolver to find our DTDs. -""" - -import os.path -from xml.sax.handler import EntityResolver - -import Utilities - -from eric5config import getConfig - -class XMLEntityResolver(EntityResolver): - """ - Class implementing a specialized entity resolver to find our DTDs. - """ - def resolveEntity(self, publicId, systemId): - """ - Public method to resolve the system identifier of an entity and - return either the system identifier to read from as a string. - - @param publicId publicId of an entity (string) - @param systemId systemId of an entity to reslove (string) - @return resolved systemId (string) - """ - if systemId.startswith('http://'): - sId = systemId - - elif os.path.exists(systemId): - sId = systemId - - else: - dtdDir = getConfig('ericDTDDir') - if not os.path.isabs(dtdDir): - dtdDir = os.path.abspath(dtdDir) - sId = os.path.join(dtdDir, systemId) - if not os.path.exists(sId): - ind = sId.rfind('-') - if ind != -1: - sId = "%s.dtd" % sId[:ind] - if not os.path.exists(sId): - sId = "" - - return sId \ No newline at end of file
--- a/E4XML/XMLErrorHandler.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing an error handler class. -""" - -from xml.sax.handler import ErrorHandler -from xml.sax import SAXParseException - -from .XMLMessageDialog import XMLMessageDialog - -class XMLParseError(Exception): - """ - Class implementing an exception for recoverable parse errors. - """ - pass - -class XMLFatalParseError(XMLParseError): - """ - Class implementing an exception for recoverable parse errors. - """ - pass - -class XMLErrorHandler(ErrorHandler): - """ - Class implementing an error handler class. - """ - def __init__(self): - """ - Constructor - """ - self.errors = 0 - self.fatals = 0 - self.warnings = 0 - self.totals = 0 - - # list of tuples of (message type, system id, line number, - # column number, message) - self.msgs = [] - - def error(self, exception): - """ - Public method to handle a recoverable error. - - @param exception Exception object describing the error (SAXParseException) - """ - self.errors += 1 - self.totals += 1 - self.msgs.append((\ - "E", - exception.getSystemId(), - exception.getLineNumber(), - exception.getColumnNumber(), - exception.getMessage() - )) - - def fatalError(self, exception): - """ - Public method to handle a non-recoverable error. - - @param exception Exception object describing the error (SAXParseException) - @exception XMLFatalParseError a fatal parse error has occured - """ - self.fatals += 1 - self.totals += 1 - self.msgs.append((\ - "F", - exception.getSystemId(), - exception.getLineNumber(), - exception.getColumnNumber(), - exception.getMessage() - )) - raise XMLFatalParseError - - def warning(self, exception): - """ - Public method to handle a warning. - - @param exception Exception object describing the error (SAXParseException) - """ - self.warnings += 1 - self.totals += 1 - self.msgs.append((\ - "W", - exception.getSystemId(), - exception.getLineNumber(), - exception.getColumnNumber(), - exception.getMessage() - )) - - def getParseMessages(self): - """ - Public method to retrieve all messages. - - @return list of tuples of (message type, system id, line no, column no, - message) - """ - return self.msgs - - def showParseMessages(self): - """ - Public method to show the parse messages (if any) in a dialog. - """ - if self.totals: - dlg = XMLMessageDialog(self.msgs, None) - dlg.exec_()
--- a/E4XML/XMLHandlerBase.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,302 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing a base class for all of eric5s XML handlers. -""" - -import sys -import pickle -import base64 - -from xml.sax.handler import ContentHandler - -class XMLHandlerBase(ContentHandler): - """ - Class implementing the base class for al of eric5s XML handlers. - """ - def __init__(self): - """ - Constructor - """ - self.startDocumentSpecific = None - - self.elements = { - 'none' : (self.defaultStartElement, self.endNone), - 'int' : (self.defaultStartElement, self.endInt), - 'float' : (self.defaultStartElement, self.endFloat), - 'complex' : (self.defaultStartElement, self.endComplex), - 'bool' : (self.defaultStartElement, self.endBool), - 'string' : (self.defaultStartElement, self.endString), - 'bytes' : (self.defaultStartElement, self.endBytes), - 'bytearray' : (self.defaultStartElement, self.endBytearray), - 'tuple' : (self.startTuple, self.endTuple), - 'list' : (self.startList, self.endList), - 'dict' : (self.startDictionary, self.endDictionary), - 'set' : (self.startSet, self.endSet), - 'frozenset' : (self.startFrozenset, self.endFrozenset), - 'pickle' : (self.startPickle, self.endPickle), - # for backward compatibility - 'long' : (self.defaultStartElement, self.endInt), - 'unicode' : (self.defaultStartElement, self.endString), - } - - self.buffer = "" - self.stack = [] - self._marker = '__MARKER__' - - self.NEWPARA = chr(0x2029) - self.NEWLINE = chr(0x2028) - - def unescape(self, text, attribute = False): - """ - Public method used to unescape certain characters. - - @param text the text to unescape (string) - @param attribute flag indicating unescaping is done for an attribute - """ - if attribute: - return text.replace(""",'"').replace(">",">")\ - .replace("<","<").replace("&","&") - else: - return text.replace(">",">").replace("<","<").replace("&","&") - - def decodedNewLines(self, text): - """ - Public method to decode newlines and paragraph breaks. - - @param text text to decode (string or QString) - """ - return text.replace(self.NEWPARA, "\n\n").replace(self.NEWLINE, "\n") - - def startDocument(self): - """ - Handler called, when the document parsing is started. - """ - self.buffer = "" - if self.startDocumentSpecific is not None: - self.startDocumentSpecific() - - def startElement(self, name, attrs): - """ - Handler called, when a starting tag is found. - - @param name name of the tag (string) - @param attrs list of tag attributes - """ - try: - self.elements[name][0](attrs) - except KeyError: - pass - - def endElement(self, name): - """ - Handler called, when an ending tag is found. - - @param name name of the tag (string) - """ - try: - self.elements[name][1]() - except KeyError: - pass - - def characters(self, chars): - """ - Handler called for ordinary text. - - @param chars the scanned text (string) - """ - self.buffer += chars - - def defaultStartElement(self, attrs): - """ - Handler method for common start tags. - - @param attrs list of tag attributes - """ - self.buffer = "" - - def defaultEndElement(self): - """ - Handler method for the common end tags. - """ - pass - - def _prepareBasics(self): - """ - Protected method to prepare the parsing of XML for basic python types. - """ - self.stack = [] - - ############################################################################ - ## The various handler methods for basic types - ############################################################################ - - def endNone(self): - """ - Handler method for the "none" end tag. - """ - self.stack.append(None) - - def endInt(self): - """ - Handler method for the "int" end tag. - """ - self.stack.append(int(self.buffer.strip())) - - def endBool(self): - """ - Handler method for the "bool" end tag. - """ - if self.buffer.strip() == "True": - self.stack.append(True) - else: - self.stack.append(False) - - def endFloat(self): - """ - Handler method for the "float" end tag. - """ - self.stack.append(float(self.buffer.strip())) - - def endComplex(self): - """ - Handler method for the "complex" end tag. - """ - real, imag = self.buffer.strip().split() - self.stack.append(float(real) + float(imag)*1j) - - def endString(self): - """ - Handler method for the "string" end tag. - """ - s = str(self.unescape(self.buffer)) - self.stack.append(s) - - def endBytes(self): - """ - Handler method for the "bytes" end tag. - """ - by = bytes([int(b) for b in self.buffer.strip().split(",")]) - self.stack.append(by) - - def endBytearray(self): - """ - Handler method for the "bytearray" end tag. - """ - by = bytearray([int(b) for b in self.buffer.strip().split(",")]) - self.stack.append(by) - - def startList(self, attrs): - """ - Handler method for the "list" start tag. - - @param attrs list of tag attributes - """ - self.stack.append(self._marker) - - def endList(self): - """ - Handler method for the "list" end tag. - """ - for i in range(len(self.stack) - 1, -1, -1): - if self.stack[i] is self._marker: - break - assert i != -1 - l = self.stack[i + 1:len(self.stack)] - self.stack[i:] = [l] - - def startTuple(self, attrs): - """ - Handler method for the "tuple" start tag. - - @param attrs list of tag attributes - """ - self.stack.append(self._marker) - - def endTuple(self): - """ - Handler method for the "tuple" end tag. - """ - for i in range(len(self.stack) - 1, -1, -1): - if self.stack[i] is self._marker: - break - assert i != -1 - t = tuple(self.stack[i + 1:len(self.stack)]) - self.stack[i:] = [t] - - def startDictionary(self, attrs): - """ - Handler method for the "dictionary" start tag. - - @param attrs list of tag attributes - """ - self.stack.append(self._marker) - - def endDictionary(self): - """ - Handler method for the "dictionary" end tag. - """ - for i in range(len(self.stack) - 1, -1, -1): - if self.stack[i] is self._marker: - break - assert i != -1 - d = {} - for j in range(i + 1, len(self.stack), 2): - d[self.stack[j]] = self.stack[j + 1] - self.stack[i:] = [d] - - def startSet(self, attrs): - """ - Handler method for the "set" start tag. - - @param attrs list of tag attributes - """ - self.stack.append(self._marker) - - def endSet(self): - """ - Handler method for the "set" end tag. - """ - for i in range(len(self.stack) - 1, -1, -1): - if self.stack[i] is self._marker: - break - assert i != -1 - s = set(self.stack[i + 1:len(self.stack)]) - self.stack[i:] = [s] - - def startFrozenset(self, attrs): - """ - Handler method for the "frozenset" start tag. - - @param attrs list of tag attributes - """ - self.stack.append(self._marker) - - def endFrozenset(self): - """ - Handler method for the "frozenset" end tag. - """ - for i in range(len(self.stack) - 1, -1, -1): - if self.stack[i] is self._marker: - break - assert i != -1 - f = frozenset(self.stack[i + 1:len(self.stack)]) - self.stack[i:] = [f] - - def startPickle(self, attrs): - """ - Handler method for the "pickle" start tag. - - @param attrs list of tag attributes - """ - self.pickleEnc = attrs.get("encoding", "base64") - - def endPickle(self): - """ - Handler method for the "pickle" end tag. - """ - pic = base64.b64decode(self.buffer.encode("ASCII")) - self.stack.append(pickle.loads(pic))
--- a/E4XML/XMLMessageDialog.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,67 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing a dialog to display XML parse messages. -""" - -from PyQt4.QtCore import * -from PyQt4.QtGui import * - -from .Ui_XMLMessageDialog import Ui_XMLMessageDialog - - -class XMLMessageDialog(QDialog, Ui_XMLMessageDialog): - """ - Class implementing a dialog to display XML parse messages. - """ - def __init__(self, msgs, parent = None): - """ - Constructor - - @param msgs list of tuples of (message type, system id, - line no, column no, message) - @param parent parent object of the dialog (QWidget) - """ - QDialog.__init__(self,parent) - self.setupUi(self) - - for type, sysId, line, column, msg in msgs: - if type == "F": - color = QColor(Qt.red) - self.__appendText(self.trUtf8("Fatal Error"), color) - elif type == "E": - color = QColor(Qt.blue) - self.__appendText(self.trUtf8("Error"), color) - elif type == "W": - color = QColor(Qt.black) - self.__appendText(self.trUtf8("Warning"), color) - - self.__appendText(sysId, color) - self.__appendText(self.trUtf8("Line: {0}, Column: {1}") - .format(line, column), color) - self.__appendText(msg, color) - - self.__appendText("------", QColor(Qt.black)) - - tc = self.messages.textCursor() - tc.movePosition(QTextCursor.Start) - self.messages.setTextCursor(tc) - self.messages.ensureCursorVisible() - - def __appendText(self, txt, color): - """ - Private method to append text to the end of the messages pane. - - @param txt text to insert (QString) - @param color text color to be used (QColor) - """ - if txt is not None: - tc = self.messages.textCursor() - tc.movePosition(QTextCursor.End) - self.messages.setTextCursor(tc) - self.messages.setTextColor(color) - self.messages.insertPlainText(txt) - self.messages.insertPlainText("\n")
--- a/E4XML/XMLMessageDialog.ui Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,59 +0,0 @@ -<ui version="4.0" > - <class>XMLMessageDialog</class> - <widget class="QDialog" name="XMLMessageDialog" > - <property name="geometry" > - <rect> - <x>0</x> - <y>0</y> - <width>567</width> - <height>253</height> - </rect> - </property> - <property name="windowTitle" > - <string>XML Parse Messages</string> - </property> - <property name="sizeGripEnabled" > - <bool>true</bool> - </property> - <layout class="QVBoxLayout" > - <item> - <widget class="QTextEdit" name="messages" > - <property name="readOnly" > - <bool>true</bool> - </property> - </widget> - </item> - <item> - <widget class="QDialogButtonBox" name="buttonBox" > - <property name="orientation" > - <enum>Qt::Horizontal</enum> - </property> - <property name="standardButtons" > - <set>QDialogButtonBox::Ok</set> - </property> - </widget> - </item> - </layout> - </widget> - <layoutdefault spacing="6" margin="6" /> - <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> - <resources/> - <connections> - <connection> - <sender>buttonBox</sender> - <signal>accepted()</signal> - <receiver>XMLMessageDialog</receiver> - <slot>accept()</slot> - <hints> - <hint type="sourcelabel" > - <x>157</x> - <y>231</y> - </hint> - <hint type="destinationlabel" > - <x>157</x> - <y>251</y> - </hint> - </hints> - </connection> - </connections> -</ui>
--- a/E4XML/XMLUtilities.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,44 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing various XML utility functions. -""" - -def make_parser(validating): - """ - Function to generate an XML parser. - - First it will be tried to generate a validating parser. If - this attempt fails, a non validating parser is tried next. - - @param validating flag indicating a validating parser is requested - @return XML parser object - """ - if validating: - # see if we have a working validating parser available - try: - import _xmlplus - except ImportError: - validating = False - else: - try: - v = _xmlplus.version_info - except AttributeError: - validating = False - else: - if v < (0, 8, 3): - validating = False - - if validating: - try: - from xml.sax.sax2exts import XMLValParserFactory - return XMLValParserFactory.make_parser() - except ImportError: - from xml.sax import make_parser as sax_make_parser - return sax_make_parser() - else: - from xml.sax import make_parser as sax_make_parser - return sax_make_parser()
--- a/E4XML/XMLWriterBase.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,256 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing a base class for all of eric5s XML writers. -""" - -import os -import pickle -import base64 - -class XMLWriterBase(object): - """ - Class implementing a base class for all of eric5s XML writers. - """ - def __init__(self, file): - """ - Constructor - - @param file open file (like) object for writing - """ - self.pf = file - - self.basics = { - type(None) : self._write_none, - int : self._write_int, - float : self._write_float, - complex : self._write_complex, - bool : self._write_bool, - str : self._write_string, - bytes : self._write_bytes, - bytearray : self._write_bytearray, - tuple : self._write_tuple, - list : self._write_list, - dict : self._write_dictionary, - set : self._write_set, - frozenset : self._write_frozenset, - } - - self.NEWPARA = chr(0x2029) - self.NEWLINE = chr(0x2028) - - def _write(self, s, newline = True): - """ - Protected method used to do the real write operation. - - @param s string to be written to the XML file - @param newline flag indicating a linebreak - """ - self.pf.write("%s%s" % (s, - newline and os.linesep or "")) - - def writeXML(self): - """ - Public method to write the XML to the file. - """ - # write the XML header - self._write('<?xml version="1.0" encoding="UTF-8"?>') - - def escape(self, data, attribute=False): - """ - Function to escape &, <, and > in a string of data. - - @param data data to be escaped (string) - @param attribute flag indicating escaping is done for an attribute - @return the escaped data (string) - """ - - # must do ampersand first - data = data.replace("&", "&") - data = data.replace(">", ">") - data = data.replace("<", "<") - if attribute: - data = data.replace('"', """) - return data - - def encodedNewLines(self, text): - """ - Public method to encode newlines and paragraph breaks. - - @param text text to encode (string or QString) - """ - return text.replace("\n\n", self.NEWPARA).replace("\n", self.NEWLINE) - - def _writeBasics(self, pyobject, indent = 0): - """ - Protected method to dump an object of a basic Python type. - - @param pyobject object to be dumped - @param indent indentation level for prettier output (integer) - """ - writeMethod = self.basics.get(type(pyobject)) or self._write_unimplemented - writeMethod(pyobject, indent) - - ############################################################################ - ## The various writer methods for basic types - ############################################################################ - - def _write_none(self, value, indent): - """ - Protected method to dump a NoneType object. - - @param value value to be dumped (None) (ignored) - @param indent indentation level for prettier output (integer) - """ - self._write('%s<none />' % (" " * indent)) - - def _write_int(self, value, indent): - """ - Protected method to dump an int object. - - @param value value to be dumped (integer) - @param indent indentation level for prettier output (integer) - """ - self._write('%s<int>%s</int>' % (" " * indent, value)) - - def _write_bool(self, value, indent): - """ - Protected method to dump a bool object. - - @param value value to be dumped (boolean) - @param indent indentation level for prettier output (integer) - """ - self._write('%s<bool>%s</bool>' % (" " * indent, value)) - - def _write_float(self, value, indent): - """ - Protected method to dump a float object. - - @param value value to be dumped (float) - @param indent indentation level for prettier output (integer) - """ - self._write('%s<float>%s</float>' % (" " * indent, value)) - - def _write_complex(self, value, indent): - """ - Protected method to dump a complex object. - - @param value value to be dumped (complex) - @param indent indentation level for prettier output (integer) - """ - self._write('%s<complex>%s %s</complex>' % \ - (" " * indent, value.real, value.imag)) - - def _write_string(self, value, indent): - """ - Protected method to dump a str object. - - @param value value to be dumped (string) - @param indent indentation level for prettier output (integer) - """ - self._write('%s<string>%s</string>' % (" " * indent, self.escape(value))) - - def _write_bytes(self, value, indent): - """ - Protected method to dump a bytes object. - - @param value value to be dumped (bytes) - @param indent indentation level for prettier output (integer) - """ - self._write('%s<bytes>%s</bytes>' % ( - " " * indent, ",".join(["%d" % b for b in value]))) - - def _write_bytearray(self, value, indent): - """ - Protected method to dump a bytearray object. - - @param value value to be dumped (bytearray) - @param indent indentation level for prettier output (integer) - """ - self._write('%s<bytearray>%s</bytearray>' % ( - " " * indent, ",".join(["%d" % b for b in value]))) - - def _write_tuple(self, value, indent): - """ - Protected method to dump a tuple object. - - @param value value to be dumped (tuple) - @param indent indentation level for prettier output (integer) - """ - self._write('%s<tuple>' % (" " * indent)) - nindent = indent + 1 - for elem in value: - self._writeBasics(elem, nindent) - self._write('%s</tuple>' % (" " * indent)) - - def _write_list(self, value, indent): - """ - Protected method to dump a list object. - - @param value value to be dumped (list) - @param indent indentation level for prettier output (integer) - """ - self._write('%s<list>' % (" " * indent)) - nindent = indent + 1 - for elem in value: - self._writeBasics(elem, nindent) - self._write('%s</list>' % (" " * indent)) - - def _write_dictionary(self, value, indent): - """ - Protected method to dump a dict object. - - @param value value to be dumped (dictionary) - @param indent indentation level for prettier output (integer) - """ - self._write('%s<dict>' % (" " * indent)) - nindent1 = indent + 1 - nindent2 = indent + 2 - keys = sorted(list(value.keys())) - for key in keys: - self._write('%s<key>' % (" " * nindent1)) - self._writeBasics(key, nindent2) - self._write('%s</key>' % (" " * nindent1)) - self._write('%s<value>' % (" " * nindent1)) - self._writeBasics(value[key], nindent2) - self._write('%s</value>' % (" " * nindent1)) - self._write('%s</dict>' % (" " * indent)) - - def _write_set(self, value, indent): - """ - Protected method to dump a set object. - - @param value value to be dumped (set) - @param indent indentation level for prettier output (integer) - """ - self._write('%s<set>' % (" " * indent)) - nindent = indent + 1 - for elem in value: - self._writeBasics(elem, nindent) - self._write('%s</set>' % (" " * indent)) - - def _write_frozenset(self, value, indent): - """ - Protected method to dump a frozenset object. - - @param value value to be dumped (frozenset) - @param indent indentation level for prettier output (integer) - """ - self._write('%s<frozenset>' % (" " * indent)) - nindent = indent + 1 - for elem in value: - self._writeBasics(elem, nindent) - self._write('%s</frozenset>' % (" " * indent)) - - def _write_unimplemented(self, value, indent): - """ - Protected method to dump a type, that has no special method. - - @param value value to be dumped (any pickleable object) - @param indent indentation level for prettier output (integer) - """ - self._write('%s<pickle method="pickle" encoding="base64">%s</pickle>' % \ - (" " * indent, str(base64.b64encode(pickle.dumps(value)), "ASCII")))
--- a/E4XML/__init__.py Tue Jan 12 07:38:28 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Package implementing the XML handling module of eric5. - -This module includes XML handlers and writers for -<ul> - <li>Project files</li> - <li>User project data files</li> - <li>Multi-project files</li> - <li>Session files</li> - <li>Shortcuts files</li> - <li>Debugger Properties files</li> - <li>Tasks files</li> - <li>Templates files</li> - <li>Highlighting styles</li> - <li>Plugiin repository (handler only)</li> -</ul> -""" \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/Config.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing some common configuration stuf for the XML package. +""" + +# version number of the multi project file +multiProjectFileFormatVersion = "4.2" + +# version number of the project file +projectFileFormatVersion = "4.6" + +# version number of the user project file +userProjectFileFormatVersion = "4.0" + +# version number of the project session file +sessionFileFormatVersion = "4.3" + +# version number of the shortcuts file +shortcutsFileFormatVersion = "3.6" + +# version number of the tasks file +tasksFileFormatVersion = "4.2" + +# version number of the debugger properties file +debuggerPropertiesFileFormatVersion = "3.9" + +# version number of the templates file +templatesFileFormatVersion = "4.0" + +# version number of the plugin repository file +pluginRepositoryFileFormatVersion = "4.2" + +# version number of the highlighting styles file +highlightingStylesFileFormatVersion = "4.3"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/DebuggerPropertiesHandler.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,167 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2003 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the handler class for reading an XML project debugger properties file. +""" + +from .Config import debuggerPropertiesFileFormatVersion +from .XMLHandlerBase import XMLHandlerBase + +class DebuggerPropertiesHandler(XMLHandlerBase): + """ + Class implementing a sax handler to read an XML project debugger properties file. + """ + def __init__(self, project): + """ + Constructor + + @param project Reference to the project object to store the + information into. + """ + XMLHandlerBase.__init__(self) + + self.startDocumentSpecific = self.startDocumentDebuggerProperties + + self.elements.update({ + 'DebuggerProperties' : (self.startDebuggerProperties, self.defaultEndElement), + 'Interpreter' : (self.defaultStartElement, self.endInterpreter), + 'DebugClient' : (self.defaultStartElement, self.endDebugClient), + 'Environment' : (self.startEnvironment, self.endEnvironment), + 'RemoteDebugger' : (self.startRemoteDebugger, self.defaultEndElement), + 'RemoteHost' : (self.defaultStartElement, self.endRemoteHost), + 'RemoteCommand' : (self.defaultStartElement, self.endRemoteCommand), + 'PathTranslation' : (self.startPathTranslation, self.defaultEndElement), + 'RemotePath' : (self.defaultStartElement, self.endRemotePath), + 'LocalPath' : (self.defaultStartElement, self.endLocalPath), + 'ConsoleDebugger' : (self.startConsoleDebugger, self.endConsoleDebugger), + 'Redirect' : (self.startRedirect, self.defaultEndElement), + 'Noencoding' : (self.startNoencoding, self.defaultEndElement), + }) + + self.project = project + + def startDocumentDebuggerProperties(self): + """ + Handler called, when the document parsing is started. + """ + self.version = '' + + ################################################### + ## below follow the individual handler functions + ################################################### + + def endInterpreter(self): + """ + Handler method for the "Interpreter" end tag. + """ + self.project.debugProperties["INTERPRETER"] = self.buffer + + def endDebugClient(self): + """ + Handler method for the "DebugClient" end tag. + """ + self.project.debugProperties["DEBUGCLIENT"] = self.buffer + + def startEnvironment(self, attrs): + """ + Handler method for the "Environment" start tag. + """ + self.buffer = "" + self.project.debugProperties["ENVIRONMENTOVERRIDE"] = \ + int(attrs.get("override", "0")) + + def endEnvironment(self): + """ + Handler method for the "Environment" end tag. + """ + self.project.debugProperties["ENVIRONMENTSTRING"] = \ + self.unescape(self.buffer) + + def startRemoteDebugger(self, attrs): + """ + Handler method for the "RemoteDebugger" start tag. + """ + self.buffer = "" + self.project.debugProperties["REMOTEDEBUGGER"] = \ + int(attrs.get("on", "0")) + + def endRemoteHost(self): + """ + Handler method for the "RemoteHost" end tag. + """ + self.project.debugProperties["REMOTEHOST"] = self.buffer + + def endRemoteCommand(self): + """ + Handler method for the "RemoteCommand" end tag. + """ + self.project.debugProperties["REMOTECOMMAND"] = \ + self.unescape(self.buffer) + + def startPathTranslation(self, attrs): + """ + Handler method for the "PathTranslation" start tag. + """ + self.buffer = "" + self.project.debugProperties["PATHTRANSLATION"] = \ + int(attrs.get("on", "0")) + + def endRemotePath(self): + """ + Handler method for the "RemotePath" end tag. + """ + self.project.debugProperties["REMOTEPATH"] = self.buffer + + def endLocalPath(self): + """ + Handler method for the "LocalPath" end tag. + """ + self.project.debugProperties["LOCALPATH"] = self.buffer + + def startConsoleDebugger(self, attrs): + """ + Handler method for the "ConsoleDebugger" start tag. + """ + self.buffer = "" + self.project.debugProperties["CONSOLEDEBUGGER"] = \ + int(attrs.get("on", "0")) + + def endConsoleDebugger(self): + """ + Handler method for the "ConsoleDebugger" end tag. + """ + self.project.debugProperties["CONSOLECOMMAND"] = \ + self.unescape(self.buffer) + + def startRedirect(self, attrs): + """ + Handler method for the "Redirect" start tag. + """ + self.project.debugProperties["REDIRECT"] = \ + int(attrs.get("on", "1")) + + def startNoencoding(self, attrs): + """ + Handler method for the "Noencoding" start tag. + """ + self.project.debugProperties["NOENCODING"] = \ + int(attrs.get("on", "0")) + + def startDebuggerProperties(self, attrs): + """ + Handler method for the "DebuggerProperties" start tag. + + @param attrs list of tag attributes + """ + self.version = attrs.get('version', debuggerPropertiesFileFormatVersion) + + def getVersion(self): + """ + Public method to retrieve the version of the debugger properties. + + @return String containing the version number. + """ + return self.version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/DebuggerPropertiesWriter.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,92 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2005 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the writer class for writing an XML project debugger properties file. +""" + +import os +import time + +from E4Gui.E4Application import e4App + +from .XMLWriterBase import XMLWriterBase +from .Config import debuggerPropertiesFileFormatVersion + +import Preferences + +class DebuggerPropertiesWriter(XMLWriterBase): + """ + Class implementing the writer class for writing an XML project debugger properties + file. + """ + def __init__(self, file, projectName): + """ + Constructor + + @param file open file (like) object for writing + @param projectName name of the project (string) + """ + XMLWriterBase.__init__(self, file) + + self.name = projectName + self.project = e4App().getObject("Project") + + def writeXML(self): + """ + Public method to write the XML to the file. + """ + XMLWriterBase.writeXML(self) + + self._write('<!DOCTYPE DebuggerProperties SYSTEM "DebuggerProperties-%s.dtd">' % \ + debuggerPropertiesFileFormatVersion) + + # add some generation comments + self._write("<!-- eric5 debugger properties file for project %s -->" % self.name) + self._write("<!-- This file was generated automatically, do not edit. -->") + if Preferences.getProject("XMLTimestamp"): + self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) + + # add the main tag + self._write('<DebuggerProperties version="%s">' % \ + debuggerPropertiesFileFormatVersion) + + self._write(' <Interpreter>%s</Interpreter>' % \ + self.project.debugProperties["INTERPRETER"]) + + self._write(' <DebugClient>%s</DebugClient>' % \ + self.project.debugProperties["DEBUGCLIENT"]) + + self._write(' <Environment override="%d">%s</Environment>' % \ + (self.project.debugProperties["ENVIRONMENTOVERRIDE"], + self.escape(self.project.debugProperties["ENVIRONMENTSTRING"]))) + + self._write(' <RemoteDebugger on="%d">' % \ + self.project.debugProperties["REMOTEDEBUGGER"]) + self._write(' <RemoteHost>%s</RemoteHost>' % \ + self.project.debugProperties["REMOTEHOST"]) + self._write(' <RemoteCommand>%s</RemoteCommand>' % \ + self.escape(self.project.debugProperties["REMOTECOMMAND"])) + self._write(' </RemoteDebugger>') + + self._write(' <PathTranslation on="%d">' % \ + self.project.debugProperties["PATHTRANSLATION"]) + self._write(' <RemotePath>%s</RemotePath>' % \ + self.project.debugProperties["REMOTEPATH"]) + self._write(' <LocalPath>%s</LocalPath>' % \ + self.project.debugProperties["LOCALPATH"]) + self._write(' </PathTranslation>') + + self._write(' <ConsoleDebugger on="%d">%s</ConsoleDebugger>' % \ + (self.project.debugProperties["CONSOLEDEBUGGER"], + self.escape(self.project.debugProperties["CONSOLECOMMAND"]))) + + self._write(' <Redirect on="%d" />' % \ + self.project.debugProperties["REDIRECT"]) + + self._write(' <Noencoding on="%d" />' % \ + self.project.debugProperties["NOENCODING"]) + + self._write("</DebuggerProperties>", newline = False) \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/HighlightingStylesHandler.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,116 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2008 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the handler class for handling a highlighting styles XML file. +""" + +from PyQt4.QtGui import QColor, QFont + +from .Config import highlightingStylesFileFormatVersion +from .XMLHandlerBase import XMLHandlerBase + +class HighlightingStylesHandler(XMLHandlerBase): + """ + Class implementing a sax handler to read a highlighting styles file. + """ + def __init__(self, lexers): + """ + Constructor + + @param lexers dictionary of lexer objects for which to import the styles + """ + XMLHandlerBase.__init__(self) + + self.lexers = lexers + self.lexer = None + + self.startDocumentSpecific = self.startDocumentHighlightingStyles + + self.elements.update({ + 'HighlightingStyles' : (self.startHighlightingStyles, self.defaultEndElement), + 'Lexer' : (self.startLexer, self.defaultEndElement), + 'Style' : (self.startStyle, self.defaultEndElement), + }) + + def startDocumentHighlightingStyles(self): + """ + Handler called, when the document parsing is started. + """ + self.version = '' + + ################################################### + ## below follow the individual handler functions + ################################################### + + def startHighlightingStyles(self, attrs): + """ + Handler method for the "HighlightingStyles" start tag. + + @param attrs list of tag attributes + """ + self.version = attrs.get('version', highlightingStylesFileFormatVersion) + + def startLexer(self, attrs): + """ + Handler method for the "Lexer" start tag. + + @param attrs list of tag attributes + """ + language = attrs.get("name", "") + if language and language in self.lexers: + self.lexer = self.lexers[language] + else: + self.lexer = None + + def startStyle(self, attrs): + """ + Handler method for the "Style" start tag. + + @param attrs list of tag attributes + """ + self.buffer = "" + + if self.lexer is not None: + style = attrs.get("style") + if style is not None: + style = int(style) + + color = attrs.get("color") + if color is None: + color = self.lexer.defaultColor(style) + else: + color = QColor(color) + self.lexer.setColor(color, style) + + paper = attrs.get("paper") + if paper is None: + paper = self.lexer.defaultPaper(style) + else: + paper = QColor(paper) + self.lexer.setPaper(paper, style) + + fontStr = attrs.get("font") + if fontStr is None: + font = self.lexer.defaultFont(style) + else: + font = QFont() + font.fromString(fontStr) + self.lexer.setFont(font, style) + + eolfill = attrs.get("eolfill") + if eolfill is None: + eolfill = self.lexer.defaulEolFill(style) + else: + eolfill = int(eolfill) + self.lexer.setEolFill(eolfill, style) + + def getVersion(self): + """ + Public method to retrieve the version of the shortcuts. + + @return String containing the version number. + """ + return self.version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/HighlightingStylesWriter.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,65 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2008 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the writer class for writing a highlighting styles XML file. +""" + +import os +import time + +from E4Gui.E4Application import e4App + +from .XMLWriterBase import XMLWriterBase +from .Config import highlightingStylesFileFormatVersion + +import Preferences + +class HighlightingStylesWriter(XMLWriterBase): + """ + Class implementing the writer class for writing a highlighting styles XML file. + """ + def __init__(self, file, lexers): + """ + Constructor + + @param file open file (like) object for writing + @param lexers list of lexer objects for which to export the styles + """ + XMLWriterBase.__init__(self, file) + + self.lexers = lexers + self.email = Preferences.getUser("Email") + + def writeXML(self): + """ + Public method to write the XML to the file. + """ + XMLWriterBase.writeXML(self) + + self._write('<!DOCTYPE HighlightingStyles SYSTEM "HighlightingStyles-%s.dtd">' % \ + highlightingStylesFileFormatVersion) + + # add some generation comments + self._write("<!-- Eric5 highlighting styles -->") + self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) + self._write("<!-- Author: %s -->" % self.escape("%s" % self.email)) + + # add the main tag + self._write('<HighlightingStyles version="%s">' % \ + highlightingStylesFileFormatVersion) + + for lexer in self.lexers: + self._write(' <Lexer name="%s">' % lexer.language()) + for style in lexer.descriptions: + self._write(' <Style style="%d" ' + 'color="%s" paper="%s" font="%s" eolfill="%d">%s</Style>' % \ + (style, lexer.color(style).name(), lexer.paper(style).name(), + lexer.font(style).toString(), lexer.eolFill(style), + self.escape(lexer.description(style))) + ) + self._write(' </Lexer>') + + self._write("</HighlightingStyles>", newline = False)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/MultiProjectHandler.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,109 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2008 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the handler class for reading an XML multi project file. +""" + +from .Config import multiProjectFileFormatVersion +from .XMLHandlerBase import XMLHandlerBase + +import Utilities + +class MultiProjectHandler(XMLHandlerBase): + """ + Class implementing a sax handler to read an XML multi project file. + """ + def __init__(self, multiProject): + """ + Constructor + + @param multiProject Reference to the multi project object to store the + information into. + """ + XMLHandlerBase.__init__(self) + + self.startDocumentSpecific = self.startDocumentMultiProject + + self.elements.update({ + 'MultiProject' : (self.startMultiProject, self.defaultEndElement), + 'Description' : (self.defaultStartElement, self.endDescription), + 'Project' : (self.startProject, self.endProject), + 'ProjectName' : (self.defaultStartElement, self.endProjectName), + 'ProjectFile' : (self.defaultStartElement, self.endProjectFile), + 'ProjectDescription' : (self.defaultStartElement, self.endProjectDescription), + }) + + self.multiProject = multiProject + + def startDocumentMultiProject(self): + """ + Handler called, when the document parsing is started. + """ + self.version = '' + + ################################################### + ## below follow the individual handler functions + ################################################### + + def startMultiProject(self, attrs): + """ + Handler method for the "MultiProject" start tag. + + @param attrs list of tag attributes + """ + self.version = attrs.get('version', multiProjectFileFormatVersion) + + def endDescription(self): + """ + Handler method for the "Description" end tag. + """ + self.buffer = self.unescape(self.buffer) + self.multiProject.description = self.decodedNewLines(self.buffer) + + def startProject(self, attrs): + """ + Handler method for the "Project" start tag. + + @param attrs list of tag attributes + """ + self.project = {} + isMaster = attrs.get('isMaster', "False") + self.project["master"] = isMaster == "True" + + def endProject(self): + """ + Handler method for the "Project" end tag. + """ + self.multiProject.projects.append(self.project) + + def endProjectName(self): + """ + Handler method for the "ProjectName" end tag. + """ + self.project["name"] = self.unescape(self.buffer) + + def endProjectFile(self): + """ + Handler method for the "ProjectFile" end tag. + """ + filename = self.buffer + self.project["file"] = Utilities.toNativeSeparators(filename) + + def endProjectDescription(self): + """ + Handler method for the "ProjectDescription" end tag. + """ + self.buffer = self.unescape(self.buffer) + self.project["description"] = self.decodedNewLines(self.buffer) + + def getVersion(self): + """ + Public method to retrieve the version of the project. + + @return String containing the version number. + """ + return self.version +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/MultiProjectWriter.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,73 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2008 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the writer class for writing an XML multi project file. +""" + +import os +import time + +from E4Gui.E4Application import e4App + +from .XMLWriterBase import XMLWriterBase +from .Config import multiProjectFileFormatVersion + +import Preferences +import Utilities + +class MultiProjectWriter(XMLWriterBase): + """ + Class implementing the writer class for writing an XML project file. + """ + def __init__(self, multiProject, file, multiProjectName): + """ + Constructor + + @param multiProject Reference to the multi project object + @param file open file (like) object for writing + @param projectName name of the project (string) + """ + XMLWriterBase.__init__(self, file) + + self.name = multiProjectName + self.multiProject = multiProject + + def writeXML(self): + """ + Public method to write the XML to the file. + """ + XMLWriterBase.writeXML(self) + + self._write('<!DOCTYPE MultiProject SYSTEM "MultiProject-%s.dtd">' % \ + multiProjectFileFormatVersion) + + # add some generation comments + self._write("<!-- eric5 multi project file for multi project %s -->" % self.name) + if Preferences.getMultiProject("XMLTimestamp"): + self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) + self._write("<!-- Copyright (C) %s -->" % time.strftime('%Y')) + + # add the main tag + self._write('<MultiProject version="%s">' % multiProjectFileFormatVersion) + + # do description + self._write(" <Description>%s</Description>" % \ + self.escape(self.encodedNewLines(self.multiProject.description))) + + # do the projects + self._write(" <Projects>") + for project in self.multiProject.getProjects(): + self._write(' <Project isMaster="%s">' % project['master']) + self._write(" <ProjectName>%s</ProjectName>" % \ + self.escape(project['name'])) + self._write(" <ProjectFile>%s</ProjectFile>" % \ + Utilities.fromNativeSeparators(project['file'])) + self._write(" <ProjectDescription>%s</ProjectDescription>" % \ + self.escape(self.encodedNewLines(project['name']))) + self._write(" </Project>") + self._write(" </Projects>") + + self._write("</MultiProject>", newline = False) \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/PluginRepositoryHandler.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,143 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2005 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the handler class for reading an XML tasks file. +""" + +from .Config import pluginRepositoryFileFormatVersion +from .XMLHandlerBase import XMLHandlerBase + +import Preferences + +class PluginRepositoryHandler(XMLHandlerBase): + """ + Class implementing a sax handler to read an XML tasks file. + """ + def __init__(self, parent): + """ + Constructor + + @param parent reference to the parent dialog (PluginRepositoryDialog) + """ + XMLHandlerBase.__init__(self) + + self.startDocumentSpecific = self.startDocumentPlugins + + self.elements.update({ + 'Plugins' : (self.startPlugins, self.defaultEndElement), + 'Plugin' : (self.startPlugin, self.endPlugin), + 'Name' : (self.defaultStartElement, self.endName), + 'Short' : (self.defaultStartElement, self.endShort), + 'Description' : (self.defaultStartElement, self.endDescription), + 'Url' : (self.defaultStartElement, self.endUrl), + 'Author' : (self.defaultStartElement, self.endAuthor), + 'Version' : (self.defaultStartElement, self.endVersion), + 'Filename' : (self.defaultStartElement, self.endFilename), + 'RepositoryUrl' : (self.defaultStartElement, self.endRepositoryUrl), + }) + + self.parent = parent + + def startDocumentPlugins(self): + """ + Handler called, when the document parsing is started. + """ + self.version = '' + + ################################################### + ## below follow the individual handler functions + ################################################### + + def startPlugins(self, attrs): + """ + Handler method for the "Plugins" start tag. + + @param attrs list of tag attributes + """ + self.version = attrs.get('version', pluginRepositoryFileFormatVersion) + + def startPlugin(self, attrs): + """ + Handler method for the "Plugin" start tag. + + @param attrs list of tag attributes + """ + self.info = {"name" : "", + "short" : "", + "description" : "", + "url" : "", + "author" : "", + "version" : "", + "filename" : "", + } + self.info["status"] = attrs.get("status", "unknown") + + def endPlugin(self): + """ + Handler method for the "Plugin" end tag. + """ + self.parent.addEntry(self.info["name"], self.info["short"], + self.info["description"], self.info["url"], + self.info["author"], self.info["version"], + self.info["filename"], self.info["status"]) + + def endName(self): + """ + Handler method for the "Name" end tag. + """ + self.info["name"] = self.unescape(self.buffer) + + def endShort(self): + """ + Handler method for the "Short" end tag. + """ + self.info["short"] = self.unescape(self.buffer) + + def endDescription(self): + """ + Handler method for the "Description" end tag. + """ + txt = self.unescape(self.buffer) + self.info["description"] = [line.strip() for line in txt.splitlines()] + + def endUrl(self): + """ + Handler method for the "Url" end tag. + """ + self.info["url"] = self.unescape(self.buffer) + + def endAuthor(self): + """ + Handler method for the "Author" end tag. + """ + self.info["author"] = self.unescape(self.buffer) + + def endVersion(self): + """ + Handler method for the "Version" end tag. + """ + self.info["version"] = self.unescape(self.buffer) + + def endFilename(self): + """ + Handler method for the "Filename" end tag. + """ + self.info["filename"] = self.unescape(self.buffer) + + def endRepositoryUrl(self): + """ + Handler method for the "RepositoryUrl" end tag. + """ + url = self.unescape(self.buffer).strip() + Preferences.setUI("PluginRepositoryUrl5", url) + + def getVersion(self): + """ + Public method to retrieve the version of the tasks file. + + @return String containing the version number. + """ + return self.version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/ProjectHandler.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,643 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2003 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the handler class for reading an XML project file. +""" + +import os + +from .Config import projectFileFormatVersion +from .XMLHandlerBase import XMLHandlerBase + +import Utilities + +class ProjectHandler(XMLHandlerBase): + """ + Class implementing a sax handler to read an XML project file. + """ + def __init__(self, project): + """ + Constructor + + @param project Reference to the project object to store the + information into. + """ + XMLHandlerBase.__init__(self) + + self.startDocumentSpecific = self.startDocumentProject + + self.elements.update({ + 'Project' : (self.startProject, self.defaultEndElement), + 'Language' : (self.defaultStartElement, self.endLanguage), + 'ProjectWordList' : (self.defaultStartElement, self.endProjectWordList), + 'ProjectExcludeList' : (self.defaultStartElement, + self.endProjectExcludeList), + 'ProgLanguage' : (self.startProgLanguage, self.endProgLanguage), + 'ProjectType' : (self.defaultStartElement, self.endProjectType), + 'Description' : (self.defaultStartElement, self.endDescription), + 'Version' : (self.defaultStartElement, self.endVersion), + 'Author' : (self.defaultStartElement, self.endAuthor), + 'Email' : (self.defaultStartElement, self.endEmail), + 'VcsType' : (self.defaultStartElement, self.endVcsType), + 'VcsOptions' : (self.startVcsOptions, self.endVcsOptions), + 'VcsOtherData' : (self.startVcsOtherData, self.endVcsOtherData), + 'Dir' : (self.defaultStartElement, self.endDir), + 'Name' : (self.defaultStartElement, self.endName), + 'Source' : (self.startSource, self.endSource), + 'Form' : (self.startForm, self.endForm), + 'Translation' : (self.startTranslation, self.endTranslation), + 'TranslationPattern' : (self.defaultStartElement, + self.endTranslationPattern), + 'TranslationsBinPath' : (self.startTranslationsBinPath, + self.endTranslationsBinPath), + 'TranslationException' : (self.startTranslationException, + self.endTranslationException), + 'Resource' : (self.startResource, self.endResource), + 'Interface' : (self.startInterface, self.endInterface), + 'Other' : (self.startOther, self.endOther), + 'MainScript' : (self.startMainScript, self.endMainScript), + 'FiletypeAssociation' : (self.startFiletypeAssociation, + self.defaultEndElement), + 'LexerAssociation' : (self.startLexerAssociation, + self.defaultEndElement), + 'ProjectTypeSpecificData' : (self.startProjectTypeSpecificData, + self.endProjectTypeSpecificData), + 'DocumentationParams' : (self.startDocumentationParams, + self.endDocumentationParams), + 'PackagersParams' : (self.startPackagersParams, self.endPackagersParams), + 'CheckersParams' : (self.startCheckersParams, self.endCheckersParams), + 'OtherToolsParams' : (self.startOtherToolsParams, self.endOtherToolsParams), + # parameters kept for backward compatibility + 'UIType' : (self.defaultStartElement, self.endUIType), + 'TranslationPrefix' : (self.startTranslationPrefix, + self.endTranslationPrefix), + 'Eric4DocParams' : (self.startEric4DocParams, self.endEric4DocParams), + 'Eric4ApiParams' : (self.startEric4ApiParams, self.endEric4ApiParams), + 'CxfreezeParams' : (self.startCxfreezeParams, self.endCxfreezeParams), + 'PyLintParams' : (self.startPyLintParams, self.endPyLintParams), + }) + + self.project = project + + def startDocumentProject(self): + """ + Handler called, when the document parsing is started. + """ + self.version = '' + self.pathStack = [] + + ################################################### + ## below follow the individual handler functions + ################################################### + + def endLanguage(self): + """ + Handler method for the "Language" end tag. + """ + self.project.pdata["SPELLLANGUAGE"] = [self.buffer] + + def endProjectWordList(self): + """ + Handler method for the "ProjectWordList" end tag. + """ + path = Utilities.toNativeSeparators(self.buffer) + self.project.pdata["SPELLWORDS"] = [path] + + def endProjectExcludeList(self): + """ + Handler method for the "ProjectExcludeList" end tag. + """ + path = Utilities.toNativeSeparators(self.buffer) + self.project.pdata["SPELLEXCLUDES"] = [path] + + def startProgLanguage(self, attrs): + """ + Handler method for the "Source" start tag. + + @param attrs list of tag attributes + """ + mixedLanguage = int(attrs.get("mixed", "0")) + self.project.pdata["MIXEDLANGUAGE"] = [mixedLanguage] + self.buffer = "" + + def endProgLanguage(self): + """ + Handler method for the "ProgLanguage" end tag. + """ + self.project.pdata["PROGLANGUAGE"] = [self.buffer] + + def endProjectType(self): + """ + Handler method for the "ProjectType" end tag. + """ + self.project.pdata["PROJECTTYPE"] = [self.buffer] + + def endDescription(self): + """ + Handler method for the "Description" end tag. + """ + self.buffer = self.unescape(self.buffer) + if self.version >= '4.3': + self.project.pdata["DESCRIPTION"] = [self.decodedNewLines(self.buffer)] + else: + self.project.pdata["DESCRIPTION"] = [self.buffer] + + def endVersion(self): + """ + Handler method for the "Version" end tag. + """ + self.buffer = self.unescape(self.buffer) + self.project.pdata["VERSION"] = [self.buffer] + + def endAuthor(self): + """ + Handler method for the "Author" end tag. + """ + self.buffer = self.unescape(self.buffer) + self.project.pdata["AUTHOR"] = [self.buffer] + + def endEmail(self): + """ + Handler method for the "Email" end tag. + """ + self.buffer = self.unescape(self.buffer) + self.project.pdata["EMAIL"] = [self.buffer] + + def endVcsType(self): + """ + Handler method for the "VcsType" end tag. + """ + self.project.pdata["VCS"] = [self.buffer] + + def startVcsOptions(self, attrs): + """ + Handler method for the "VcsOptions" start tag. + + @param attrs list of tag attributes + """ + self.defaultStartElement(attrs) + self._prepareBasics() + + def endVcsOptions(self): + """ + Handler method for the "VcsOptions" end tag. + """ + try: + self.project.pdata["VCSOPTIONS"] = [self.stack[-1]] + except IndexError: + self.project.pdata["VCSOPTIONS"] = [] + + def startVcsOtherData(self, attrs): + """ + Handler method for the "VcsOtherData" start tag. + + @param attrs list of tag attributes + """ + self.defaultStartElement(attrs) + self._prepareBasics() + + def endVcsOtherData(self): + """ + Handler method for the "VcsOtherData" end tag. + """ + try: + self.project.pdata["VCSOTHERDATA"] = [self.stack[-1]] + except IndexError: + self.project.pdata["VCSOTHERDATA"] = [] + + def startProjectTypeSpecificData(self, attrs): + """ + Handler method for the "ProjectTypeSpecificData" start tag. + + @param attrs list of tag attributes + """ + self.defaultStartElement(attrs) + self._prepareBasics() + + def endProjectTypeSpecificData(self): + """ + Handler method for the "ProjectTypeSpecificData" end tag. + """ + try: + self.project.pdata["PROJECTTYPESPECIFICDATA"] = self.stack[-1] + except IndexError: + self.project.pdata["PROJECTTYPESPECIFICDATA"] = {} + + def startDocumentationParams(self, attrs): + """ + Handler method for the "DocumentationParams" start tag. + + @param attrs list of tag attributes + """ + self.defaultStartElement(attrs) + self._prepareBasics() + + def endDocumentationParams(self): + """ + Handler method for the "DocumentationParams" end tag. + """ + try: + self.project.pdata["DOCUMENTATIONPARMS"] = self.stack[-1] + except IndexError: + self.project.pdata["DOCUMENTATIONPARMS"] = {} + + def startPackagersParams(self, attrs): + """ + Handler method for the "PackagersParams" start tag. + + @param attrs list of tag attributes + """ + self.defaultStartElement(attrs) + self._prepareBasics() + + def endPackagersParams(self): + """ + Handler method for the "PackagersParams" end tag. + """ + try: + self.project.pdata["PACKAGERSPARMS"] = self.stack[-1] + except IndexError: + self.project.pdata["PACKAGERSPARMS"] = {} + + def startCheckersParams(self, attrs): + """ + Handler method for the "CheckersParams" start tag. + + @param attrs list of tag attributes + """ + self.defaultStartElement(attrs) + self._prepareBasics() + + def endCheckersParams(self): + """ + Handler method for the "CheckersParams" end tag. + """ + try: + self.project.pdata["CHECKERSPARMS"] = self.stack[-1] + except IndexError: + self.project.pdata["CHECKERSPARMS"] = {} + + def startOtherToolsParams(self, attrs): + """ + Handler method for the "OtherToolsParams" start tag. + + @param attrs list of tag attributes + """ + self.defaultStartElement(attrs) + self._prepareBasics() + + def endOtherToolsParams(self): + """ + Handler method for the "OtherToolsParams" end tag. + """ + try: + self.project.pdata["OTHERTOOLSPARMS"] = self.stack[-1] + except IndexError: + self.project.pdata["OTHERTOOLSPARMS"] = {} + + def endDir(self): + """ + Handler method for the "Dir" end tag. + """ + self.pathStack.append(self.buffer) + + def endName(self): + """ + Handler method for the "Name" end tag. + """ + self.pathStack.append(self.buffer) + + def endTranslationPattern(self): + """ + Handler method for the "TranslationPattern" end tag. + """ + self.project.pdata["TRANSLATIONPATTERN"].append( + Utilities.toNativeSeparators(self.buffer)) + + def startTranslationsBinPath(self, attrs): + """ + Handler method for the "TranslationsBinPath" start tag. + + @param attrs list of tag attributes + """ + self.pathStack = [] + self.buffer = "" + + def endTranslationsBinPath(self): + """ + Handler method for the "TranslationsBinPath" end tag. + """ + if self.version >= '4.3': + path = Utilities.toNativeSeparators(self.buffer) + else: + path = self.__buildPath() + self.project.pdata["TRANSLATIONSBINPATH"].append(path) + + def startSource(self, attrs): + """ + Handler method for the "Source" start tag. + + @param attrs list of tag attributes + """ + self.pathStack = [] + self.buffer = "" + + def endSource(self): + """ + Handler method for the "Source" end tag. + """ + if self.version >= '4.3': + path = Utilities.toNativeSeparators(self.buffer) + else: + path = self.__buildPath() + self.project.pdata["SOURCES"].append(path) + + def startForm(self, attrs): + """ + Handler method for the "Form" start tag. + + @param attrs list of tag attributes + """ + self.pathStack = [] + self.buffer = "" + + def endForm(self): + """ + Handler method for the "Form" end tag. + """ + if self.version >= '4.3': + path = Utilities.toNativeSeparators(self.buffer) + else: + path = self.__buildPath() + self.project.pdata["FORMS"].append(path) + + def startTranslation(self, attrs): + """ + Handler method for the "Translation" start tag. + + @param attrs list of tag attributes + """ + self.pathStack = [] + self.buffer = "" + + def endTranslation(self): + """ + Handler method for the "Translation" end tag. + """ + if self.version >= '4.3': + path = Utilities.toNativeSeparators(self.buffer) + else: + path = self.__buildPath() + self.project.pdata["TRANSLATIONS"].append(path) + + def startTranslationException(self, attrs): + """ + Handler method for the "TranslationException" start tag. + + @param attrs list of tag attributes + """ + self.pathStack = [] + self.buffer = "" + + def endTranslationException(self): + """ + Handler method for the "TranslationException" end tag. + """ + if self.version >= '4.3': + path = Utilities.toNativeSeparators(self.buffer) + else: + path = self.__buildPath() + self.project.pdata["TRANSLATIONEXCEPTIONS"].append(path) + + def startResource(self, attrs): + """ + Handler method for the "Resource" start tag. + + @param attrs list of tag attributes + """ + self.pathStack = [] + self.buffer = "" + + def endResource(self): + """ + Handler method for the "Resource" end tag. + """ + if self.version >= '4.3': + path = Utilities.toNativeSeparators(self.buffer) + else: + path = self.__buildPath() + self.project.pdata["RESOURCES"].append(path) + + def startInterface(self, attrs): + """ + Handler method for the "Interface" start tag. + + @param attrs list of tag attributes + """ + self.pathStack = [] + self.buffer = "" + + def endInterface(self): + """ + Handler method for the "Interface" end tag. + """ + if self.version >= '4.3': + path = Utilities.toNativeSeparators(self.buffer) + else: + path = self.__buildPath() + self.project.pdata["INTERFACES"].append(path) + + def startOther(self, attrs): + """ + Handler method for the "Other" start tag. + + @param attrs list of tag attributes + """ + self.pathStack = [] + self.buffer = "" + + def endOther(self): + """ + Handler method for the "Other" end tag. + """ + if self.version >= '4.3': + path = Utilities.toNativeSeparators(self.buffer) + else: + path = self.__buildPath() + self.project.pdata["OTHERS"].append(path) + + def startMainScript(self, attrs): + """ + Handler method for the "MainScript" start tag. + + @param attrs list of tag attributes + """ + self.pathStack = [] + self.buffer = "" + + def endMainScript(self): + """ + Handler method for the "MainScript" end tag. + """ + if self.version >= '4.3': + path = Utilities.toNativeSeparators(self.buffer) + else: + path = self.__buildPath() + self.project.pdata["MAINSCRIPT"] = [path] + + def startFiletypeAssociation(self, attrs): + """ + Handler method for the "FiletypeAssociation" start tag. + + @param attrs list of tag attributes + """ + pattern = attrs.get("pattern", "") + filetype = attrs.get("type", "OTHERS") + if pattern: + self.project.pdata["FILETYPES"][pattern] = filetype + + def startLexerAssociation(self, attrs): + """ + Handler method for the "LexerAssociation" start tag. + + @param attrs list of tag attributes + """ + pattern = attrs.get("pattern", "") + lexer = attrs.get("lexer", "") + if pattern: + self.project.pdata["LEXERASSOCS"][pattern] = lexer + + def __buildPath(self): + """ + Private method to assemble a path. + + @return The ready assembled path. (string) + """ + path = "" + if self.pathStack and not self.pathStack[0]: + self.pathStack[0] = os.sep + for p in self.pathStack: + path = os.path.join(path, p) + return path + + def startProject(self, attrs): + """ + Handler method for the "Project" start tag. + + @param attrs list of tag attributes + """ + self.version = attrs.get('version', projectFileFormatVersion) + + def getVersion(self): + """ + Public method to retrieve the version of the project. + + @return String containing the version number. + """ + return self.version + + ############################################################### + ## below are handler methods kept for backward compatibility + ############################################################### + + def endUIType(self): + """ + Handler method for the "UIType" end tag. + """ + self.project.pdata["PROJECTTYPE"] = [self.buffer] + + def startTranslationPrefix(self, attrs): + """ + Handler method for the "TranslationPrefix" start tag. + + @param attrs list of tag attributes + """ + self.pathStack = [] + self.buffer = "" + + def endTranslationPrefix(self): + """ + Handler method for the "TranslationPrefix" end tag. + """ + if self.version >= '4.3': + path = Utilities.toNativeSeparators(self.buffer) + else: + path = self.__buildPath() + if not path.endswith("_"): + path = "%s_" % path + self.project.pdata["TRANSLATIONPATTERN"].append("%s%%language%%.ts" % path) + + def startEric4DocParams(self, attrs): + """ + Handler method for the "Eric4DocParams" start tag. + + @param attrs list of tag attributes + """ + self.defaultStartElement(attrs) + self._prepareBasics() + + def endEric4DocParams(self): + """ + Handler method for the "Eric4DocParams" end tag. + """ + try: + self.project.pdata["DOCUMENTATIONPARMS"]["ERIC4DOC"] = self.stack[-1] + except IndexError: + pass + + def startEric4ApiParams(self, attrs): + """ + Handler method for the "Eric4ApiParams" start tag. + + @param attrs list of tag attributes + """ + self.defaultStartElement(attrs) + self._prepareBasics() + + def endEric4ApiParams(self): + """ + Handler method for the "Eric4ApiParams" end tag. + """ + try: + self.project.pdata["DOCUMENTATIONPARMS"]["ERIC4API"] = self.stack[-1] + except IndexError: + pass + + def startCxfreezeParams(self, attrs): + """ + Handler method for the "CxfreezeParams" start tag. + + @param attrs list of tag attributes + """ + self.defaultStartElement(attrs) + self._prepareBasics() + + def endCxfreezeParams(self): + """ + Handler method for the "CxfreezeParams" end tag. + """ + try: + self.project.pdata["PACKAGERSPARMS"]["CXFREEZE"] = self.stack[-1] + except IndexError: + self.project.pdata["PACKAGERSPARMS"] = {} + + def startPyLintParams(self, attrs): + """ + Handler method for the "PyLintParams" start tag. + + @param attrs list of tag attributes + """ + self.defaultStartElement(attrs) + self._prepareBasics() + + def endPyLintParams(self): + """ + Handler method for the "PyLintParams" end tag. + """ + try: + self.project.pdata["CHECKERSPARMS"]["PYLINT"] = self.stack[-1] + except IndexError: + self.project.pdata["CHECKERSPARMS"] = {}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/ProjectWriter.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,225 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the writer class for writing an XML project file. +""" + +import os +import time + +from E4Gui.E4Application import e4App + +from .XMLWriterBase import XMLWriterBase +from .Config import projectFileFormatVersion + +import Preferences +import Utilities + +class ProjectWriter(XMLWriterBase): + """ + Class implementing the writer class for writing an XML project file. + """ + def __init__(self, file, projectName): + """ + Constructor + + @param file open file (like) object for writing + @param projectName name of the project (string) + """ + XMLWriterBase.__init__(self, file) + + self.pdata = e4App().getObject("Project").pdata + self.name = projectName + + def writeXML(self): + """ + Public method to write the XML to the file. + """ + XMLWriterBase.writeXML(self) + + self._write('<!DOCTYPE Project SYSTEM "Project-%s.dtd">' % \ + projectFileFormatVersion) + + # add some generation comments + self._write("<!-- eric5 project file for project %s -->" % self.name) + if Preferences.getProject("XMLTimestamp"): + self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) + self._write("<!-- Copyright (C) %s %s, %s -->" % \ + (time.strftime('%Y'), + self.escape(self.pdata["AUTHOR"][0]), + self.escape(self.pdata["EMAIL"][0]))) + + # add the main tag + self._write('<Project version="%s">' % projectFileFormatVersion) + + # do the language (used for spell checking) + self._write(' <Language>%s</Language>' % self.pdata["SPELLLANGUAGE"][0]) + if len(self.pdata["SPELLWORDS"][0]) > 0: + self._write(" <ProjectWordList>%s</ProjectWordList>" % \ + Utilities.fromNativeSeparators(self.pdata["SPELLWORDS"][0])) + if len(self.pdata["SPELLEXCLUDES"][0]) > 0: + self._write(" <ProjectExcludeList>%s</ProjectExcludeList>" % \ + Utilities.fromNativeSeparators(self.pdata["SPELLEXCLUDES"][0])) + + # do the programming language + self._write(' <ProgLanguage mixed="%d">%s</ProgLanguage>' % \ + (self.pdata["MIXEDLANGUAGE"][0], self.pdata["PROGLANGUAGE"][0])) + + # do the UI type + self._write(' <ProjectType>%s</ProjectType>' % self.pdata["PROJECTTYPE"][0]) + + # do description + if self.pdata["DESCRIPTION"]: + self._write(" <Description>%s</Description>" % \ + self.escape(self.encodedNewLines(self.pdata["DESCRIPTION"][0]))) + + # do version, author and email + for key in ["VERSION", "AUTHOR", "EMAIL"]: + element = key.capitalize() + if self.pdata[key]: + self._write(" <%s>%s</%s>" % \ + (element, self.escape(self.pdata[key][0]), element)) + + # do the translation pattern + if self.pdata["TRANSLATIONPATTERN"]: + self._write(" <TranslationPattern>%s</TranslationPattern>" % \ + Utilities.fromNativeSeparators(self.pdata["TRANSLATIONPATTERN"][0])) + + # do the binary translations path + if self.pdata["TRANSLATIONSBINPATH"]: + self._write(" <TranslationsBinPath>%s</TranslationsBinPath>" % \ + Utilities.fromNativeSeparators(self.pdata["TRANSLATIONSBINPATH"][0])) + + # do the sources + self._write(" <Sources>") + for name in self.pdata["SOURCES"]: + self._write(" <Source>%s</Source>" % \ + Utilities.fromNativeSeparators(name)) + self._write(" </Sources>") + + # do the forms + self._write(" <Forms>") + for name in self.pdata["FORMS"]: + self._write(" <Form>%s</Form>" % \ + Utilities.fromNativeSeparators(name)) + self._write(" </Forms>") + + # do the translations + self._write(" <Translations>") + for name in self.pdata["TRANSLATIONS"]: + self._write(" <Translation>%s</Translation>" % \ + Utilities.fromNativeSeparators(name)) + self._write(" </Translations>") + + # do the translation exceptions + if self.pdata["TRANSLATIONEXCEPTIONS"]: + self._write(" <TranslationExceptions>") + for name in self.pdata["TRANSLATIONEXCEPTIONS"]: + self._write(" <TranslationException>%s</TranslationException>" % \ + Utilities.fromNativeSeparators(name)) + self._write(" </TranslationExceptions>") + + # do the resources + self._write(" <Resources>") + for name in self.pdata["RESOURCES"]: + self._write(" <Resource>%s</Resource>" % \ + Utilities.fromNativeSeparators(name)) + self._write(" </Resources>") + + # do the interfaces (IDL) + self._write(" <Interfaces>") + for name in self.pdata["INTERFACES"]: + self._write(" <Interface>%s</Interface>" % \ + Utilities.fromNativeSeparators(name)) + self._write(" </Interfaces>") + + # do the others + self._write(" <Others>") + for name in self.pdata["OTHERS"]: + self._write(" <Other>%s</Other>" % \ + Utilities.fromNativeSeparators(name)) + self._write(" </Others>") + + # do the main script + if self.pdata["MAINSCRIPT"]: + self._write(" <MainScript>%s</MainScript>" % \ + Utilities.fromNativeSeparators(self.pdata["MAINSCRIPT"][0])) + + # do the vcs stuff + self._write(" <Vcs>") + if self.pdata["VCS"]: + self._write(" <VcsType>%s</VcsType>" % self.pdata["VCS"][0]) + if self.pdata["VCSOPTIONS"]: + self._write(" <VcsOptions>") + self._writeBasics(self.pdata["VCSOPTIONS"][0], 3) + self._write(" </VcsOptions>") + if self.pdata["VCSOTHERDATA"]: + self._write(" <VcsOtherData>") + self._writeBasics(self.pdata["VCSOTHERDATA"][0], 3) + self._write(" </VcsOtherData>") + self._write(" </Vcs>") + + # do the filetype associations + self._write(" <FiletypeAssociations>") + for pattern, filetype in list(self.pdata["FILETYPES"].items()): + self._write(' <FiletypeAssociation pattern="%s" type="%s" />' % \ + (pattern, filetype)) + self._write(" </FiletypeAssociations>") + + # do the lexer associations + if self.pdata["LEXERASSOCS"]: + self._write(" <LexerAssociations>") + for pattern, lexer in list(self.pdata["LEXERASSOCS"].items()): + self._write(' <LexerAssociation pattern="%s" lexer="%s" />' % \ + (pattern, lexer)) + self._write(" </LexerAssociations>") + + # do the extra project data stuff + if len(self.pdata["PROJECTTYPESPECIFICDATA"]): + self._write(" <ProjectTypeSpecific>") + if self.pdata["PROJECTTYPESPECIFICDATA"]: + self._write(" <ProjectTypeSpecificData>") + self._writeBasics(self.pdata["PROJECTTYPESPECIFICDATA"], 3) + self._write(" </ProjectTypeSpecificData>") + self._write(" </ProjectTypeSpecific>") + + # do the documentation generators stuff + if len(self.pdata["DOCUMENTATIONPARMS"]): + self._write(" <Documentation>") + if self.pdata["DOCUMENTATIONPARMS"]: + self._write(" <DocumentationParams>") + self._writeBasics(self.pdata["DOCUMENTATIONPARMS"], 3) + self._write(" </DocumentationParams>") + self._write(" </Documentation>") + + # do the packagers stuff + if len(self.pdata["PACKAGERSPARMS"]): + self._write(" <Packagers>") + if self.pdata["PACKAGERSPARMS"]: + self._write(" <PackagersParams>") + self._writeBasics(self.pdata["PACKAGERSPARMS"], 3) + self._write(" </PackagersParams>") + self._write(" </Packagers>") + + # do the checkers stuff + if len(self.pdata["CHECKERSPARMS"]): + self._write(" <Checkers>") + if self.pdata["CHECKERSPARMS"]: + self._write(" <CheckersParams>") + self._writeBasics(self.pdata["CHECKERSPARMS"], 3) + self._write(" </CheckersParams>") + self._write(" </Checkers>") + + # do the other tools stuff + if len(self.pdata["OTHERTOOLSPARMS"]): + self._write(" <OtherTools>") + if self.pdata["OTHERTOOLSPARMS"]: + self._write(" <OtherToolsParams>") + self._writeBasics(self.pdata["OTHERTOOLSPARMS"], 3) + self._write(" </OtherToolsParams>") + self._write(" </OtherTools>") + + self._write("</Project>", newline = False) \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/SessionHandler.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,403 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2003 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the handler class for reading an XML project session file. +""" + +from E4Gui.E4Application import e4App + +from .Config import sessionFileFormatVersion +from .XMLHandlerBase import XMLHandlerBase + +class SessionHandler(XMLHandlerBase): + """ + Class implementing a sax handler to read an XML project session file. + """ + def __init__(self, project): + """ + Constructor + + @param project Reference to the project object to store the + information into. + """ + XMLHandlerBase.__init__(self) + + self.startDocumentSpecific = self.startDocumentSession + + self.elements.update({ + 'Session' : (self.startSession, self.defaultEndElement), + 'MultiProject' : (self.defaultStartElement, self.endMultiProject), + 'Project' : (self.defaultStartElement, self.endProject), + 'Filename' : (self.startFilename, self.endFilename), + 'ActiveWindow' : (self.startFilename, self.endFilename), + 'Breakpoint' : (self.startBreakpoint, self.endBreakpoint), + 'BpFilename' : (self.defaultStartElement, self.endBFilename), + 'Linenumber' : (self.startLinenumber, self.defaultEndElement), + 'Condition' : (self.defaultStartElement, self.endCondition), + 'Enabled' : (self.startEnabled, self.defaultEndElement), + 'Temporary' : (self.startTemporary, self.defaultEndElement), + 'Count' : (self.startCount, self.defaultEndElement), + 'Watchexpression' : (self.startWatchexpression, self.endWatchexpression), + 'Special' : (self.defaultStartElement, self.endSpecial), + 'CommandLine' : (self.defaultStartElement, self.endCommandLine), + 'WorkingDirectory' : (self.defaultStartElement, self.endWorkingDirectory), + 'Environment' : (self.defaultStartElement, self.endEnvironment), + 'ReportExceptions' : (self.startReportExceptions, self.defaultEndElement), + 'Exceptions' : (self.startExceptions, self.endExceptions), + 'Exception' : (self.defaultStartElement, self.endException), + 'IgnoredExceptions' : (self.startIgnoredExceptions, self.endIgnoredExceptions), + 'IgnoredException' : (self.defaultStartElement, self.endIgnoredException), + 'AutoClearShell' : (self.startAutoClearShell, self.defaultEndElement), + 'TracePython' : (self.startTracePython, self.defaultEndElement), + 'AutoContinue' : (self.startAutoContinue, self.defaultEndElement), + 'Bookmark' : (self.startBookmark, self.endBookmark), + 'BmFilename' : (self.defaultStartElement, self.endBFilename), + + #################################################################### + ## backward compatibility + #################################################################### + 'Watchpoint' : (self.startWatchexpression, self.endWatchexpression), # 4.0 + 'CovexcPattern' : (self.defaultStartElement, self.defaultEndElement), # 4.3 + }) + + self.project = project + self.isGlobal = project is None + + self.project = e4App().getObject("Project") + self.multiProject = e4App().getObject("MultiProject") + self.vm = e4App().getObject("ViewManager") + self.dbg = e4App().getObject("DebugUI") + self.dbs = e4App().getObject("DebugServer") + + def startDocumentSession(self): + """ + Handler called, when the document parsing is started. + """ + if not self.isGlobal: + # clear all breakpoints and bookmarks first + # (in case we are rereading a session file) + files = self.project.getSources(True) + for file in files: + editor = self.vm.getOpenEditor(file) + if editor is not None: + editor.clearBookmarks() + self.dbs.getBreakPointModel().deleteAll() + self.version = '' + + ################################################### + ## below follow the individual handler functions + ################################################### + + def endMultiProject(self): + """ + Handler method for the "MultiProject" end tag. + """ + self.multiProject.openMultiProject(self.buffer, False) + + def endProject(self): + """ + Handler method for the "Project" end tag. + """ + self.project.openProject(self.buffer, False) + + def startFilename(self, attrs): + """ + Handler method for the "Filename" start tag. + + @param attrs list of tag attributes + """ + self.buffer = "" + self.cline = int(attrs.get("cline", "0")) + self.cindex = int(attrs.get("cindex", "0")) + + folds = attrs.get("folds", "") + if folds: + self.folds = [int(f) for f in folds.split(',')] + else: + self.folds = [] + + def endFilename(self): + """ + Handler method for the "Filename" end tag. + """ + self.vm.openFiles(self.buffer) + ed = self.vm.getOpenEditor(self.buffer) + if ed is not None: + if self.folds: + ed.recolor() + for line in self.folds: + ed.foldLine(line - 1) + ed.setCursorPosition(self.cline, self.cindex) + ed.ensureCursorVisible() + + def startBreakpoint(self, attrs): + """ + Handler method for the "Breakpoint" start tag. + + @param attrs list of tag attributes + """ + self.filename = "" + self.lineno = 0 + self.bpCond = "" + self.bpTemp = False + self.bpEnabled = True + self.bpCount = 0 + + def endBreakpoint(self): + """ + Handler method for the "Breakpoint" end tag. + """ + self.dbs.getBreakPointModel().addBreakPoint(self.filename, self.lineno, + (self.bpCond, self.bpTemp, self.bpEnabled, self.bpCount)) + + def startWatchexpression(self, attrs): + """ + Handler method for the "Watchexpression" start tag. + + @param attrs list of tag attributes + """ + self.bpCond = "" + self.bpTemp = False + self.bpEnabled = True + self.bpCount = 0 + self.wpSpecialCond = "" + + def endWatchexpression(self): + """ + Handler method for the "Watchexpression" end tag. + """ + self.dbs.getWatchPointModel().addWatchPoint(self.bpCond, + (self.bpTemp, self.bpEnabled, self.bpCount, self.wpSpecialCond)) + + def endBFilename(self): + """ + Handler method for the "BFilename" end tag. + """ + self.filename = self.buffer + + def startLinenumber(self, attrs): + """ + Handler method for the "Linenumber" start tag. + + @param attrs list of tag attributes + """ + self.lineno = int(attrs["value"]) + + def endCondition(self): + """ + Handler method for the "Condition" end tag. + """ + cond = self.unescape(self.buffer) + if cond == 'None': + self.bpCond = '' + else: + self.bpCond = cond + + def startEnabled(self, attrs): + """ + Handler method for the "Enabled" start tag. + + @param attrs list of tag attributes + """ + self.bpEnabled = attrs["value"] + if self.bpEnabled in ["True", "False"]: + self.bpEnabled = self.bpEnabled == "True" + else: + self.bpEnabled = bool(int(self.bpEnabled)) + + def startTemporary(self, attrs): + """ + Handler method for the "Temporary" start tag. + + @param attrs list of tag attributes + """ + self.bpTemp = attrs["value"] + if self.bpTemp in ["True", "False"]: + self.bpTemp = self.bpTemp == "True" + else: + self.bpTemp = bool(int(self.bpTemp)) + + def startCount(self, attrs): + """ + Handler method for the "Count" start tag. + + @param attrs list of tag attributes + """ + self.bpCount = int(attrs["value"]) + + def endSpecial(self): + """ + Handler method for the "Special" end tag. + """ + self.wpSpecialCond = self.buffer + + def endCommandLine(self): + """ + Handler method for the "CommandLine" end tag. + """ + self.buffer = self.unescape(self.buffer) + self.dbg.setArgvHistory(self.buffer) + if not self.isGlobal: + self.project.dbgCmdline = self.buffer + + def endWorkingDirectory(self): + """ + Handler method for the "WorkinDirectory" end tag. + """ + self.dbg.setWdHistory(self.buffer) + if not self.isGlobal: + self.project.dbgWd = self.buffer + + def endEnvironment(self): + """ + Handler method for the "Environment" end tag. + """ + self.dbg.setEnvHistory(self.buffer) + if not self.isGlobal: + self.project.dbgEnv = self.buffer + + def startReportExceptions(self, attrs): + """ + Handler method for the "ReportExceptions" start tag. + + @param attrs list of tag attributes + """ + exc = attrs.get("value", "False") + if exc in ["True", "False"]: + if exc == "True": + exc = True + else: + exc = False + else: + exc = bool(int(exc)) + self.dbg.setExceptionReporting(exc) + if not self.isGlobal: + self.project.dbgReportExceptions = exc + + def startExceptions(self, attrs): + """ + Handler method for the "Exceptions" start tag. + + @param attrs list of tag attributes + """ + self.dbgExcList = [] + + def endExceptions(self): + """ + Handler method for the "Exceptions" end tag. + """ + self.dbg.setExcList(self.dbgExcList) + if not self.isGlobal: + self.project.dbgExcList = self.dbgExcList[:] # keep a copy + + def endException(self): + """ + Handler method for the "Exception" end tag. + """ + self.dbgExcList.append(self.buffer) + + def startIgnoredExceptions(self, attrs): + """ + Handler method for the "IgnoredExceptions" start tag. + + @param attrs list of tag attributes + """ + self.dbgExcIgnoreList = [] + + def endIgnoredExceptions(self): + """ + Handler method for the "IgnoredExceptions" end tag. + """ + self.dbg.setExcIgnoreList(self.dbgExcIgnoreList) + if not self.isGlobal: + self.project.dbgExcIgnoreList = self.dbgExcIgnoreList[:] # keep a copy + + def endIgnoredException(self): + """ + Handler method for the "IgnoredException" end tag. + """ + self.dbgExcIgnoreList.append(self.buffer) + + def startAutoClearShell(self, attrs): + """ + Handler method for the "AutoClearShell" start tag. + + @param attrs list of tag attributes + """ + autoClearShell = attrs.get("value", "False") + if autoClearShell == "True": + autoClearShell = True + else: + autoClearShell = False + self.dbg.setAutoClearShell(autoClearShell) + if not self.isGlobal: + self.project.dbgAutoClearShell = autoClearShell + + def startTracePython(self, attrs): + """ + Handler method for the "TracePython" start tag. + + @param attrs list of tag attributes + """ + tracePython = attrs.get("value", "False") + if tracePython in ["True", "False"]: + if tracePython == "True": + tracePython = True + else: + tracePython = False + else: + tracePython = bool(int(tracePython)) + self.dbg.setTracePython(tracePython) + if not self.isGlobal: + self.project.dbgTracePython = tracePython + + def startAutoContinue(self, attrs): + """ + Handler method for the "AutoContinue" start tag. + + @param attrs list of tag attributes + """ + autoContinue = attrs.get("value", "False") + if autoContinue == "True": + autoContinue = True + else: + autoContinue = False + self.dbg.setAutoContinue(autoContinue) + if not self.isGlobal: + self.project.dbgAutoContinue = autoContinue + + def startBookmark(self, attrs): + """ + Handler method for the "Bookmark" start tag. + + @param attrs list of tag attributes + """ + self.filename = "" + self.lineno = 0 + + def endBookmark(self): + """ + Handler method for the "Bookmark" end tag. + """ + editor = self.vm.getOpenEditor(self.filename) + if editor is not None: + editor.toggleBookmark(self.lineno) + + def startSession(self, attrs): + """ + Handler method for the "Session" start tag. + + @param attrs list of tag attributes + """ + self.version = attrs.get('version', sessionFileFormatVersion) + + def getVersion(self): + """ + Public method to retrieve the version of the session. + + @return String containing the version number. + """ + return self.version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/SessionWriter.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,201 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the writer class for writing an XML project session file. +""" + +import os +import time + +from E4Gui.E4Application import e4App + +from .XMLWriterBase import XMLWriterBase +from .Config import sessionFileFormatVersion + +import Preferences + +class SessionWriter(XMLWriterBase): + """ + Class implementing the writer class for writing an XML project session file. + """ + def __init__(self, file, projectName): + """ + Constructor + + @param file open file (like) object for writing + @param projectName name of the project (string) or None for the + global session + """ + XMLWriterBase.__init__(self, file) + + self.name = projectName + self.project = e4App().getObject("Project") + self.multiProject = e4App().getObject("MultiProject") + self.vm = e4App().getObject("ViewManager") + self.dbg = e4App().getObject("DebugUI") + self.dbs = e4App().getObject("DebugServer") + + def writeXML(self): + """ + Public method to write the XML to the file. + """ + isGlobal = self.name is None + + XMLWriterBase.writeXML(self) + + self._write('<!DOCTYPE Session SYSTEM "Session-%s.dtd">' % \ + sessionFileFormatVersion) + + # add some generation comments + if not isGlobal: + self._write("<!-- eric5 session file for project %s -->" % self.name) + self._write("<!-- This file was generated automatically, do not edit. -->") + if Preferences.getProject("XMLTimestamp") or isGlobal: + self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) + + # add the main tag + self._write('<Session version="%s">' % sessionFileFormatVersion) + + # step 0: save open multi project and project for the global session + if isGlobal: + if self.multiProject.isOpen(): + self._write(' <MultiProject>%s</MultiProject>' % \ + self.multiProject.getMultiProjectFile()) + if self.project.isOpen(): + self._write(' <Project>%s</Project>' % \ + self.project.getProjectFile()) + + # step 1: save all open (project) filenames and the active window + allOpenFiles = self.vm.getOpenFilenames() + self._write(" <Filenames>") + for of in allOpenFiles: + if isGlobal or of.startswith(self.project.ppath): + ed = self.vm.getOpenEditor(of) + if ed is not None: + line, index = ed.getCursorPosition() + folds = ','.join([str(i + 1) for i in ed.getFolds()]) + else: + line, index = 0, 0 + folds = '' + self._write(' <Filename cline="%d" cindex="%d" folds="%s">%s</Filename>' % \ + (line, index, folds, of)) + self._write(" </Filenames>") + + aw = self.vm.getActiveName() + if aw and aw.startswith(self.project.ppath): + ed = self.vm.getOpenEditor(aw) + if ed is not None: + line, index = ed.getCursorPosition() + else: + line, index = 0, 0 + self._write(' <ActiveWindow cline="%d" cindex="%d">%s</ActiveWindow>' % \ + (line, index, aw)) + + # step 2a: save all breakpoints + allBreaks = Preferences.getProject("SessionAllBreakpoints") + projectFiles = self.project.getSources(True) + bpModel = self.dbs.getBreakPointModel() + self._write(" <Breakpoints>") + for row in range(bpModel.rowCount()): + index = bpModel.index(row, 0) + fname, lineno, cond, temp, enabled, count = \ + bpModel.getBreakPointByIndex(index)[:6] + if isGlobal or allBreaks or fname in projectFiles: + self._write(" <Breakpoint>") + self._write(" <BpFilename>%s</BpFilename>" % fname) + self._write(' <Linenumber value="%d" />' % lineno) + self._write(" <Condition>%s</Condition>" % self.escape(str(cond))) + self._write(' <Temporary value="%s" />' % temp) + self._write(' <Enabled value="%s" />' % enabled) + self._write(' <Count value="%d" />' % count) + self._write(" </Breakpoint>") + self._write(" </Breakpoints>") + + # step 2b: save all watch expressions + self._write(" <Watchexpressions>") + wpModel = self.dbs.getWatchPointModel() + for row in range(wpModel.rowCount()): + index = wpModel.index(row, 0) + cond, temp, enabled, count, special = wpModel.getWatchPointByIndex(index)[:5] + self._write(' <Watchexpression>') + self._write(" <Condition>%s</Condition>" % self.escape(str(cond))) + self._write(' <Temporary value="%s" />' % temp) + self._write(' <Enabled value="%s" />' % enabled) + self._write(' <Count value="%d" />' % count) + self._write(' <Special>%s</Special>' % special) + self._write(' </Watchexpression>') + self._write(' </Watchexpressions>') + + # step 3: save the debug info + self._write(" <DebugInfo>") + if isGlobal: + if len(self.dbg.argvHistory): + dbgCmdline = str(self.dbg.argvHistory[0]) + else: + dbgCmdline = "" + if len(self.dbg.wdHistory): + dbgWd = self.dbg.wdHistory[0] + else: + dbgWd = "" + if len(self.dbg.envHistory): + dbgEnv = self.dbg.envHistory[0] + else: + dbgEnv = "" + self._write(" <CommandLine>%s</CommandLine>" % self.escape(dbgCmdline)) + self._write(" <WorkingDirectory>%s</WorkingDirectory>" % dbgWd) + self._write(" <Environment>%s</Environment>" % dbgEnv) + self._write(' <ReportExceptions value="%s" />' % self.dbg.exceptions) + self._write(" <Exceptions>") + for exc in self.dbg.excList: + self._write(" <Exception>%s</Exception>" % exc) + self._write(" </Exceptions>") + self._write(" <IgnoredExceptions>") + for iexc in self.dbg.excIgnoreList: + self._write(" <IgnoredException>%s</IgnoredException>" % iexc) + self._write(" </IgnoredExceptions>") + self._write(' <AutoClearShell value="%s" />' % self.dbg.autoClearShell) + self._write(' <TracePython value="%s" />' % self.dbg.tracePython) + self._write(' <AutoContinue value="%s" />' % self.dbg.autoContinue) + self._write(" <CovexcPattern></CovexcPattern>") # kept for compatibility + else: + self._write(" <CommandLine>%s</CommandLine>" % \ + self.escape(str(self.project.dbgCmdline))) + self._write(" <WorkingDirectory>%s</WorkingDirectory>" % \ + self.project.dbgWd) + self._write(" <Environment>%s</Environment>" % \ + self.project.dbgEnv) + self._write(' <ReportExceptions value="%s" />' % \ + self.project.dbgReportExceptions) + self._write(" <Exceptions>") + for exc in self.project.dbgExcList: + self._write(" <Exception>%s</Exception>" % exc) + self._write(" </Exceptions>") + self._write(" <IgnoredExceptions>") + for iexc in self.project.dbgExcIgnoreList: + self._write(" <IgnoredException>%s</IgnoredException>" % iexc) + self._write(" </IgnoredExceptions>") + self._write(' <AutoClearShell value="%s" />' % \ + self.project.dbgAutoClearShell) + self._write(' <TracePython value="%s" />' % \ + self.project.dbgTracePython) + self._write(' <AutoContinue value="%s" />' % \ + self.project.dbgAutoContinue) + self._write(" <CovexcPattern></CovexcPattern>") # kept for compatibility + self._write(" </DebugInfo>") + + # step 4: save bookmarks of all open (project) files + self._write(" <Bookmarks>") + for of in allOpenFiles: + if isGlobal or of.startswith(self.project.ppath): + editor = self.vm.getOpenEditor(of) + for bookmark in editor.getBookmarks(): + self._write(" <Bookmark>") + self._write(" <BmFilename>%s</BmFilename>" % of) + self._write(' <Linenumber value="%d" />' % bookmark) + self._write(" </Bookmark>") + self._write(" </Bookmarks>") + + self._write("</Session>", newline = False) \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/ShortcutsHandler.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,107 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2003 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the handler class for reading a keyboard shortcuts file. +""" + +from .Config import shortcutsFileFormatVersion +from .XMLHandlerBase import XMLHandlerBase + +class ShortcutsHandler(XMLHandlerBase): + """ + Class implementing a sax handler to read a keyboard shortcuts file. + """ + def __init__(self): + """ + Constructor + """ + XMLHandlerBase.__init__(self) + + self.startDocumentSpecific = self.startDocumentShortcuts + + self.elements.update({ + 'Shortcuts' : (self.startShortcuts, self.defaultEndElement), + 'Shortcut' : (self.startShortcut, self.endShortcut), + 'Name' : (self.defaultStartElement, self.endName), + 'Accel' : (self.defaultStartElement, self.endAccel), + 'AltAccel' : (self.defaultStartElement, self.endAltAccel), + }) + + def startDocumentShortcuts(self): + """ + Handler called, when the document parsing is started. + """ + self.shortcuts = {} # dictionary for storing the shortcuts + self.version = '' + + ################################################### + ## below follow the individual handler functions + ################################################### + + def endName(self): + """ + Handler method for the "Name" end tag. + """ + self.name = self.buffer + + def endAccel(self): + """ + Handler method for the "Accel" end tag. + """ + self.accel = self.unescape(self.buffer) + + def endAltAccel(self): + """ + Handler method for the "AltAccel" end tag. + """ + self.altAccel = self.unescape(self.buffer) + + def startShortcut(self, attrs): + """ + Handler method for the "Shortcut" start tag. + + @param attrs list of tag attributes + """ + self.name = '' + self.accel = '' + self.altAccel = '' + self.category = attrs.get('category', '') + + def endShortcut(self): + """ + Handler method for the "Shortcut" end tag. + """ + if self.category: + if self.category not in self.shortcuts: + self.shortcuts[self.category] = {} + self.shortcuts[self.category][self.name] = (self.accel, self.altAccel) + + def startShortcuts(self, attrs): + """ + Handler method for the "Shortcuts" start tag. + + @param attrs list of tag attributes + """ + self.version = attrs.get('version', shortcutsFileFormatVersion) + + def getShortcuts(self): + """ + Public method to retrieve the shortcuts. + + @return Dictionary of dictionaries of shortcuts. The keys of the + dictionary are the categories, the values are dictionaries. + These dictionaries have the shortcut name as their key and + a tuple of accelerators as their value. + """ + return self.shortcuts + + def getVersion(self): + """ + Public method to retrieve the version of the shortcuts. + + @return String containing the version number. + """ + return self.version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/ShortcutsWriter.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,183 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the writer class for writing an XML shortcuts file. +""" + +import time + +from E4Gui.E4Application import e4App + +from .XMLWriterBase import XMLWriterBase +from .Config import shortcutsFileFormatVersion + +import Preferences + +class ShortcutsWriter(XMLWriterBase): + """ + Class implementing the writer class for writing an XML shortcuts file. + """ + def __init__(self, file): + """ + Constructor + + @param file open file (like) object for writing + """ + XMLWriterBase.__init__(self, file) + + self.email = Preferences.getUser("Email") + + def writeXML(self): + """ + Public method to write the XML to the file. + """ + XMLWriterBase.writeXML(self) + + self._write('<!DOCTYPE Shortcuts SYSTEM "Shortcuts-%s.dtd">' % \ + shortcutsFileFormatVersion) + + # add some generation comments + self._write("<!-- Eric5 keyboard shortcuts -->") + self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) + self._write("<!-- Author: %s -->" % self.escape("%s" % self.email)) + + # add the main tag + self._write('<Shortcuts version="%s">' % shortcutsFileFormatVersion) + + for act in e4App().getObject("Project").getActions(): + self._write(' <Shortcut category="Project">') + self._write(' <Name>%s</Name>' % act.objectName()) + self._write(' <Accel>%s</Accel>' % \ + self.escape("%s" % act.shortcut().toString())) + self._write(' <AltAccel>%s</AltAccel>' \ + % self.escape("%s" % act.alternateShortcut().toString())) + self._write(' </Shortcut>') + + for act in e4App().getObject("UserInterface").getActions('ui'): + self._write(' <Shortcut category="General">') + self._write(' <Name>%s</Name>' % act.objectName()) + self._write(' <Accel>%s</Accel>' % \ + self.escape("%s" % act.shortcut().toString())) + self._write(' <AltAccel>%s</AltAccel>' % \ + self.escape("%s" % act.alternateShortcut().toString())) + self._write(' </Shortcut>') + + for act in e4App().getObject("UserInterface").getActions('wizards'): + self._write(' <Shortcut category="Wizards">') + self._write(' <Name>%s</Name>' % act.objectName()) + self._write(' <Accel>%s</Accel>' % \ + self.escape("%s" % act.shortcut().toString())) + self._write(' <AltAccel>%s</AltAccel>' % \ + self.escape("%s" % act.alternateShortcut().toString())) + self._write(' </Shortcut>') + + for act in e4App().getObject("DebugUI").getActions(): + self._write(' <Shortcut category="Debug">') + self._write(' <Name>%s</Name>' % act.objectName()) + self._write(' <Accel>%s</Accel>' % \ + self.escape("%s" % act.shortcut().toString())) + self._write(' <AltAccel>%s</AltAccel>' % \ + self.escape("%s" % act.alternateShortcut().toString())) + self._write(' </Shortcut>') + + for act in e4App().getObject("ViewManager").getActions('edit'): + self._write(' <Shortcut category="Edit">') + self._write(' <Name>%s</Name>' % act.objectName()) + self._write(' <Accel>%s</Accel>' % \ + self.escape("%s" % act.shortcut().toString())) + self._write(' <AltAccel>%s</AltAccel>' % \ + self.escape("%s" % act.alternateShortcut().toString())) + self._write(' </Shortcut>') + + for act in e4App().getObject("ViewManager").getActions('file'): + self._write(' <Shortcut category="File">') + self._write(' <Name>%s</Name>' % act.objectName()) + self._write(' <Accel>%s</Accel>' % \ + self.escape("%s" % act.shortcut().toString())) + self._write(' <AltAccel>%s</AltAccel>' % \ + self.escape("%s" % act.alternateShortcut().toString())) + self._write(' </Shortcut>') + + for act in e4App().getObject("ViewManager").getActions('search'): + self._write(' <Shortcut category="Search">') + self._write(' <Name>%s</Name>' % act.objectName()) + self._write(' <Accel>%s</Accel>' % \ + self.escape("%s" % act.shortcut().toString())) + self._write(' <AltAccel>%s</AltAccel>' % \ + self.escape("%s" % act.alternateShortcut().toString())) + self._write(' </Shortcut>') + + for act in e4App().getObject("ViewManager").getActions('view'): + self._write(' <Shortcut category="View">') + self._write(' <Name>%s</Name>' % act.objectName()) + self._write(' <Accel>%s</Accel>' % \ + self.escape("%s" % act.shortcut().toString())) + self._write(' <AltAccel>%s</AltAccel>' % \ + self.escape("%s" % act.alternateShortcut().toString())) + self._write(' </Shortcut>') + + for act in e4App().getObject("ViewManager").getActions('macro'): + self._write(' <Shortcut category="Macro">') + self._write(' <Name>%s</Name>' % act.objectName()) + self._write(' <Accel>%s</Accel>' % \ + self.escape("%s" % act.shortcut().toString())) + self._write(' <AltAccel>%s</AltAccel>' % \ + self.escape("%s" % act.alternateShortcut().toString())) + self._write(' </Shortcut>') + + for act in e4App().getObject("ViewManager").getActions('bookmark'): + self._write(' <Shortcut category="Bookmarks">') + self._write(' <Name>%s</Name>' % act.objectName()) + self._write(' <Accel>%s</Accel>' % \ + self.escape("%s" % act.shortcut().toString())) + self._write(' <AltAccel>%s</AltAccel>' % \ + self.escape("%s" % act.alternateShortcut().toString())) + self._write(' </Shortcut>') + + for act in e4App().getObject("ViewManager").getActions('spelling'): + self._write(' <Shortcut category="Spelling">') + self._write(' <Name>%s</Name>' % act.objectName()) + self._write(' <Accel>%s</Accel>' % \ + self.escape("%s" % act.shortcut().toString())) + self._write(' <AltAccel>%s</AltAccel>' % \ + self.escape("%s" % act.alternateShortcut().toString())) + self._write(' </Shortcut>') + + actions = e4App().getObject("ViewManager").getActions('window') + for act in actions: + self._write(' <Shortcut category="Window">') + self._write(' <Name>%s</Name>' % act.objectName()) + self._write(' <Accel>%s</Accel>' % \ + self.escape("%s" % act.shortcut().toString())) + self._write(' <AltAccel>%s</AltAccel>' % \ + self.escape("%s" % act.alternateShortcut().toString())) + self._write(' </Shortcut>') + + for category, ref in e4App().getPluginObjects(): + if hasattr(ref, "getActions"): + actions = ref.getActions() + for act in actions: + if act.objectName(): + # shortcuts are only exported, if their objectName is set + self._write(' <Shortcut category="%s">' % category) + self._write(' <Name>%s</Name>' % act.objectName()) + self._write(' <Accel>%s</Accel>' % \ + self.escape("%s" % act.shortcut().toString())) + self._write(' <AltAccel>%s</AltAccel>' % \ + self.escape("%s" % act.alternateShortcut().toString())) + self._write(' </Shortcut>') + + for act in e4App().getObject("DummyHelpViewer").getActions(): + self._write(' <Shortcut category="HelpViewer">') + self._write(' <Name>%s</Name>' % act.objectName()) + self._write(' <Accel>%s</Accel>' % \ + self.escape("%s" % act.shortcut().toString())) + self._write(' <AltAccel>%s</AltAccel>' \ + % self.escape("%s" % act.alternateShortcut().toString())) + self._write(' </Shortcut>') + + # add the main end tag + self._write("</Shortcuts>", newline = False)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/TasksHandler.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,197 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2005 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the handler class for reading an XML tasks file. +""" + +import os +import time + +from E4Gui.E4Application import e4App + +from .Config import tasksFileFormatVersion +from .XMLHandlerBase import XMLHandlerBase + +import Utilities + +class TasksHandler(XMLHandlerBase): + """ + Class implementing a sax handler to read an XML tasks file. + """ + def __init__(self, forProject = False, taskViewer=None): + """ + Constructor + + @param forProject flag indicating project related mode (boolean) + @param taskViewer reference to the task viewer object + """ + XMLHandlerBase.__init__(self) + + self.startDocumentSpecific = self.startDocumentTasks + + self.elements.update({ + 'Tasks' : (self.startTasks, self.defaultEndElement), + 'Summary' : (self.defaultStartElement, self.endSummary), + 'Description' : (self.defaultStartElement, self.endDescription), + 'Created' : (self.defaultStartElement, self.endCreated), + 'Dir' : (self.defaultStartElement, self.endDir), + 'Name' : (self.defaultStartElement, self.endName), + 'Filename' : (self.startFilename, self.endFilename), + 'Linenumber' : (self.defaultStartElement, self.endLinenumber), + 'Task' : (self.startTask, self.endTask), + }) + + self.forProject = forProject + if taskViewer: + self.taskViewer = taskViewer + else: + self.taskViewer = e4App().getObject("TaskViewer") + + def startDocumentTasks(self): + """ + Handler called, when the document parsing is started. + """ + self.version = '' + self.pathStack = [] + + ################################################### + ## below follow the individual handler functions + ################################################### + + def startTask(self, attrs): + """ + Handler method for the "Task" start tag. + + @param attrs list of tag attributes + """ + self.task = {"summary" : "", + "priority" : 1, + "completed" : False, + "created" : 0, + "filename" : "", + "linenumber" : 0, + "bugfix" : False, + "description" : "", + } + self.task["priority"] = int(attrs.get("priority", "1")) + + val = attrs.get("completed", "False") + if val in ["True", "False"]: + val = (val == "True") + else: + val = bool(int(val)) + self.task["completed"] = val + + val = attrs.get("bugfix", "False") + if val in ["True", "False"]: + val = (val == "True") + else: + val = bool(int(val)) + self.task["bugfix"] = val + + def endTask(self): + """ + Handler method for the "Task" end tag. + """ + self.taskViewer.addTask(self.task["summary"], priority = self.task["priority"], + filename = self.task["filename"], lineno = self.task["linenumber"], + completed = self.task["completed"], + _time = self.task["created"], isProjectTask = self.forProject, + isBugfixTask = self.task["bugfix"], longtext = self.task["description"]) + + def endSummary(self): + """ + Handler method for the "Summary" end tag. + """ + self.task["summary"] = self.unescape(self.buffer) + + def endDescription(self): + """ + Handler method for the "Description" end tag. + """ + if self.version < '4.1': + self.task["summary"] = self.unescape(self.buffer) + elif self.version == '4.1': + self.task["description"] = self.unescape(self.buffer) + else: + self.buffer = self.unescape(self.buffer) + self.task["description"] = self.decodedNewLines(self.buffer) + + def endCreated(self): + """ + Handler method for the "Created" end tag. + """ + self.task["created"] = \ + time.mktime(time.strptime(self.buffer, "%Y-%m-%d, %H:%M:%S")) + + def endDir(self): + """ + Handler method for the "Dir" end tag. + """ + self.pathStack.append(self.buffer) + + def endName(self): + """ + Handler method for the "Name" end tag. + """ + self.pathStack.append(self.buffer) + + def endLinenumber(self): + """ + Handler method for the "Linenumber" end tag. + """ + try: + self.task["linenumber"] = int(self.buffer) + except ValueError: + pass + + def startFilename(self, attrs): + """ + Handler method for the "Filename" start tag. + + @param attrs list of tag attributes + """ + self.pathStack = [] + self.buffer = "" + + def endFilename(self): + """ + Handler method for the "Filename" end tag. + """ + if self.version >= '4.2': + self.task["filename"] = \ + Utilities.toNativeSeparators(self.buffer) + else: + self.task["filename"] = self.__buildPath() + + def __buildPath(self): + """ + Private method to assemble a path. + + @return The ready assembled path. (string) + """ + path = "" + if self.pathStack and not self.pathStack[0]: + self.pathStack[0] = os.sep + for p in self.pathStack: + path = os.path.join(path, p) + return path + + def startTasks(self, attrs): + """ + Handler method for the "Tasks" start tag. + + @param attrs list of tag attributes + """ + self.version = attrs.get('version', tasksFileFormatVersion) + + def getVersion(self): + """ + Public method to retrieve the version of the tasks file. + + @return String containing the version number. + """ + return self.version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/TasksWriter.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,80 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2005 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the writer class for writing an XML tasks file. +""" + +import os +import time + +from E4Gui.E4Application import e4App + +from .XMLWriterBase import XMLWriterBase +from .Config import tasksFileFormatVersion + +import Preferences +import Utilities + +class TasksWriter(XMLWriterBase): + """ + Class implementing the writer class for writing an XML tasks file. + """ + def __init__(self, file, forProject = False, projectName=""): + """ + Constructor + + @param file open file (like) object for writing + @param forProject flag indicating project related mode (boolean) + @param projectName name of the project (string) + """ + XMLWriterBase.__init__(self, file) + + self.name = projectName + self.forProject = forProject + + def writeXML(self): + """ + Public method to write the XML to the file. + """ + XMLWriterBase.writeXML(self) + + self._write('<!DOCTYPE Tasks SYSTEM "Tasks-%s.dtd">' % tasksFileFormatVersion) + + # add some generation comments + if self.forProject: + self._write("<!-- eric5 tasks file for project %s -->" % self.name) + if Preferences.getProject("XMLTimestamp"): + self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) + else: + self._write("<!-- eric5 tasks file -->") + self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) + + # add the main tag + self._write('<Tasks version="%s">' % tasksFileFormatVersion) + + # do the tasks + if self.forProject: + tasks = e4App().getObject("TaskViewer").getProjectTasks() + else: + tasks = e4App().getObject("TaskViewer").getGlobalTasks() + for task in tasks: + self._write(' <Task priority="%d" completed="%s" bugfix="%s">' % \ + (task.priority, task.completed, task.isBugfixTask)) + self._write(' <Summary>%s</Summary>' % \ + self.escape("%s" % task.description.strip())) + self._write(' <Description>%s</Description>' % \ + self.escape(self.encodedNewLines(task.longtext.strip()))) + self._write(' <Created>%s</Created>' % \ + time.strftime("%Y-%m-%d, %H:%M:%S", time.localtime(task.created))) + if task.filename: + self._write(' <Resource>') + self._write(' <Filename>%s</Filename>' % \ + Utilities.fromNativeSeparators(task.filename)) + self._write(' <Linenumber>%d</Linenumber>' % task.lineno) + self._write(' </Resource>') + self._write(' </Task>') + + self._write('</Tasks>', newline = False) \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/TemplatesHandler.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2005 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the handler class for reading an XML templates file. +""" + +import os +import time + +from E4Gui.E4Application import e4App + +from .Config import templatesFileFormatVersion +from .XMLHandlerBase import XMLHandlerBase + +class TemplatesHandler(XMLHandlerBase): + """ + Class implementing a sax handler to read an XML templates file. + """ + def __init__(self, templateViewer=None): + """ + Constructor + + @param templateViewer reference to the template viewer object + """ + XMLHandlerBase.__init__(self) + + self.startDocumentSpecific = self.startDocumentTemplates + + self.elements.update({ + 'Templates' : (self.startTemplates, self.defaultEndElement), + 'TemplateGroup' : (self.startTemplateGroup, self.defaultEndElement), + 'Template' : (self.startTemplate, self.endTemplate), + 'TemplateDescription' : (self.defaultStartElement, + self.endTemplateDescription), + 'TemplateText' : (self.defaultStartElement, self.endTemplateText), + }) + + if templateViewer: + self.viewer = templateViewer + else: + self.viewer = e4App().getObject("TemplateViewer") + + def startDocumentTemplates(self): + """ + Handler called, when the document parsing is started. + """ + self.version = '' + + ################################################### + ## below follow the individual handler functions + ################################################### + + def startTemplateGroup(self, attrs): + """ + Handler method for the "TemplateGroup" start tag. + + @param attrs list of tag attributes + """ + self.groupName = attrs.get('name', "DEFAULT") + language = attrs.get('language', "All") + self.viewer.addGroup(self.groupName, language) + + def startTemplate(self, attrs): + """ + Handler method for the "Template" start tag. + + @param attrs list of tag attributes + """ + self.templateName = attrs.get('name', '') + self.templateDescription = "" + self.templateText = "" + + def endTemplate(self): + """ + Handler method for the "Template" end tag. + """ + if self.templateName and self.templateText: + self.viewer.addEntry(self.groupName, self.templateName, + self.templateDescription, self.templateText, + quiet=True) + + def endTemplateText(self): + """ + Handler method for the "TemplateText" end tag. + """ + self.templateText = self.unescape(self.buffer) + + def endTemplateDescription(self): + """ + Handler method for the "TemplateDescription" end tag. + """ + self.templateDescription = self.unescape(self.buffer) + + def startTemplates(self, attrs): + """ + Handler method for the "Templates" start tag. + + @param attrs list of tag attributes + """ + self.version = attrs.get('version', templatesFileFormatVersion) + + def getVersion(self): + """ + Public method to retrieve the version of the templates. + + @return String containing the version number. + """ + return self.version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/TemplatesWriter.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,63 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2005 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the writer class for writing an XML templates file. +""" + +import os +import time + +from .XMLWriterBase import XMLWriterBase +from .Config import templatesFileFormatVersion + +class TemplatesWriter(XMLWriterBase): + """ + Class implementing the writer class for writing an XML templates file. + """ + def __init__(self, file, templatesViewer): + """ + Constructor + + @param file open file (like) object for writing + """ + XMLWriterBase.__init__(self, file) + + self.templatesViewer = templatesViewer + + def writeXML(self): + """ + Public method to write the XML to the file. + """ + XMLWriterBase.writeXML(self) + + self._write('<!DOCTYPE Templates SYSTEM "Templates-%s.dtd">' % \ + templatesFileFormatVersion) + + # add some generation comments + self._write("<!-- eric5 templates file -->") + self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) + + # add the main tag + self._write('<Templates version="%s">' % templatesFileFormatVersion) + + # do the template groups + groups = self.templatesViewer.getAllGroups() + for group in groups: + self._write(' <TemplateGroup name="%s" language="%s">' % \ + (group.getName(), group.getLanguage())) + # do the templates + templates = group.getAllEntries() + for template in templates: + self._write(' <Template name="%s">' % \ + self.escape(template.getName(), True)) + self._write(' <TemplateDescription>%s</TemplateDescription>' % \ + self.escape("%s" % template.getDescription())) + self._write(' <TemplateText>%s</TemplateText>' % \ + self.escape("%s" % template.getTemplateText())) + self._write(' </Template>') + self._write(' </TemplateGroup>') + + self._write('</Templates>', newline = False) \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/UserProjectHandler.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,80 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2006 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the handler class for reading an XML user project properties file. +""" + +import os + +from .Config import userProjectFileFormatVersion +from .XMLHandlerBase import XMLHandlerBase + +import Preferences + +class UserProjectHandler(XMLHandlerBase): + """ + Class implementing a sax handler to read an XML user project properties file. + """ + def __init__(self, project): + """ + Constructor + + @param project Reference to the project object to store the + information into. + """ + XMLHandlerBase.__init__(self) + + self.startDocumentSpecific = self.startDocumentProject + + self.elements.update({ + 'UserProject' : (self.startUserProject, self.defaultEndElement), + 'VcsType' : (self.defaultStartElement, self.endVcsType), + 'VcsStatusMonitorInterval' : (self.startVcsStatusMonitorInterval, + self.defaultEndElement), + }) + + self.project = project + + def startDocumentProject(self): + """ + Handler called, when the document parsing is started. + """ + self.version = '' + + ################################################### + ## below follow the individual handler functions + ################################################### + + def endVcsType(self): + """ + Handler method for the "VcsType" end tag. + """ + self.project.pudata["VCSOVERRIDE"] = [self.buffer] + + def startVcsStatusMonitorInterval(self, attrs): + """ + Handler method for the "VcsStatusMonitorInterval" start tag. + + @param attrs list of tag attributes + """ + interval = int(attrs.get("value", Preferences.getVCS("StatusMonitorInterval"))) + self.project.pudata["VCSSTATUSMONITORINTERVAL"] = [interval] + + def startUserProject(self, attrs): + """ + Handler method for the "UserProject" start tag. + + @param attrs list of tag attributes + """ + self.version = attrs.get('version', userProjectFileFormatVersion) + + def getVersion(self): + """ + Public method to retrieve the version of the user project file. + + @return String containing the version number. + """ + return self.version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/UserProjectWriter.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,64 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2006 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing the writer class for writing an XML user project properties file. +""" + +import time + +from E4Gui.E4Application import e4App + +from .XMLWriterBase import XMLWriterBase +from .Config import userProjectFileFormatVersion + +import Preferences + +class UserProjectWriter(XMLWriterBase): + """ + Class implementing the writer class for writing an XML user project properties file. + """ + def __init__(self, file, projectName): + """ + Constructor + + @param file open file (like) object for writing + @param projectName name of the project (string) + """ + XMLWriterBase.__init__(self, file) + + self.pudata = e4App().getObject("Project").pudata + self.pdata = e4App().getObject("Project").pdata + self.name = projectName + + def writeXML(self): + """ + Public method to write the XML to the file. + """ + XMLWriterBase.writeXML(self) + + self._write('<!DOCTYPE UserProject SYSTEM "UserProject-%s.dtd">' % \ + userProjectFileFormatVersion) + + # add some generation comments + self._write("<!-- eric5 user project file for project %s -->" % self.name) + if Preferences.getProject("XMLTimestamp"): + self._write("<!-- Saved: %s -->" % time.strftime('%Y-%m-%d, %H:%M:%S')) + self._write("<!-- Copyright (C) %s %s, %s -->" % \ + (time.strftime('%Y'), + self.escape(self.pdata["AUTHOR"][0]), + self.escape(self.pdata["EMAIL"][0]))) + + # add the main tag + self._write('<UserProject version="%s">' % userProjectFileFormatVersion) + + # do the vcs override stuff + if self.pudata["VCSOVERRIDE"]: + self._write(" <VcsType>%s</VcsType>" % self.pudata["VCSOVERRIDE"][0]) + if self.pudata["VCSSTATUSMONITORINTERVAL"]: + self._write(' <VcsStatusMonitorInterval value="%d" />' % \ + self.pudata["VCSSTATUSMONITORINTERVAL"][0]) + + self._write("</UserProject>", newline = False) \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/XMLEntityResolver.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing a specialized entity resolver to find our DTDs. +""" + +import os.path +from xml.sax.handler import EntityResolver + +import Utilities + +from eric5config import getConfig + +class XMLEntityResolver(EntityResolver): + """ + Class implementing a specialized entity resolver to find our DTDs. + """ + def resolveEntity(self, publicId, systemId): + """ + Public method to resolve the system identifier of an entity and + return either the system identifier to read from as a string. + + @param publicId publicId of an entity (string) + @param systemId systemId of an entity to reslove (string) + @return resolved systemId (string) + """ + if systemId.startswith('http://'): + sId = systemId + + elif os.path.exists(systemId): + sId = systemId + + else: + dtdDir = getConfig('ericDTDDir') + if not os.path.isabs(dtdDir): + dtdDir = os.path.abspath(dtdDir) + sId = os.path.join(dtdDir, systemId) + if not os.path.exists(sId): + ind = sId.rfind('-') + if ind != -1: + sId = "%s.dtd" % sId[:ind] + if not os.path.exists(sId): + sId = "" + + return sId \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/XMLErrorHandler.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,109 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing an error handler class. +""" + +from xml.sax.handler import ErrorHandler +from xml.sax import SAXParseException + +from .XMLMessageDialog import XMLMessageDialog + +class XMLParseError(Exception): + """ + Class implementing an exception for recoverable parse errors. + """ + pass + +class XMLFatalParseError(XMLParseError): + """ + Class implementing an exception for recoverable parse errors. + """ + pass + +class XMLErrorHandler(ErrorHandler): + """ + Class implementing an error handler class. + """ + def __init__(self): + """ + Constructor + """ + self.errors = 0 + self.fatals = 0 + self.warnings = 0 + self.totals = 0 + + # list of tuples of (message type, system id, line number, + # column number, message) + self.msgs = [] + + def error(self, exception): + """ + Public method to handle a recoverable error. + + @param exception Exception object describing the error (SAXParseException) + """ + self.errors += 1 + self.totals += 1 + self.msgs.append((\ + "E", + exception.getSystemId(), + exception.getLineNumber(), + exception.getColumnNumber(), + exception.getMessage() + )) + + def fatalError(self, exception): + """ + Public method to handle a non-recoverable error. + + @param exception Exception object describing the error (SAXParseException) + @exception XMLFatalParseError a fatal parse error has occured + """ + self.fatals += 1 + self.totals += 1 + self.msgs.append((\ + "F", + exception.getSystemId(), + exception.getLineNumber(), + exception.getColumnNumber(), + exception.getMessage() + )) + raise XMLFatalParseError + + def warning(self, exception): + """ + Public method to handle a warning. + + @param exception Exception object describing the error (SAXParseException) + """ + self.warnings += 1 + self.totals += 1 + self.msgs.append((\ + "W", + exception.getSystemId(), + exception.getLineNumber(), + exception.getColumnNumber(), + exception.getMessage() + )) + + def getParseMessages(self): + """ + Public method to retrieve all messages. + + @return list of tuples of (message type, system id, line no, column no, + message) + """ + return self.msgs + + def showParseMessages(self): + """ + Public method to show the parse messages (if any) in a dialog. + """ + if self.totals: + dlg = XMLMessageDialog(self.msgs, None) + dlg.exec_()
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/XMLHandlerBase.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,302 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing a base class for all of eric5s XML handlers. +""" + +import sys +import pickle +import base64 + +from xml.sax.handler import ContentHandler + +class XMLHandlerBase(ContentHandler): + """ + Class implementing the base class for al of eric5s XML handlers. + """ + def __init__(self): + """ + Constructor + """ + self.startDocumentSpecific = None + + self.elements = { + 'none' : (self.defaultStartElement, self.endNone), + 'int' : (self.defaultStartElement, self.endInt), + 'float' : (self.defaultStartElement, self.endFloat), + 'complex' : (self.defaultStartElement, self.endComplex), + 'bool' : (self.defaultStartElement, self.endBool), + 'string' : (self.defaultStartElement, self.endString), + 'bytes' : (self.defaultStartElement, self.endBytes), + 'bytearray' : (self.defaultStartElement, self.endBytearray), + 'tuple' : (self.startTuple, self.endTuple), + 'list' : (self.startList, self.endList), + 'dict' : (self.startDictionary, self.endDictionary), + 'set' : (self.startSet, self.endSet), + 'frozenset' : (self.startFrozenset, self.endFrozenset), + 'pickle' : (self.startPickle, self.endPickle), + # for backward compatibility + 'long' : (self.defaultStartElement, self.endInt), + 'unicode' : (self.defaultStartElement, self.endString), + } + + self.buffer = "" + self.stack = [] + self._marker = '__MARKER__' + + self.NEWPARA = chr(0x2029) + self.NEWLINE = chr(0x2028) + + def unescape(self, text, attribute = False): + """ + Public method used to unescape certain characters. + + @param text the text to unescape (string) + @param attribute flag indicating unescaping is done for an attribute + """ + if attribute: + return text.replace(""",'"').replace(">",">")\ + .replace("<","<").replace("&","&") + else: + return text.replace(">",">").replace("<","<").replace("&","&") + + def decodedNewLines(self, text): + """ + Public method to decode newlines and paragraph breaks. + + @param text text to decode (string or QString) + """ + return text.replace(self.NEWPARA, "\n\n").replace(self.NEWLINE, "\n") + + def startDocument(self): + """ + Handler called, when the document parsing is started. + """ + self.buffer = "" + if self.startDocumentSpecific is not None: + self.startDocumentSpecific() + + def startElement(self, name, attrs): + """ + Handler called, when a starting tag is found. + + @param name name of the tag (string) + @param attrs list of tag attributes + """ + try: + self.elements[name][0](attrs) + except KeyError: + pass + + def endElement(self, name): + """ + Handler called, when an ending tag is found. + + @param name name of the tag (string) + """ + try: + self.elements[name][1]() + except KeyError: + pass + + def characters(self, chars): + """ + Handler called for ordinary text. + + @param chars the scanned text (string) + """ + self.buffer += chars + + def defaultStartElement(self, attrs): + """ + Handler method for common start tags. + + @param attrs list of tag attributes + """ + self.buffer = "" + + def defaultEndElement(self): + """ + Handler method for the common end tags. + """ + pass + + def _prepareBasics(self): + """ + Protected method to prepare the parsing of XML for basic python types. + """ + self.stack = [] + + ############################################################################ + ## The various handler methods for basic types + ############################################################################ + + def endNone(self): + """ + Handler method for the "none" end tag. + """ + self.stack.append(None) + + def endInt(self): + """ + Handler method for the "int" end tag. + """ + self.stack.append(int(self.buffer.strip())) + + def endBool(self): + """ + Handler method for the "bool" end tag. + """ + if self.buffer.strip() == "True": + self.stack.append(True) + else: + self.stack.append(False) + + def endFloat(self): + """ + Handler method for the "float" end tag. + """ + self.stack.append(float(self.buffer.strip())) + + def endComplex(self): + """ + Handler method for the "complex" end tag. + """ + real, imag = self.buffer.strip().split() + self.stack.append(float(real) + float(imag)*1j) + + def endString(self): + """ + Handler method for the "string" end tag. + """ + s = str(self.unescape(self.buffer)) + self.stack.append(s) + + def endBytes(self): + """ + Handler method for the "bytes" end tag. + """ + by = bytes([int(b) for b in self.buffer.strip().split(",")]) + self.stack.append(by) + + def endBytearray(self): + """ + Handler method for the "bytearray" end tag. + """ + by = bytearray([int(b) for b in self.buffer.strip().split(",")]) + self.stack.append(by) + + def startList(self, attrs): + """ + Handler method for the "list" start tag. + + @param attrs list of tag attributes + """ + self.stack.append(self._marker) + + def endList(self): + """ + Handler method for the "list" end tag. + """ + for i in range(len(self.stack) - 1, -1, -1): + if self.stack[i] is self._marker: + break + assert i != -1 + l = self.stack[i + 1:len(self.stack)] + self.stack[i:] = [l] + + def startTuple(self, attrs): + """ + Handler method for the "tuple" start tag. + + @param attrs list of tag attributes + """ + self.stack.append(self._marker) + + def endTuple(self): + """ + Handler method for the "tuple" end tag. + """ + for i in range(len(self.stack) - 1, -1, -1): + if self.stack[i] is self._marker: + break + assert i != -1 + t = tuple(self.stack[i + 1:len(self.stack)]) + self.stack[i:] = [t] + + def startDictionary(self, attrs): + """ + Handler method for the "dictionary" start tag. + + @param attrs list of tag attributes + """ + self.stack.append(self._marker) + + def endDictionary(self): + """ + Handler method for the "dictionary" end tag. + """ + for i in range(len(self.stack) - 1, -1, -1): + if self.stack[i] is self._marker: + break + assert i != -1 + d = {} + for j in range(i + 1, len(self.stack), 2): + d[self.stack[j]] = self.stack[j + 1] + self.stack[i:] = [d] + + def startSet(self, attrs): + """ + Handler method for the "set" start tag. + + @param attrs list of tag attributes + """ + self.stack.append(self._marker) + + def endSet(self): + """ + Handler method for the "set" end tag. + """ + for i in range(len(self.stack) - 1, -1, -1): + if self.stack[i] is self._marker: + break + assert i != -1 + s = set(self.stack[i + 1:len(self.stack)]) + self.stack[i:] = [s] + + def startFrozenset(self, attrs): + """ + Handler method for the "frozenset" start tag. + + @param attrs list of tag attributes + """ + self.stack.append(self._marker) + + def endFrozenset(self): + """ + Handler method for the "frozenset" end tag. + """ + for i in range(len(self.stack) - 1, -1, -1): + if self.stack[i] is self._marker: + break + assert i != -1 + f = frozenset(self.stack[i + 1:len(self.stack)]) + self.stack[i:] = [f] + + def startPickle(self, attrs): + """ + Handler method for the "pickle" start tag. + + @param attrs list of tag attributes + """ + self.pickleEnc = attrs.get("encoding", "base64") + + def endPickle(self): + """ + Handler method for the "pickle" end tag. + """ + pic = base64.b64decode(self.buffer.encode("ASCII")) + self.stack.append(pickle.loads(pic))
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/XMLMessageDialog.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,67 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing a dialog to display XML parse messages. +""" + +from PyQt4.QtCore import * +from PyQt4.QtGui import * + +from .Ui_XMLMessageDialog import Ui_XMLMessageDialog + + +class XMLMessageDialog(QDialog, Ui_XMLMessageDialog): + """ + Class implementing a dialog to display XML parse messages. + """ + def __init__(self, msgs, parent = None): + """ + Constructor + + @param msgs list of tuples of (message type, system id, + line no, column no, message) + @param parent parent object of the dialog (QWidget) + """ + QDialog.__init__(self,parent) + self.setupUi(self) + + for type, sysId, line, column, msg in msgs: + if type == "F": + color = QColor(Qt.red) + self.__appendText(self.trUtf8("Fatal Error"), color) + elif type == "E": + color = QColor(Qt.blue) + self.__appendText(self.trUtf8("Error"), color) + elif type == "W": + color = QColor(Qt.black) + self.__appendText(self.trUtf8("Warning"), color) + + self.__appendText(sysId, color) + self.__appendText(self.trUtf8("Line: {0}, Column: {1}") + .format(line, column), color) + self.__appendText(msg, color) + + self.__appendText("------", QColor(Qt.black)) + + tc = self.messages.textCursor() + tc.movePosition(QTextCursor.Start) + self.messages.setTextCursor(tc) + self.messages.ensureCursorVisible() + + def __appendText(self, txt, color): + """ + Private method to append text to the end of the messages pane. + + @param txt text to insert (QString) + @param color text color to be used (QColor) + """ + if txt is not None: + tc = self.messages.textCursor() + tc.movePosition(QTextCursor.End) + self.messages.setTextCursor(tc) + self.messages.setTextColor(color) + self.messages.insertPlainText(txt) + self.messages.insertPlainText("\n")
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/XMLMessageDialog.ui Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,59 @@ +<ui version="4.0" > + <class>XMLMessageDialog</class> + <widget class="QDialog" name="XMLMessageDialog" > + <property name="geometry" > + <rect> + <x>0</x> + <y>0</y> + <width>567</width> + <height>253</height> + </rect> + </property> + <property name="windowTitle" > + <string>XML Parse Messages</string> + </property> + <property name="sizeGripEnabled" > + <bool>true</bool> + </property> + <layout class="QVBoxLayout" > + <item> + <widget class="QTextEdit" name="messages" > + <property name="readOnly" > + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox" > + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons" > + <set>QDialogButtonBox::Ok</set> + </property> + </widget> + </item> + </layout> + </widget> + <layoutdefault spacing="6" margin="6" /> + <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> + <resources/> + <connections> + <connection> + <sender>buttonBox</sender> + <signal>accepted()</signal> + <receiver>XMLMessageDialog</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel" > + <x>157</x> + <y>231</y> + </hint> + <hint type="destinationlabel" > + <x>157</x> + <y>251</y> + </hint> + </hints> + </connection> + </connections> +</ui>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/XMLUtilities.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing various XML utility functions. +""" + +def make_parser(validating): + """ + Function to generate an XML parser. + + First it will be tried to generate a validating parser. If + this attempt fails, a non validating parser is tried next. + + @param validating flag indicating a validating parser is requested + @return XML parser object + """ + if validating: + # see if we have a working validating parser available + try: + import _xmlplus + except ImportError: + validating = False + else: + try: + v = _xmlplus.version_info + except AttributeError: + validating = False + else: + if v < (0, 8, 3): + validating = False + + if validating: + try: + from xml.sax.sax2exts import XMLValParserFactory + return XMLValParserFactory.make_parser() + except ImportError: + from xml.sax import make_parser as sax_make_parser + return sax_make_parser() + else: + from xml.sax import make_parser as sax_make_parser + return sax_make_parser()
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/XMLWriterBase.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,256 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing a base class for all of eric5s XML writers. +""" + +import os +import pickle +import base64 + +class XMLWriterBase(object): + """ + Class implementing a base class for all of eric5s XML writers. + """ + def __init__(self, file): + """ + Constructor + + @param file open file (like) object for writing + """ + self.pf = file + + self.basics = { + type(None) : self._write_none, + int : self._write_int, + float : self._write_float, + complex : self._write_complex, + bool : self._write_bool, + str : self._write_string, + bytes : self._write_bytes, + bytearray : self._write_bytearray, + tuple : self._write_tuple, + list : self._write_list, + dict : self._write_dictionary, + set : self._write_set, + frozenset : self._write_frozenset, + } + + self.NEWPARA = chr(0x2029) + self.NEWLINE = chr(0x2028) + + def _write(self, s, newline = True): + """ + Protected method used to do the real write operation. + + @param s string to be written to the XML file + @param newline flag indicating a linebreak + """ + self.pf.write("%s%s" % (s, + newline and os.linesep or "")) + + def writeXML(self): + """ + Public method to write the XML to the file. + """ + # write the XML header + self._write('<?xml version="1.0" encoding="UTF-8"?>') + + def escape(self, data, attribute=False): + """ + Function to escape &, <, and > in a string of data. + + @param data data to be escaped (string) + @param attribute flag indicating escaping is done for an attribute + @return the escaped data (string) + """ + + # must do ampersand first + data = data.replace("&", "&") + data = data.replace(">", ">") + data = data.replace("<", "<") + if attribute: + data = data.replace('"', """) + return data + + def encodedNewLines(self, text): + """ + Public method to encode newlines and paragraph breaks. + + @param text text to encode (string or QString) + """ + return text.replace("\n\n", self.NEWPARA).replace("\n", self.NEWLINE) + + def _writeBasics(self, pyobject, indent = 0): + """ + Protected method to dump an object of a basic Python type. + + @param pyobject object to be dumped + @param indent indentation level for prettier output (integer) + """ + writeMethod = self.basics.get(type(pyobject)) or self._write_unimplemented + writeMethod(pyobject, indent) + + ############################################################################ + ## The various writer methods for basic types + ############################################################################ + + def _write_none(self, value, indent): + """ + Protected method to dump a NoneType object. + + @param value value to be dumped (None) (ignored) + @param indent indentation level for prettier output (integer) + """ + self._write('%s<none />' % (" " * indent)) + + def _write_int(self, value, indent): + """ + Protected method to dump an int object. + + @param value value to be dumped (integer) + @param indent indentation level for prettier output (integer) + """ + self._write('%s<int>%s</int>' % (" " * indent, value)) + + def _write_bool(self, value, indent): + """ + Protected method to dump a bool object. + + @param value value to be dumped (boolean) + @param indent indentation level for prettier output (integer) + """ + self._write('%s<bool>%s</bool>' % (" " * indent, value)) + + def _write_float(self, value, indent): + """ + Protected method to dump a float object. + + @param value value to be dumped (float) + @param indent indentation level for prettier output (integer) + """ + self._write('%s<float>%s</float>' % (" " * indent, value)) + + def _write_complex(self, value, indent): + """ + Protected method to dump a complex object. + + @param value value to be dumped (complex) + @param indent indentation level for prettier output (integer) + """ + self._write('%s<complex>%s %s</complex>' % \ + (" " * indent, value.real, value.imag)) + + def _write_string(self, value, indent): + """ + Protected method to dump a str object. + + @param value value to be dumped (string) + @param indent indentation level for prettier output (integer) + """ + self._write('%s<string>%s</string>' % (" " * indent, self.escape(value))) + + def _write_bytes(self, value, indent): + """ + Protected method to dump a bytes object. + + @param value value to be dumped (bytes) + @param indent indentation level for prettier output (integer) + """ + self._write('%s<bytes>%s</bytes>' % ( + " " * indent, ",".join(["%d" % b for b in value]))) + + def _write_bytearray(self, value, indent): + """ + Protected method to dump a bytearray object. + + @param value value to be dumped (bytearray) + @param indent indentation level for prettier output (integer) + """ + self._write('%s<bytearray>%s</bytearray>' % ( + " " * indent, ",".join(["%d" % b for b in value]))) + + def _write_tuple(self, value, indent): + """ + Protected method to dump a tuple object. + + @param value value to be dumped (tuple) + @param indent indentation level for prettier output (integer) + """ + self._write('%s<tuple>' % (" " * indent)) + nindent = indent + 1 + for elem in value: + self._writeBasics(elem, nindent) + self._write('%s</tuple>' % (" " * indent)) + + def _write_list(self, value, indent): + """ + Protected method to dump a list object. + + @param value value to be dumped (list) + @param indent indentation level for prettier output (integer) + """ + self._write('%s<list>' % (" " * indent)) + nindent = indent + 1 + for elem in value: + self._writeBasics(elem, nindent) + self._write('%s</list>' % (" " * indent)) + + def _write_dictionary(self, value, indent): + """ + Protected method to dump a dict object. + + @param value value to be dumped (dictionary) + @param indent indentation level for prettier output (integer) + """ + self._write('%s<dict>' % (" " * indent)) + nindent1 = indent + 1 + nindent2 = indent + 2 + keys = sorted(list(value.keys())) + for key in keys: + self._write('%s<key>' % (" " * nindent1)) + self._writeBasics(key, nindent2) + self._write('%s</key>' % (" " * nindent1)) + self._write('%s<value>' % (" " * nindent1)) + self._writeBasics(value[key], nindent2) + self._write('%s</value>' % (" " * nindent1)) + self._write('%s</dict>' % (" " * indent)) + + def _write_set(self, value, indent): + """ + Protected method to dump a set object. + + @param value value to be dumped (set) + @param indent indentation level for prettier output (integer) + """ + self._write('%s<set>' % (" " * indent)) + nindent = indent + 1 + for elem in value: + self._writeBasics(elem, nindent) + self._write('%s</set>' % (" " * indent)) + + def _write_frozenset(self, value, indent): + """ + Protected method to dump a frozenset object. + + @param value value to be dumped (frozenset) + @param indent indentation level for prettier output (integer) + """ + self._write('%s<frozenset>' % (" " * indent)) + nindent = indent + 1 + for elem in value: + self._writeBasics(elem, nindent) + self._write('%s</frozenset>' % (" " * indent)) + + def _write_unimplemented(self, value, indent): + """ + Protected method to dump a type, that has no special method. + + @param value value to be dumped (any pickleable object) + @param indent indentation level for prettier output (integer) + """ + self._write('%s<pickle method="pickle" encoding="base64">%s</pickle>' % \ + (" " * indent, str(base64.b64encode(pickle.dumps(value)), "ASCII")))
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E5XML/__init__.py Tue Jan 12 17:55:24 2010 +0000 @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2004 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Package implementing the XML handling module of eric5. + +This module includes XML handlers and writers for +<ul> + <li>Project files</li> + <li>User project data files</li> + <li>Multi-project files</li> + <li>Session files</li> + <li>Shortcuts files</li> + <li>Debugger Properties files</li> + <li>Tasks files</li> + <li>Templates files</li> + <li>Highlighting styles</li> + <li>Plugiin repository (handler only)</li> +</ul> +""" \ No newline at end of file
--- a/MultiProject/MultiProject.py Tue Jan 12 07:38:28 2010 +0000 +++ b/MultiProject/MultiProject.py Tue Jan 12 17:55:24 2010 +0000 @@ -21,12 +21,12 @@ from .PropertiesDialog import PropertiesDialog from .AddProjectDialog import AddProjectDialog -from E4XML.XMLUtilities import make_parser -from E4XML.XMLErrorHandler import XMLErrorHandler, XMLFatalParseError -from E4XML.XMLEntityResolver import XMLEntityResolver +from E5XML.XMLUtilities import make_parser +from E5XML.XMLErrorHandler import XMLErrorHandler, XMLFatalParseError +from E5XML.XMLEntityResolver import XMLEntityResolver -from E4XML.MultiProjectHandler import MultiProjectHandler -from E4XML.MultiProjectWriter import MultiProjectWriter +from E5XML.MultiProjectHandler import MultiProjectHandler +from E5XML.MultiProjectWriter import MultiProjectWriter import UI.PixmapCache @@ -978,4 +978,4 @@ for project in self.projects: if not project['master']: files.append(project['file']) - return files + return files \ No newline at end of file
--- a/PluginManager/PluginRepositoryDialog.py Tue Jan 12 07:38:28 2010 +0000 +++ b/PluginManager/PluginRepositoryDialog.py Tue Jan 12 17:55:24 2010 +0000 @@ -21,10 +21,10 @@ from UI.AuthenticationDialog import AuthenticationDialog -from E4XML.XMLUtilities import make_parser -from E4XML.XMLErrorHandler import XMLErrorHandler, XMLFatalParseError -from E4XML.XMLEntityResolver import XMLEntityResolver -from E4XML.PluginRepositoryHandler import PluginRepositoryHandler +from E5XML.XMLUtilities import make_parser +from E5XML.XMLErrorHandler import XMLErrorHandler, XMLFatalParseError +from E5XML.XMLEntityResolver import XMLEntityResolver +from E5XML.PluginRepositoryHandler import PluginRepositoryHandler import Utilities import Preferences @@ -644,4 +644,4 @@ ).format(applPath), self.trUtf8('OK')) - self.close() + self.close() \ No newline at end of file
--- a/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py Tue Jan 12 07:38:28 2010 +0000 +++ b/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py Tue Jan 12 17:55:24 2010 +0000 @@ -16,11 +16,11 @@ from .ConfigurationPageBase import ConfigurationPageBase from .Ui_EditorHighlightingStylesPage import Ui_EditorHighlightingStylesPage -from E4XML.XMLUtilities import make_parser -from E4XML.XMLErrorHandler import XMLErrorHandler, XMLFatalParseError -from E4XML.XMLEntityResolver import XMLEntityResolver -from E4XML.HighlightingStylesWriter import HighlightingStylesWriter -from E4XML.HighlightingStylesHandler import HighlightingStylesHandler +from E5XML.XMLUtilities import make_parser +from E5XML.XMLErrorHandler import XMLErrorHandler, XMLFatalParseError +from E5XML.XMLEntityResolver import XMLEntityResolver +from E5XML.HighlightingStylesWriter import HighlightingStylesWriter +from E5XML.HighlightingStylesHandler import HighlightingStylesHandler import Preferences @@ -420,4 +420,4 @@ @param dlg reference to the configuration dialog """ page = EditorHighlightingStylesPage(dlg.getLexers()) - return page + return page \ No newline at end of file
--- a/Preferences/Shortcuts.py Tue Jan 12 07:38:28 2010 +0000 +++ b/Preferences/Shortcuts.py Tue Jan 12 17:55:24 2010 +0000 @@ -16,11 +16,11 @@ from Preferences import Prefs, syncPreferences -from E4XML.XMLUtilities import make_parser -from E4XML.XMLErrorHandler import XMLErrorHandler, XMLFatalParseError -from E4XML.ShortcutsHandler import ShortcutsHandler -from E4XML.ShortcutsWriter import ShortcutsWriter -from E4XML.XMLEntityResolver import XMLEntityResolver +from E5XML.XMLUtilities import make_parser +from E5XML.XMLErrorHandler import XMLErrorHandler, XMLFatalParseError +from E5XML.ShortcutsHandler import ShortcutsHandler +from E5XML.ShortcutsWriter import ShortcutsWriter +from E5XML.XMLEntityResolver import XMLEntityResolver def __readShortcut(act, category, prefClass): """ @@ -398,4 +398,4 @@ if "HelpViewer" in shortcuts: __setAction(e4App().getObject("DummyHelpViewer").getActions(), - shortcuts["HelpViewer"]) + shortcuts["HelpViewer"]) \ No newline at end of file
--- a/Project/Project.py Tue Jan 12 07:38:28 2010 +0000 +++ b/Project/Project.py Tue Jan 12 17:55:24 2010 +0000 @@ -37,20 +37,20 @@ from .LexerAssociationDialog import LexerAssociationDialog from .UserPropertiesDialog import UserPropertiesDialog -from E4XML.XMLUtilities import make_parser -from E4XML.XMLErrorHandler import XMLErrorHandler, XMLFatalParseError -from E4XML.XMLEntityResolver import XMLEntityResolver +from E5XML.XMLUtilities import make_parser +from E5XML.XMLErrorHandler import XMLErrorHandler, XMLFatalParseError +from E5XML.XMLEntityResolver import XMLEntityResolver -from E4XML.ProjectHandler import ProjectHandler -from E4XML.ProjectWriter import ProjectWriter -from E4XML.UserProjectHandler import UserProjectHandler -from E4XML.UserProjectWriter import UserProjectWriter -from E4XML.SessionHandler import SessionHandler -from E4XML.SessionWriter import SessionWriter -from E4XML.TasksHandler import TasksHandler -from E4XML.TasksWriter import TasksWriter -from E4XML.DebuggerPropertiesHandler import DebuggerPropertiesHandler -from E4XML.DebuggerPropertiesWriter import DebuggerPropertiesWriter +from E5XML.ProjectHandler import ProjectHandler +from E5XML.ProjectWriter import ProjectWriter +from E5XML.UserProjectHandler import UserProjectHandler +from E5XML.UserProjectWriter import UserProjectWriter +from E5XML.SessionHandler import SessionHandler +from E5XML.SessionWriter import SessionWriter +from E5XML.TasksHandler import TasksHandler +from E5XML.TasksWriter import TasksWriter +from E5XML.DebuggerPropertiesHandler import DebuggerPropertiesHandler +from E5XML.DebuggerPropertiesWriter import DebuggerPropertiesWriter import VCS from VCS.CommandOptionsDialog import vcsCommandOptionsDialog @@ -4584,4 +4584,4 @@ lineno += 1 - return version + return version \ No newline at end of file
--- a/Templates/TemplateViewer.py Tue Jan 12 07:38:28 2010 +0000 +++ b/Templates/TemplateViewer.py Tue Jan 12 17:55:24 2010 +0000 @@ -24,11 +24,11 @@ import Preferences -from E4XML.XMLUtilities import make_parser -from E4XML.XMLErrorHandler import XMLErrorHandler, XMLFatalParseError -from E4XML.XMLEntityResolver import XMLEntityResolver -from E4XML.TemplatesHandler import TemplatesHandler -from E4XML.TemplatesWriter import TemplatesWriter +from E5XML.XMLUtilities import make_parser +from E5XML.XMLErrorHandler import XMLErrorHandler, XMLFatalParseError +from E5XML.XMLEntityResolver import XMLEntityResolver +from E5XML.TemplatesHandler import TemplatesHandler +from E5XML.TemplatesWriter import TemplatesWriter import UI.PixmapCache import Utilities @@ -902,4 +902,4 @@ names = [] for group in list(self.groups.values()): names.extend(group.getEntryNames(start)) - return sorted(names) + return sorted(names) \ No newline at end of file
--- a/UI/UserInterface.py Tue Jan 12 07:38:28 2010 +0000 +++ b/UI/UserInterface.py Tue Jan 12 17:55:24 2010 +0000 @@ -88,15 +88,15 @@ import UI.PixmapCache -from E4XML.XMLUtilities import make_parser -from E4XML.XMLErrorHandler import XMLErrorHandler, XMLFatalParseError -from E4XML.XMLEntityResolver import XMLEntityResolver -from E4XML.TasksHandler import TasksHandler -from E4XML.TasksWriter import TasksWriter -from E4XML.TemplatesHandler import TemplatesHandler -from E4XML.TemplatesWriter import TemplatesWriter -from E4XML.SessionWriter import SessionWriter -from E4XML.SessionHandler import SessionHandler +from E5XML.XMLUtilities import make_parser +from E5XML.XMLErrorHandler import XMLErrorHandler, XMLFatalParseError +from E5XML.XMLEntityResolver import XMLEntityResolver +from E5XML.TasksHandler import TasksHandler +from E5XML.TasksWriter import TasksWriter +from E5XML.TemplatesHandler import TemplatesHandler +from E5XML.TemplatesWriter import TemplatesWriter +from E5XML.SessionWriter import SessionWriter +from E5XML.SessionHandler import SessionHandler from IconEditor.IconEditorWindow import IconEditorWindow @@ -5546,4 +5546,4 @@ if self.__startup: if Preferences.getGeometry("MainMaximized"): self.setWindowState(Qt.WindowStates(Qt.WindowMaximized)) - self.__startup = False + self.__startup = False \ No newline at end of file
--- a/eric5.e4p Tue Jan 12 07:38:28 2010 +0000 +++ b/eric5.e4p Tue Jan 12 17:55:24 2010 +0000 @@ -480,33 +480,6 @@ <Source>Preferences/ConfigurationPages/NetworkPage.py</Source> <Source>QScintilla/Lexers/LexerContainer.py</Source> <Source>QScintilla/Lexers/LexerPygments.py</Source> - <Source>E4XML/ProjectWriter.py</Source> - <Source>E4XML/SessionWriter.py</Source> - <Source>E4XML/ProjectHandler.py</Source> - <Source>E4XML/ShortcutsWriter.py</Source> - <Source>E4XML/DebuggerPropertiesWriter.py</Source> - <Source>E4XML/TemplatesWriter.py</Source> - <Source>E4XML/DebuggerPropertiesHandler.py</Source> - <Source>E4XML/ShortcutsHandler.py</Source> - <Source>E4XML/TasksHandler.py</Source> - <Source>E4XML/Config.py</Source> - <Source>E4XML/__init__.py</Source> - <Source>E4XML/TasksWriter.py</Source> - <Source>E4XML/TemplatesHandler.py</Source> - <Source>E4XML/SessionHandler.py</Source> - <Source>E4XML/UserProjectWriter.py</Source> - <Source>E4XML/UserProjectHandler.py</Source> - <Source>E4XML/PluginRepositoryHandler.py</Source> - <Source>E4XML/MultiProjectWriter.py</Source> - <Source>E4XML/MultiProjectHandler.py</Source> - <Source>E4XML/HighlightingStylesWriter.py</Source> - <Source>E4XML/HighlightingStylesHandler.py</Source> - <Source>E4XML/XMLUtilities.py</Source> - <Source>E4XML/XMLHandlerBase.py</Source> - <Source>E4XML/XMLWriterBase.py</Source> - <Source>E4XML/XMLMessageDialog.py</Source> - <Source>E4XML/XMLEntityResolver.py</Source> - <Source>E4XML/XMLErrorHandler.py</Source> <Source>QScintilla/SpellChecker.py</Source> <Source>Preferences/ConfigurationPages/EditorSpellCheckingPage.py</Source> <Source>QScintilla/SpellCheckingDialog.py</Source> @@ -758,6 +731,33 @@ <Source>DebugClients/Python/coverage/xmlreport.py</Source> <Source>DebugClients/Python/coverage/phystokens.py</Source> <Source>DebugClients/Python/coverage/results.py</Source> + <Source>E5XML/ProjectWriter.py</Source> + <Source>E5XML/SessionWriter.py</Source> + <Source>E5XML/ProjectHandler.py</Source> + <Source>E5XML/ShortcutsWriter.py</Source> + <Source>E5XML/DebuggerPropertiesWriter.py</Source> + <Source>E5XML/TemplatesWriter.py</Source> + <Source>E5XML/DebuggerPropertiesHandler.py</Source> + <Source>E5XML/ShortcutsHandler.py</Source> + <Source>E5XML/TasksHandler.py</Source> + <Source>E5XML/Config.py</Source> + <Source>E5XML/__init__.py</Source> + <Source>E5XML/TasksWriter.py</Source> + <Source>E5XML/TemplatesHandler.py</Source> + <Source>E5XML/SessionHandler.py</Source> + <Source>E5XML/UserProjectWriter.py</Source> + <Source>E5XML/UserProjectHandler.py</Source> + <Source>E5XML/PluginRepositoryHandler.py</Source> + <Source>E5XML/MultiProjectWriter.py</Source> + <Source>E5XML/MultiProjectHandler.py</Source> + <Source>E5XML/HighlightingStylesWriter.py</Source> + <Source>E5XML/HighlightingStylesHandler.py</Source> + <Source>E5XML/XMLUtilities.py</Source> + <Source>E5XML/XMLHandlerBase.py</Source> + <Source>E5XML/XMLWriterBase.py</Source> + <Source>E5XML/XMLMessageDialog.py</Source> + <Source>E5XML/XMLEntityResolver.py</Source> + <Source>E5XML/XMLErrorHandler.py</Source> </Sources> <Forms> <Form>PyUnit/UnittestDialog.ui</Form> @@ -928,7 +928,6 @@ <Form>Preferences/ViewProfileToolboxesDialog.ui</Form> <Form>Preferences/ConfigurationPages/TerminalPage.ui</Form> <Form>Preferences/ConfigurationPages/NetworkPage.ui</Form> - <Form>E4XML/XMLMessageDialog.ui</Form> <Form>Preferences/ConfigurationPages/EditorSpellCheckingPage.ui</Form> <Form>QScintilla/SpellCheckingDialog.ui</Form> <Form>Project/SpellingPropertiesDialog.ui</Form> @@ -959,6 +958,7 @@ <Form>Helpviewer/Passwords/PasswordsDialog.ui</Form> <Form>Helpviewer/AdBlock/AdBlockDialog.ui</Form> <Form>Helpviewer/OpenSearch/OpenSearchEditDialog.ui</Form> + <Form>E5XML/XMLMessageDialog.ui</Form> </Forms> <Translations> <Translation>i18n/eric5_cs.qm</Translation>