code: public <T> void serialize(SerializerContext serializerContext, ElementDescriptor<T> descriptor, T rootObject) throws SerializerException, IOException
  	{
  		serializerContext.serializer.startDocument(null, null);
  		useNamespace(serializerContext, descriptor.qualifiedName);
  		bindNamespaces(serializerContext);
  		mChildWriter.writeChild(descriptor, rootObject, serializerContext);
  		serializerContext.serializer.endDocument();
  	}
docs: Serialize the given root object with the given {@link ElementDescriptor}.
  
  @param descriptor
  The descriptor of the object.
  @param rootObject
  The root object itself.
  @throws SerializerException
  @throws IOException