code: def user_object(
          element_name,  # type: Text
          cls,  # type: Type[Any]
          child_processors,  # type: List[Processor]
          required=True,  # type: bool
          alias=None,  # type: Optional[Text]
          hooks=None  # type: Optional[Hooks]
  ):
      # type: (...) -> RootProcessor
      
      converter = _user_object_converter(cls)
      processor = _Aggregate(element_name, converter, child_processors, required, alias)
      return _processor_wrap_if_hooks(processor, hooks)
docs: Create a processor for user objects.
  
      :param cls: Class object with a no-argument constructor or other callable no-argument object.
  
      See also :func:`declxml.dictionary`