Lines Matching defs:getAttrib
712 number = self.getAttrib(interface, 'number',
714 ext_type = self.getAttrib(interface, 'type',
723 depends = self.getAttrib(interface, 'depends', OPTIONAL) # TODO should default to base API version 1.0?
724 contact = self.getAttrib(interface, 'contact', OPTIONAL)
725 promotedTo = self.getAttrib(interface, 'promotedto', OPTIONAL)
726 deprecatedBy = self.getAttrib(interface, 'deprecatedby', OPTIONAL)
727 obsoletedBy = self.getAttrib(interface, 'obsoletedby', OPTIONAL)
728 provisional = self.getAttrib(interface, 'provisional', OPTIONAL, 'false')
729 specialuse = self.getAttrib(interface, 'specialuse', OPTIONAL)
730 ratified = self.getAttrib(interface, 'ratified', OPTIONAL, '')
756 def getAttrib(self, elem, attribute, required=True, default=None):
796 enumName = self.getAttrib(enum, 'name')
798 return self.getAttrib(enum, 'value')
802 enumName = self.getAttrib(enum, 'name')
805 return self.getAttrib(enum, 'value')