|
@@ 8141-8152 (lines=12) @@
|
| 8138 |
|
outfile.write(' conf="%s"' % self.gds_format_float(self.conf, input_name='conf')) |
| 8139 |
|
def exportChildren(self, outfile, level, namespaceprefix_='', namespacedef_='xmlns:pc="http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15"', name_='BaselineType', fromsubclass_=False, pretty_print=True): |
| 8140 |
|
pass |
| 8141 |
|
def to_etree(self, parent_element=None, name_='BaselineType', mapping_=None, nsmap_=None): |
| 8142 |
|
if parent_element is None: |
| 8143 |
|
element = etree_.Element('{http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15}' + name_, nsmap=nsmap_) |
| 8144 |
|
else: |
| 8145 |
|
element = etree_.SubElement(parent_element, '{http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15}' + name_, nsmap=nsmap_) |
| 8146 |
|
if self.points is not None: |
| 8147 |
|
element.set('points', self.gds_format_string(self.points)) |
| 8148 |
|
if self.conf is not None: |
| 8149 |
|
element.set('conf', self.gds_format_float(self.conf)) |
| 8150 |
|
if mapping_ is not None: |
| 8151 |
|
mapping_[id(self)] = element |
| 8152 |
|
return element |
| 8153 |
|
def build(self, node, gds_collector_=None): |
| 8154 |
|
self.gds_collector_ = gds_collector_ |
| 8155 |
|
if SaveElementTreeNode: |
|
@@ 5826-5837 (lines=12) @@
|
| 5823 |
|
outfile.write(' regionRef=%s' % (self.gds_encode(self.gds_format_string(quote_attrib(self.regionRef), input_name='regionRef')), )) |
| 5824 |
|
def exportChildren(self, outfile, level, namespaceprefix_='', namespacedef_='xmlns:pc="http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15"', name_='RegionRefIndexedType', fromsubclass_=False, pretty_print=True): |
| 5825 |
|
pass |
| 5826 |
|
def to_etree(self, parent_element=None, name_='RegionRefIndexedType', mapping_=None, nsmap_=None): |
| 5827 |
|
if parent_element is None: |
| 5828 |
|
element = etree_.Element('{http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15}' + name_, nsmap=nsmap_) |
| 5829 |
|
else: |
| 5830 |
|
element = etree_.SubElement(parent_element, '{http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15}' + name_, nsmap=nsmap_) |
| 5831 |
|
if self.index is not None: |
| 5832 |
|
element.set('index', self.gds_format_integer(self.index)) |
| 5833 |
|
if self.regionRef is not None: |
| 5834 |
|
element.set('regionRef', self.gds_format_string(self.regionRef)) |
| 5835 |
|
if mapping_ is not None: |
| 5836 |
|
mapping_[id(self)] = element |
| 5837 |
|
return element |
| 5838 |
|
def build(self, node, gds_collector_=None): |
| 5839 |
|
self.gds_collector_ = gds_collector_ |
| 5840 |
|
if SaveElementTreeNode: |
|
@@ 5425-5436 (lines=12) @@
|
| 5422 |
|
outfile.write(' points=%s' % (self.gds_encode(self.gds_format_string(quote_attrib(self.points), input_name='points')), )) |
| 5423 |
|
def exportChildren(self, outfile, level, namespaceprefix_='', namespacedef_='xmlns:pc="http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15"', name_='GridPointsType', fromsubclass_=False, pretty_print=True): |
| 5424 |
|
pass |
| 5425 |
|
def to_etree(self, parent_element=None, name_='GridPointsType', mapping_=None, nsmap_=None): |
| 5426 |
|
if parent_element is None: |
| 5427 |
|
element = etree_.Element('{http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15}' + name_, nsmap=nsmap_) |
| 5428 |
|
else: |
| 5429 |
|
element = etree_.SubElement(parent_element, '{http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15}' + name_, nsmap=nsmap_) |
| 5430 |
|
if self.index is not None: |
| 5431 |
|
element.set('index', self.gds_format_integer(self.index)) |
| 5432 |
|
if self.points is not None: |
| 5433 |
|
element.set('points', self.gds_format_string(self.points)) |
| 5434 |
|
if mapping_ is not None: |
| 5435 |
|
mapping_[id(self)] = element |
| 5436 |
|
return element |
| 5437 |
|
def build(self, node, gds_collector_=None): |
| 5438 |
|
self.gds_collector_ = gds_collector_ |
| 5439 |
|
if SaveElementTreeNode: |
|
@@ 3442-3453 (lines=12) @@
|
| 3439 |
|
outfile.write(' conf="%s"' % self.gds_format_float(self.conf, input_name='conf')) |
| 3440 |
|
def exportChildren(self, outfile, level, namespaceprefix_='', namespacedef_='xmlns:pc="http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15"', name_='CoordsType', fromsubclass_=False, pretty_print=True): |
| 3441 |
|
pass |
| 3442 |
|
def to_etree(self, parent_element=None, name_='CoordsType', mapping_=None, nsmap_=None): |
| 3443 |
|
if parent_element is None: |
| 3444 |
|
element = etree_.Element('{http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15}' + name_, nsmap=nsmap_) |
| 3445 |
|
else: |
| 3446 |
|
element = etree_.SubElement(parent_element, '{http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15}' + name_, nsmap=nsmap_) |
| 3447 |
|
if self.points is not None: |
| 3448 |
|
element.set('points', self.gds_format_string(self.points)) |
| 3449 |
|
if self.conf is not None: |
| 3450 |
|
element.set('conf', self.gds_format_float(self.conf)) |
| 3451 |
|
if mapping_ is not None: |
| 3452 |
|
mapping_[id(self)] = element |
| 3453 |
|
return element |
| 3454 |
|
def build(self, node, gds_collector_=None): |
| 3455 |
|
self.gds_collector_ = gds_collector_ |
| 3456 |
|
if SaveElementTreeNode: |