

def export(self, lwrite, level, namespace_='NetworkConnectionObj:', name_='NetworkConnectionObjectType', namespacedef_='', pretty_print=True):
    if pretty_print:
        eol_ = '\n'
    else:
        eol_ = ''
    showIndent(lwrite, level, pretty_print)
    lwrite(('<%s%s%s' % (namespace_, name_, ((namespacedef_ and (' ' + namespacedef_)) or ''))))
    already_processed = set()
    self.exportAttributes(lwrite, level, already_processed, namespace_, name_='NetworkConnectionObjectType')
    if self.hasContent_():
        lwrite(('>%s' % (self,)))
        self.exportChildren(lwrite, (level + 1), namespace_, name_, pretty_print=pretty_print)
        showIndent(lwrite, level, pretty_print)
        lwrite(('</%s%s>%s' % (namespace_, name_, eol_)))
    else:
        lwrite(('/>%s' % (eol_,)))

dataset/ETHPy150Open CybOXProject/python-cybox/cybox/bindings/network_connection_object.py NetworkConnectionObjectType.export/VarMisuse@123/193 `eol_`->`self`