58 |
58 |
59 def endDescription(self): |
59 def endDescription(self): |
60 """ |
60 """ |
61 Handler method for the "Description" end tag. |
61 Handler method for the "Description" end tag. |
62 """ |
62 """ |
63 self.buffer = self.unescape(self.utf8_to_code(self.buffer)) |
63 self.buffer = self.unescape(self.buffer) |
64 self.multiProject.description = self.decodedNewLines(self.buffer) |
64 self.multiProject.description = self.decodedNewLines(self.buffer) |
65 |
65 |
66 def startProject(self, attrs): |
66 def startProject(self, attrs): |
67 """ |
67 """ |
68 Handler method for the "Project" start tag. |
68 Handler method for the "Project" start tag. |
81 |
81 |
82 def endProjectName(self): |
82 def endProjectName(self): |
83 """ |
83 """ |
84 Handler method for the "ProjectName" end tag. |
84 Handler method for the "ProjectName" end tag. |
85 """ |
85 """ |
86 self.project["name"] = self.unescape(self.utf8_to_code(self.buffer)) |
86 self.project["name"] = self.unescape(self.buffer) |
87 |
87 |
88 def endProjectFile(self): |
88 def endProjectFile(self): |
89 """ |
89 """ |
90 Handler method for the "ProjectFile" end tag. |
90 Handler method for the "ProjectFile" end tag. |
91 """ |
91 """ |
92 filename = self.utf8_to_code(self.buffer) |
92 filename = self.buffer |
93 self.project["file"] = Utilities.toNativeSeparators(filename) |
93 self.project["file"] = Utilities.toNativeSeparators(filename) |
94 |
94 |
95 def endProjectDescription(self): |
95 def endProjectDescription(self): |
96 """ |
96 """ |
97 Handler method for the "ProjectDescription" end tag. |
97 Handler method for the "ProjectDescription" end tag. |
98 """ |
98 """ |
99 self.buffer = self.unescape(self.utf8_to_code(self.buffer)) |
99 self.buffer = self.unescape(self.buffer) |
100 self.project["description"] = self.decodedNewLines(self.buffer) |
100 self.project["description"] = self.decodedNewLines(self.buffer) |
101 |
101 |
102 def getVersion(self): |
102 def getVersion(self): |
103 """ |
103 """ |
104 Public method to retrieve the version of the project. |
104 Public method to retrieve the version of the project. |