Esempio n. 1
0
 def _post_timing_set_attribute(self, attr_use):
     context = get_xml_parsing_context()
     if context is not None:
         # Clean up after successful creation
         context.pop('timing_attribute_name', None)
Esempio n. 2
0
 def _post_timing_set_attribute(self, attr_use):
     context = get_xml_parsing_context()
     if context is not None:
         # Clean up after successful creation
         context.pop('timing_attribute_name', None)
Esempio n. 3
0
 def _pre_timing_set_attribute(self, attr_en, attr_use):
     # Pass in the timing_attribute_name to the context to help the timing type constructor refuse creation
     context = get_xml_parsing_context()
     if context is not None:
         # This means we are in XML parsing mode
         context['timing_attribute_name'] = attr_en.localName()
Esempio n. 4
0
 def _pre_timing_set_attribute(self, attr_en, attr_use):
     # Pass in the timing_attribute_name to the context to help the timing type constructor refuse creation
     context = get_xml_parsing_context()
     if context is not None:
         # This means we are in XML parsing mode
         context['timing_attribute_name'] = attr_en.localName()