如何将示例XML添加到Flex中的Asdoc函数/类评论?显然可以添加它们,但它们不会在Flash Builder 4中的Hover 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
{           
}
.

有帮助吗?

解决方案

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

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top