def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'b': obj_ = XSDataBoolean() obj_.build(child_) self.setB(obj_) XSData.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'timedOut': obj_ = XSDataBoolean() obj_.build(child_) self.setTimedOut(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'finalSize': obj_ = XSDataInteger() obj_.build(child_) self.setFinalSize(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'flush': obj_ = XSDataBoolean() obj_.build(child_) self.setFlush(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'item': obj_ = XSDataString() obj_.build(child_) self.item.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'query': obj_ = XSDataQuery() obj_.build(child_) self.query.append(obj_) XSDataInput.buildChildren(self, child_, nodeName_)