code: def parse_class(self, tup_tree):
          
  
          # Doesn't check ordering of elements, but it's not very important
          self.check_node(tup_tree, 'CLASS', ('NAME',), ('SUPERCLASS',),
                          ('QUALIFIER', 'PROPERTY', 'PROPERTY.REFERENCE',
                           'PROPERTY.ARRAY', 'METHOD'))
  
          attrl = attrs(tup_tree)
  
          superclass = attrl.get('SUPERCLASS', None)
          properties = self.list_of_matching(tup_tree,
                                             ('PROPERTY', 'PROPERTY.REFERENCE',
                                              'PROPERTY.ARRAY'))
          qualifiers = self.list_of_matching(tup_tree, ('QUALIFIER',))
          methods = self.list_of_matching(tup_tree, ('METHOD',))
  
          return CIMClass(attrl['NAME'],
                          superclass=superclass,
                          properties=properties,
                          qualifiers=qualifiers,
                          methods=methods)
docs: Parse CLASS element returning a CIMClass if the parse was successful.
  
            ::
  
              <!ELEMENT CLASS (QUALIFIER*, (PROPERTY | PROPERTY.ARRAY |
                                            PROPERTY.REFERENCE)*, METHOD*)>
              <!ATTLIST CLASS
                  %CIMName;
                  %SuperClass;>