code: def getElementDeclaration(cls, namespaceURI, name, isref=False, lazy=False):
          '''Grab an element declaration, returns a typecode instance
          representation or a typecode class definition.  An element 
          reference has its own facets, and is local so it will not be
          cached.
  
          Parameters:
              namespaceURI -- 
              name -- 
              isref -- if element reference, return class definition.
          '''
          key = (namespaceURI, name)
          if isref:
              klass = cls.elements.get(key,None)
              if klass is not None and lazy is True:
                  return _Mirage(klass)
              return klass
   
          typecode = cls.element_typecode_cache.get(key, None)
          if typecode is None:
              tcls = cls.elements.get(key,None)
              if tcls is not None:
                  typecode = cls.element_typecode_cache[key] = tcls()
                  typecode.typed = False
              
          return typecodf getElementDeclaration(cls, namespaceURI, name, isref=False, lazy=False):
          '''Grab an element declaration, returns a typecode instance
          representation or a typecode class definition.  An element 
          reference has its own facets, and is local so it will not be
          cached.
  
          Parameters:
              namespaceURI -- 
              name -- 
              isref -- if element reference, return class definition.
          '''
          key = (namespaceURI, name)
          if isref:
              klass = cls.elements.get(key,None)
              if klass is not None and lazy is True:
                  return _Mirage(klass)
              return klass
   
          typecode = cls.element_typecode_cache.get(key, None)
          if typecode is None:
              tcls = cls.elements.get(key,None)
              if tcls is not None:
                  typecode = cls.element_typecode_cache[key] = tcls()
                  typecode.typed = False
              
          return typecode
docs: Grab an element declaration, returns a typecode instance
          representation or a typecode class definition.  An element 
          reference has its own facets, and is local so it will not be
          cached.
  
          Parameters:
              namespaceURI -- 
              name -- 
              isref -- if element reference, return class definition.