MCPcopy Create free account
hub / github.com/STIXProject/python-stix / exportChildren

Method exportChildren

stix/bindings/ttp.py:693–699  ·  view source on GitHub ↗
(self, lwrite, level, nsmap, namespace_=XML_NS, name_='ExploitsType', fromsubclass_=False, pretty_print=True)

Source from the content-addressed store, hash-verified

691 def exportAttributes(self, lwrite, level, already_processed, namespace_='ttp:', name_='ExploitsType'):
692 pass
693 def exportChildren(self, lwrite, level, nsmap, namespace_=XML_NS, name_='ExploitsType', fromsubclass_=False, pretty_print=True):
694 if pretty_print:
695 eol_ = '\n'
696 else:
697 eol_ = ''
698 for Exploit_ in self.Exploit:
699 Exploit_.export(lwrite, level, nsmap, namespace_, name_='Exploit', pretty_print=pretty_print)
700 def build(self, node):
701 self.__sourcenode__ = node
702 already_processed = set()

Callers 1

exportMethod · 0.95

Calls 1

exportMethod · 0.45

Tested by

no test coverage detected