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

Method buildChildren

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

Source from the content-addressed store, hash-verified

1242 def buildAttributes(self, node, attrs, already_processed):
1243 super(RelatedTTPsType, self).buildAttributes(node, attrs, already_processed)
1244 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):
1245 if nodeName_ == 'Related_TTP':
1246 obj_ = stix_common_binding.RelatedTTPType.factory()
1247 obj_.build(child_)
1248 self.Related_TTP.append(obj_)
1249 super(RelatedTTPsType, self).buildChildren(child_, node, nodeName_, True)
1250# end class RelatedTTPsType
1251
1252

Callers 1

buildMethod · 0.95

Calls 3

factoryMethod · 0.45
buildMethod · 0.45
buildChildrenMethod · 0.45

Tested by

no test coverage detected