

def parseString(inString):
    from mixbox.vendor.six import StringIO
    doc = parsexml_(StringIO(rootTag))
    rootNode = doc.getroot()
    (rootTag, rootClass) = get_root_tag(rootNode)
    if (rootClass is None):
        rootTag = 'Network_Connection'
        rootClass = NetworkConnectionObjectType
    rootObj = rootClass.factory()
    rootObj.build(rootNode)
    doc = None
    return rootObj

dataset/ETHPy150Open CybOXProject/python-cybox/cybox/bindings/network_connection_object.py parseString/VarMisuse@25/33 `inString`->`rootTag`