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

Method buildChildren

stix/bindings/ttp.py:709–713  ·  view source on GitHub ↗
(self, child_, node, nodeName_, fromsubclass_=False)

Source from the content-addressed store, hash-verified

707 def buildAttributes(self, node, attrs, already_processed):
708 pass
709 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):
710 if nodeName_ == 'Exploit':
711 obj_ = ExploitType.factory()
712 obj_.build(child_)
713 self.Exploit.append(obj_)
714# end class ExploitsType
715
716class MalwareType(GeneratedsSuper):

Callers 1

buildMethod · 0.95

Calls 2

factoryMethod · 0.45
buildMethod · 0.45

Tested by

no test coverage detected