def _CustomFromElementTree(element_tree): namespace_uri, local_tag = string.split(element_tree.tag[1:], "}", 1) if namespace_uri == GSPREADSHEETS_EXTENDED_NAMESPACE: new_custom = atom._XFromElementTree(Custom, local_tag, GSPREADSHEETS_EXTENDED_NAMESPACE, element_tree) new_custom.column = local_tag return new_custom return None
def _FeedLinkFromElementTree(element_tree): return atom._XFromElementTree(FeedLink, 'feedLink', GDATA_NAMESPACE, element_tree)
def _ItemsPerPageFromElementTree(element_tree): return atom._XFromElementTree(ItemsPerPage, 'itemsPerPage', OPENSEARCH_NAMESPACE, element_tree)
def _StartIndexFromElementTree(element_tree): return atom._XFromElementTree(StartIndex, 'startIndex', OPENSEARCH_NAMESPACE, element_tree)
def _TotalResultsFromElementTree(element_tree): return atom._XFromElementTree(TotalResults, 'totalResults', OPENSEARCH_NAMESPACE, element_tree)
def _GDataFeedFromElementTree(element_tree): return atom._XFromElementTree(GDataFeed, 'feed', atom.ATOM_NAMESPACE, element_tree)
def _GBaseItemTypesFeedFromElementTree(element_tree): return atom._XFromElementTree(GBaseItemTypesFeed, 'feed', atom.ATOM_NAMESPACE, element_tree)
def _MetaItemTypeFromElementTree(element_tree): return atom._XFromElementTree(MetaItemType, 'item_type', GMETA_NAMESPACE, element_tree)
def _ItemTypeFromElementTree(element_tree): return atom._XFromElementTree(ItemType, 'item_type', GBASE_NAMESPACE, element_tree)
def _LabelFromElementTree(element_tree): return atom._XFromElementTree(Label, 'label', GBASE_NAMESPACE, element_tree)
def _GBaseSnippetFromElementTree(element_tree): return atom._XFromElementTree(GBaseSnippet, 'entry', atom.ATOM_NAMESPACE, element_tree)
def _SpreadsheetsWorksheetsFeedFromElementTree(element_tree): return atom._XFromElementTree(SpreadsheetsWorksheetsFeed, 'feed', atom.ATOM_NAMESPACE, element_tree)
def _CellFromElementTree(element_tree): return atom._XFromElementTree(Cell, 'cell', GSPREADSHEETS_NAMESPACE, element_tree)
def _RowCountFromElementTree(element_tree): return atom._XFromElementTree(RowCount, 'rowCount', GSPREADSHEETS_NAMESPACE, element_tree)
def _ColCountFromElementTree(element_tree): return atom._XFromElementTree(ColCount, 'colCount', GSPREADSHEETS_NAMESPACE, element_tree)
def _SpreadsheetsListFromElementTree(element_tree): return atom._XFromElementTree(SpreadsheetsList, 'entry', atom.ATOM_NAMESPACE, element_tree)