def __init__(self, hid): ContentHandler.__init__(self) self.hid = hid self.state = ['Root'] self.keys = {} self.content = None self.currentKey = None
def __init__(self): ContentHandler.__init__(self) self.results = [] self._ParentDoc = None self._NodeStack = [] self._CharCache = "" self._Active = False
def __init__(self): ContentHandler.__init__(self) # TAGS.TO.USE=400_a###400_b###400_c###400_d###400_x###410_a###410_b###411_a###411_b###430_a###450_a###450_x###451_a###451_x self.searchedTagCodes = { "400": ["a", "b", "c", "d", "x"], "410": ["a", "b"], "411": ["a", "b"], "430": ["a"], "450": ["a", "x"], "451": ["a", "x"], } # self.searchedTagMacCodes = {'750': ['a','b','v','x','y','z','0','2','5']} self.searchedTagMacCodes = {"750": ["a"]} self.foundTagCodesValues = {} self.foundMACSTagCodesValues = {} self.lastValidTag = None self.lastValidSubFieldCode = None self.tagName = "" self.procContentSubfield = {} self.relevantGNDIDdatafield = "035" self.relevantGNDIDsubfield = "a" self.inGNDIDField = False self.inGNDIDsubfield = False self.pGNDIDPattern = re.compile("\(DE-588\)", re.UNICODE | re.DOTALL | re.IGNORECASE)
def __init__(self): ContentHandler.__init__(self) self.path = '' self.previousPath = '' self.currentAttributes = set() self.structure = XMLStructure()
def __init__(self): ContentHandler.__init__(self) self._content = u'' self._title = u'' self._last_change = u'' self._selector = None self._list_level = 0
def __init__(self, library): ContentHandler.__init__(self) self._library = library self._current = None self._tag = None self._changed_songs = []
def __init__(self): ContentHandler.__init__(self) self.rootNode = None self.stack = [] self.locatorStack = [] self.filePathStack = [] self.inDTD = False
def __init__(self, page): ContentHandler.__init__(self) self._dbms = None self._page = page self.dbms = None
def __init__(self, hid): ContentHandler.__init__(self) self._hid = hid self._state = ['Root'] self._currentUsagePage = None self._currentUsage = None self._content = None
def __init__(self): ContentHandler.__init__(self) self._locator = Locator() # Dummy setDocumentLocator does the same! self.setDocumentLocator(self._locator) self.m_lcnt = 0 # input line number self.m_ppath = [ ] # contains the XML path to the current node (names of the ancestors) self.m_done = -1 # -1: not started synset yet, 0: inside synset, 1: done with synset self.m_syns = Synset() # points to the output struct self.m_syns_list = [] # points to the output struct self.m_ilrs0_temp = '' # Temp vars for Tuples (std::pair in C++) self.m_ilrs1_temp = '' self.m_sumolinks0_temp = '' self.m_sumolinks1_temp = '' self.m_elrs0_temp = '' self.m_elrs1_temp = '' self.m_elrs30_temp = '' self.m_elrs31_temp = '' self.m_ekszlinks0_temp = '' self.m_ekszlinks1_temp = '' self.m_vframelinks0_temp = '' self.m_vframelinks1_temp = '' self.m_startroot = False # was there a starting root tag? self.m_endroot = False # was there an end root tag?
def __init__(self): """XMLReader initializer""" ContentHandler.__init__(self) self.msg_queue = deque() # current packet under construction self._draft = None self._sections_map = None
def __init__(self): ContentHandler.__init__(self) self.path = "" self.previousPath = "" self.currentAttributes = set() self.structure = XMLStructure()
def __init__(self, text): ContentHandler.__init__(self) self.text = text self.data = [] self.lemma = [] self.pos = [] self.word = []
def __init__(self, hypothesis): ContentHandler.__init__(self) self.hypothesis = hypothesis self.data = [] self.lemma = [] self.pos = [] self.word = []
def __init__(self): self.tagStack = [] self.currentData = '' self.currentTag = None self.pushTag(self) ContentHandler.__init__(self) Tag.__init__(self, '[document]')
def __init__(self): ContentHandler.__init__(self) self.type = "" self.id = "" self.tags = {} self.fields = ['full_id', 'osm_id', 'osm_type'] self.elements = []
def __init__(self): ContentHandler.__init__(self) self._data = '' self._in_a = 0 self._a_title = '' self._a_href = '' self._dict=self.__class__.__dict__;
def __init__(self): ContentHandler.__init__(self) # Simple database to keep track of the different publication types. self.db = { 'article': 0, 'inproceedings': 0, 'proceedings': 0, 'book': 0, 'incollection': 0, 'phdthesis': 0, 'mastersthesis': 0, } # The number of publications per author self.authorsPubdb = dict() # Type: (name : list coauthors) self.coauthorsDB = dict() # Flag if we are inside a publication of the wished type (see types above) self.parentFlag = False # Flag if we are in a author's tag self.authorFlag = False # Counter at the beginning of a publication tag self.counter = 0 self.counterA = 0 self.counterB = 0 # Counter at the end of a publication tag self.endCounter = 0 # The authors of the current publication self.tempAuthors = [] # timing self.startTime = 0
def __init__(self): ContentHandler.__init__(self) # Simple database to keep track of the different publication types. self.db = {'article' : 0, 'inproceedings' : 0, 'proceedings' : 0, 'book' : 0, 'incollection' : 0, 'phdthesis' : 0, 'mastersthesis' : 0, } # The number of publications per author self.authorsPubdb = dict() # Type: (name : list coauthors) self.coauthorsDB = dict() # Flag if we are inside a publication of the wished type (see types above) self.parentFlag = False # Flag if we are in a author's tag self.authorFlag = False # Counter at the beginning of a publication tag self.counter = 0 self.counterA = 0 self.counterB = 0 # Counter at the end of a publication tag self.endCounter = 0 # The authors of the current publication self.tempAuthors = [] # timing self.startTime = 0
def __init__(self, fname, filehash, needports=False, needopenports=False, **_): ContentHandler.__init__(self) self._needports = needports self._needopenports = needopenports self._curscan = None self._curscript = None self._curhost = None self._curextraports = None self._curport = None self._curtrace = None self._curdata = None self._curtable = {} self._curtablepath = [] self._curhostnames = None self._fname = fname self._filehash = filehash self.scanner = "nmap" self.need_scan_doc = False if config.DEBUG: sys.stderr.write("READING %r (%r)\n" % (fname, self._filehash))
def __init__(self): ContentHandler.__init__(self) self._in_temperature = False self._in_name = False self._in_mintemp_value = False self._current_name = "" self._temperatures = []
def __init__(self, agreement): ContentHandler.__init__(self) self.agreement = agreement self.ann = None self.mistake = None self.currentTag = None pass
def __init__(self): ContentHandler.__init__(self) self.sins = {} self.currentTag = None self.pagecount = 0 self.stop = False pass
def __init__(self): ContentHandler.__init__(self) self._data = '' self._in_a = 0 self._a_title = '' self._a_href = '' self._dict = self.__class__.__dict__
def __init__(self, page): ContentHandler.__init__(self) self._dbms = None self._page = (page or "") self._lower_page = self._page.lower() self.dbms = None
def __init__(self, output): ContentHandler.__init__(self) self.tagnames = ("front", "back", "card") self.state = dict(zip(self.tagnames, [False] * len(self.tagnames))) self.key = self.translation = "" self.output = output
def __init__(self, session): ContentHandler.__init__(self) self._currenttag = None self._ignoretag = None self._defaulttags = [] self._session = session self._validate_reply_and_sax_tag = False self._lock = Lock()
def __init__(self): ContentHandler.__init__(self) # DTDHandler.__init__(self) # DTDHandler has no __init__ (?) # EntityResolver.__init__(self) # neither does EntityResolver self.data = "" self.stack = [] self.root = None self.ns_dict = {}
def __init__(self, processes, algorithms): ContentHandler.__init__(self) self.tag = '' self.attrs = [] # Used as temp var to hold attributes # Processes will be returned as a list of dicts self.proc = processes self.algs = algorithms self.totalMem = 0
def __init__(self): """ В text_fragment должны попасть то что попадает в body и длинне 50 слов В plain_text должно попасть то что короче 50 слов """ ContentHandler.__init__(self) self.tags = defaultdict(lambda: {'texts': [], 'word_count': 0}) self.path = []
def __init__(self): ContentHandler.__init__(self) self.value = "" self.attrs = None self.children = [] self.isValid = 1 self.name = None self.itunes = False
def __init__(self): ContentHandler.__init__(self) tags = ['title', 'h1', 'a', 'h2h6', 'beis', 'body', 'metadescription', 'text'] self.result = {tag: {'texts': [], 'word_count': 0} for tag in tags} self.stopwords = get_stop_words() self.current_element = None self.path = []
def __init__(self, methodname): ContentHandler.__init__(self) self.methodname = methodname self.ip = None self.errorset = False self.errorcode = 0 self.errordesc = 'No error' self.content = None
def __init__( self ): """ """ ContentHandler.__init__( self ) self._t_nodes = [] self._t_parent_node = None self.rootNode = None
def __init__(self): ContentHandler.__init__(self) self.nodes = {} self.ways = [] self._way_id = None self._way_name = None self._way_highway = None self._way_nodes = []
def __init__(self): ContentHandler.__init__(self) #DTDHandler.__init__(self) # DTDHandler has no __init__ (?) #EntityResolver.__init__(self) # neither does EntityResolver self.data = '' self.stack = [] self.root = None self.ns_dict = {}
def __init__(self,methodname): ContentHandler.__init__(self) self.methodname = methodname self.ip = None self.errorset = False self.errorcode = 0 self.errordesc = 'No error' self.content = None
def __init__(self): """ """ ContentHandler.__init__(self) self._content = [] self.report = None self._result = None self._hit = None self._hsp = None
def __init__(self, parser=None): if parser: self.getLineNumber = lambda: parser.getLineNumber () else: self.getLineNumber = lambda: None self.stack = [] self.ch = '' self.prefixes = {} ContentHandler.__init__(self)
def __init__(self): ContentHandler.__init__(self) # The result self.fuzzable_parameters = [] self.all_parameters = [] # Internal variables self._inside_fuzzable = False
def __init__(self, config, logger, parent): ContentHandler.__init__(self) self.config = config self.logger = logger self.parent = parent self.validator = etree.DTD(self.config.events_dtd) self.event_started = False self.events = [] self.event_handler = None
def __init__(self): ContentHandler.__init__(self) self.dataMatrixList = [] self.basketDataMatrixList = [("", 4)] * 5 self.dataMatrix = "" self.basketLocation = -1 self.sampleLocation = -1 self.flag = 0 self.holder_length = 22.0
def __init__(self): ContentHandler.__init__(self) self.dataMatrixList = [] self.basketDataMatrixList = [('',4)] *5 self.dataMatrix = '' self.basketLocation = -1 self.sampleLocation = -1 self.flag = 0 self.holder_length=22.0
def __init__(self, xmlTagsToIgnore, xmlAttrsToIgnore): ContentHandler.__init__(self) self.res = unicode(xmlPrologue) self.namespaces = {} # ~{s_namespaceUri:s_namespaceName}~ self.indentLevel = -1 self.tabWidth = 3 self.tagsToIgnore = xmlTagsToIgnore self.attrsToIgnore = xmlAttrsToIgnore self.ignoring = False # Some content must be ignored, and not dumped
def __init__(self, output): ContentHandler.__init__(self) self.tagnames = ("k", "tr", "ar") self.state = dict(zip(self.tagnames, [False] * len(self.tagnames))) self.key = self.transcription = "" self.translation = [] self.output = output
def __init__(self, banner, info): ContentHandler.__init__(self) self.__banner = sanitizeStr(banner) self.__regexp = None self.__match = None self.__dbmsVersion = None self.__techVersion = None self.__info = info