Packagejp.nium.utils
Classpublic final class XMLUtil

XMLUtil クラスは、XML 操作のためのユーティリティクラスです。 The XMLUtil class is an utility class for XML operation.



Public Methods
 MethodDefined by
  
xmlToObject(xmllist:XMLList):Object
[static] 指定された XMLList インスタンスのオブジェクト表現を返します。 Returns the string representation of the specified object.
XMLUtil
Method detail
xmlToObject()method
public static function xmlToObject(xmllist:XMLList):Object

指定された XMLList インスタンスのオブジェクト表現を返します。 Returns the string representation of the specified object.

Parameters
xmllist:XMLList変換したい XMLList インスタンスです。 The XMLList instance to convert.

Returns
ObjectXMLList インスタンスのオブジェクト表現です。 A Object representation of the XMLList instance.

Example
   var xml:XMLList = new XMLList( ""
    + "AAA"
    + "BBB"
    + "CCC" );
   var obj:Object = XMLUtil.xmlToObject( xml );
   trace( obj.aaa ); // AAA を出力します。
   trace( obj.bbb ); // BBB を出力します。
   trace( obj.ccc ); // CCC を出力します。