Вопрос

Как добавить образец XML в функцию ASDOC / класс комментариев в Flex?Очевидно, они могут быть добавлены, но они не будут отображаться в комментариях Hover ASDOC в 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
{           
}
.

Это было полезно?

Решение

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

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top