def deserialize(self, accountDirectory, accountDom): accountDom.setNamespaceMap(self.nssMap) account = ZBlogAccount(accountDirectory) account.setId(accountDom.documentElement.getAttribute(u"account-id")) #$NON-NLS-1$ self._deserializeAttributes(accountDom.documentElement, account) self._deserializeApiInfo(accountDom, account) self._deserializeBlogs(accountDom, account) return account
def deserialize(self, accountDirectory, accountDom): accountDom.setNamespaceMap(self.nssMap) account = ZBlogAccount(accountDirectory) account.setId(accountDom.documentElement.getAttribute( u"account-id")) #$NON-NLS-1$ self._deserializeAttributes(accountDom.documentElement, account) self._deserializeApiInfo(accountDom, account) self._deserializeBlogs(accountDom, account) return account