如何在Flex中添加样本xml到asdoc函数/类注释?它们显然可以添加,但它们不会在Flash Builder 4中的悬停asdoc注释中显示。
/**
* 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
{
}
答案 0 :(得分:3)
逃离'&lt;'和'&gt;'与&amp; LT;和&amp; GT; (注意:删除空格)
&安培; LT; ChangeAccount History =“w” 别名=“交易”............. /&amp; GT;