home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2011 May / ME_2011_05.iso / Galileo-Video-Tutorial / system / player.swf / scripts / data / parser / LessonInfoParser.as < prev    next >
Encoding:
Text File  |  2010-11-30  |  593 b   |  24 lines

  1. package data.parser
  2. {
  3.    import com.je.data.parser.IParser;
  4.    import com.je.model.vo.IData;
  5.    import com.je.model.vo.LessonInformation;
  6.    
  7.    public class LessonInfoParser implements IParser
  8.    {
  9.       public function LessonInfoParser()
  10.       {
  11.          super();
  12.       }
  13.       
  14.       public function parse(param1:XMLList) : IData
  15.       {
  16.          var _loc2_:IData = new LessonInformation();
  17.          LessonInformation(_loc2_).description = param1.infoText;
  18.          LessonInformation(_loc2_).previewImagePath = param1.infoPic;
  19.          return _loc2_;
  20.       }
  21.    }
  22. }
  23.  
  24.