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

Method build

stix/bindings/incident.py:2001–2007  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

1999 for Leveraged_TTP_ in self.Leveraged_TTP:
2000 Leveraged_TTP_.export(lwrite, level, nsmap, namespace_, name_='Leveraged_TTP', pretty_print=pretty_print)
2001 def build(self, node):
2002 self.__sourcenode__ = node
2003 already_processed = set()
2004 self.buildAttributes(node, node.attrib, already_processed)
2005 for child in node:
2006 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
2007 self.buildChildren(child, node, nodeName_)
2008 def buildAttributes(self, node, attrs, already_processed):
2009 super(LeveragedTTPsType, self).buildAttributes(node, attrs, already_processed)
2010 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):

Callers

nothing calls this directly

Calls 2

buildAttributesMethod · 0.95
buildChildrenMethod · 0.95

Tested by

no test coverage detected