

def exportChildren(self, lwrite, level, namespace_='NetworkConnectionObj:', name_='NetworkConnectionObjectType', fromsubclass_=False, pretty_print=True):
    super(NetworkConnectionObjectType, self).exportChildren(lwrite, level, 'NetworkConnectionObj:', name_, True, pretty_print=pretty_print)
    if pretty_print:
        eol_ = '\n'
    else:
        eol_ = ''
    if (self.Creation_Time is not None):
        self.Creation_Time.export(lwrite, level, 'NetworkConnectionObj:', name_='Creation_Time', pretty_print=pretty_print)
    if (self.Layer3_Protocol is not None):
        self.Layer3_Protocol.export(lwrite, level, 'NetworkConnectionObj:', name_='Layer3_Protocol', pretty_print=pretty_print)
    if (self.Layer4_Protocol is not None):
        self.Layer4_Protocol.export(lwrite, level, 'NetworkConnectionObj:', name_='Layer4_Protocol', pretty_print=pretty_print)
    if (self.Layer7_Protocol is not None):
        self.Layer7_Protocol.export(lwrite, level, 'NetworkConnectionObj:', name_='Layer7_Protocol', pretty_print=pretty_print)
    if (self.Source_Socket_Address is not None):
        self.Source_Socket_Address.export(lwrite, level, 'NetworkConnectionObj:', name_='Source_Socket_Address', pretty_print=pretty_print)
    if (self.Source_TCP_State is not None):
        showIndent(lwrite, level, pretty_print)
        lwrite(('<%sSource_TCP_State>%s</%sSource_TCP_State>%s' % ('NetworkConnectionObj:', self.gds_format_string(quote_xml(self.Source_TCP_State), input_name='Source_TCP_State'), 'NetworkConnectionObj:', eol_)))
    if (self.Destination_Socket_Address is not None):
        self.Destination_Socket_Address.export(lwrite, level, 'NetworkConnectionObj:', name_='Destination_Socket_Address', pretty_print=pretty_print)
    if (self.Destination_TCP_State is not None):
        showIndent(lwrite, level, pretty_print)
        lwrite(('<%sDestination_TCP_State>%s</%sDestination_TCP_State>%s' % ('NetworkConnectionObj:', self.gds_format_string(quote_xml(self.Destination_TCP_State), input_name='Destination_TCP_State'), 'NetworkConnectionObj:', eol_)))
    if (self.Layer7_Connections is not None):
        self.Layer7_Connections.export(lwrite, level, 'NetworkConnectionObj:', name_='Layer7_Connections', pretty_print=pretty_print)

dataset/ETHPy150Open CybOXProject/python-cybox/cybox/bindings/network_connection_object.py NetworkConnectionObjectType.exportChildren/original