Pregunta

¿Cómo agrega la muestra XML a la función ASDOC / comentarios de clase en Flex?Obviamente se pueden agregar, pero no se mostrarán en los comentarios de Hover ASDOC en Flash Builder 4.

/**
* Generates a ChangeAccount in xml format when they are being saved 
* 
* <p>Will be in the following form  
*  Use http://xmlindent.com/ to view pretty xml format)
*  
*  <ChangeAccount History="w" Alias="transaction".............
* </p>
*
* @return XML
*/
public function get xml():XML
{           
}

¿Fue útil?

Solución

Escape the '<' and '>' with & lt; and & gt; ( Note: remove the spaces )

& lt;ChangeAccount History="w" Alias="transaction"............. /& gt;

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top