Packagejp.nium.utils
Classpublic final class XMLUtil
InheritanceXMLUtil Inheritance Object

XMLUtil クラスは、XML データを操作するためのユーティリティクラスです。 XMLUtil クラスを直接インスタンス化することはできません。 new XMLUtil() コンストラクタを呼び出すと、ArgumentError 例外がスローされます。 The XMLUtil class is an utility class for XML data operation. XMLUtil class can not instanciate directly. When call the new XMLUtil() constructor, the ArgumentError exception will be thrown.



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 を出力します。