code: @Override
  	public void generateSerializeOnXml(BindTypeContext context, MethodSpec.Builder methodBuilder, String serializerName, TypeName beanClass, String beanName, BindProperty property) {
  		// TODO QUA
  		// TypeName typeName = resolveTypeName(property.getParent(),
  		// property.getPropertyType().getTypeName());
  		TypeName typeName = property.getPropertyType().getTypeName();
  
  		String bindName = context.getBindMapperName(context, typeName);
  
  		// @formatter:off
  		if (property.isNullable() && !property.isInCollection()) {
  			methodBuilder.beginControlFlow("if ($L!=null) ", getter(beanName, beanClass, property));
  		}
  				
  		methodBuilder.addStatement("$L.writeStartElement($S)", serializerName, BindProperty.xmlName(property));
  		methodBuilder.addStatement("$L.serializeOnXml($L, xmlSerializer, $L)", bindName, getter(beanName, beanClass, property), XmlPullParser.START_TAG);
  		methodBuilder.addStatement("$L.writeEndElement()", serializerName);
  
  		if (property.isNullable() && !property.isInCollection()) {
  			methodBuilder.endControlFlow();
  		}
  		// @formatter:on
  	}
docs: /* (non-Javadoc)
  @see com.abubusoft.kripton.processor.bind.transform.BindTransform#generateSerializeOnXml(com.abubusoft.kripton.processor.bind.BindTypeContext, com.squareup.javapoet.MethodSpec.Builder, java.lang.String, com.squareup.javapoet.TypeName, java.lang.String, com.abubusoft.kripton.processor.bind.model.BindProperty)