1 /** 2 * com.sekati.reflect.Stringifier 3 * @version 1.0.0 4 * @author jason m horwitz | sekati.com 5 * Copyright (C) 2007 jason m horwitz, Sekat LLC. All Rights Reserved. 6 * Released under the MIT License: http://www.opensource.org/licenses/mit-license.php 7 */ 8 9 import com.sekati.core.KeyFactory; 10 import com.sekati.reflect.Reflection; 11 /** 12 * Stringify class instances with reflective information. 13 * @see com.sekati.core.CoreObject 14 * @see com.sekati.core.CoreInterface 15 */ 16 class com.sekati.reflect.Stringifier { 17 /** 18 * Return the Class object instances fully qualified class name and runtime unique id. 19 * @param o (Object) instance object to stringify. 20 * @return String 21 */ 22 public static function stringify(o:Object):String { 23 return Reflection.getFullyQualifiedClassName( o ) + ":" + KeyFactory.getKey( o ); 24 } 25 private function Stringifier() { 26 } 27 }