parameters: (self, caller, objectClass)
docstring: Load a named element and write its data as a property of the caller.
  
          A client invokes this function as follows:
              serializer.serializeObjectDict(self, Foo)
  
          And after the call returns, the caller's dict is populated as follows:
              self.Foo - a dict of objects, keyed by object identifier
              self.FooKeys - a sorted list of the object identifiers
  
          These structures allow the caller to iterate through the objects
          in order by identifier.
docstring_summary: Load a named element and write its data as a property of the caller.
docstring_tokens: Load a named element and write its data as a property of the caller .
function: def serializeObjectDict(self, caller, objectClass):
          """Load a named element and write its data as a property of the caller.
  
          A client invokes this function as follows:
              serializer.serializeObjectDict(self, Foo)
  
          And after the call returns, the caller's dict is populated as follows:
              self.Foo - a dict of objects, keyed by object identifier
              self.FooKeys - a sorted list of the object identifiers
  
          These structures allow the caller to iterate through the objects
          in order by identifier."""
  
          dictElement = self.getChild(objectClass.groupName())
          dict = {}
          keys = []
          for childNode in self.iterateChildren(dictElement):
              objectInstance = factory.Factory.instance().makeObject(childNode.nodeName)
              self.node_ = childNode
              objectInstance.serialize(self)
              objectInstance.postSerialize()
              self.node_ = self.node_.parentNode.parentNode
              if dict.has_key(objectInstance.name()):
                  raise exceptions.SerializationDuplicateKeyException(self.documentName_, objectInstance.name())
              dict[objectInstance.name()] = objectInstance
              keys.append(objectInstance.name())
          keys.sort()
          identifierName = self.formatIdentifier(objectClass.groupName())
          identifierKeys = self.formatIdentifier(objectClass.__name__ + 'Keys')
          setattr(caller, identifierName, dict)
          setattr(caller, identifierKeys, keys)
function_tokens: def serializeObjectDict ( self , caller , objectClass ) : dictElement = self . getChild ( objectClass . groupName ( ) ) dict = { } keys = [ ] for childNode in self . iterateChildren ( dictElement ) : objectInstance = factory . Factory . instance ( ) . makeObject ( childNode . nodeName ) self . node_ = childNode objectInstance . serialize ( self ) objectInstance . postSerialize ( ) self . node_ = self . node_ . parentNode . parentNode if dict . has_key ( objectInstance . name ( ) ) : raise exceptions . SerializationDuplicateKeyException ( self . documentName_ , objectInstance . name ( ) ) dict [ objectInstance . name ( ) ] = objectInstance keys . append ( objectInstance . name ( ) ) keys . sort ( ) identifierName = self . formatIdentifier ( objectClass . groupName ( ) ) identifierKeys = self . formatIdentifier ( objectClass . __name__ + 'Keys' ) setattr ( caller , identifierName , dict ) setattr ( caller , identifierKeys , keys )