package Ġcan on . parser . xml . strategy Ċ Ċ import Ġcan on . api . I Render able Ċ import Ġcan on . extension . attr As Boolean Ċ import Ġcan on . extension . attr As Text Ċ import Ġcan on . model . Carousel Ċ import Ġorg . w 3 c . dom . Node Ċ Ċ class ĠCar ousel Strategy Ġ: ĠAbstract Parse Strategy < Carousel >() Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġparse ( node : ĠNode , Ġcontext : ĠMap < String , ĠAny ? >, Ġfactory : Ġ( Node , ĠMap < String , ĠAny ?> ) Ġ-> ĠList < I Render able >): ĠCar ousel Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġid Ġ= Ġnode . attr As Text (" id ") ĊĠĠĠĠĠĠĠ Ġval Ġ` class ` Ġ= Ġnode . attr As Text (" class ") ĊĠĠĠĠĠĠĠ Ġval Ġtext Ġ= Ġnode . attr As Text (" text ") ĊĠĠĠĠĠĠĠ Ġval Ġname Ġ= Ġnode . attr As Text (" name ") ĊĠĠĠĠĠĠĠ Ġval Ġselected Ġ= Ġnode . attr As Boolean (" selected ", Ġfalse ) ĊĊĠĠĠĠĠĠĠ Ġreturn ĠCar ousel ( id , Ġ` class `, Ġtext , Ġname , Ġselected , Ġfactory ( node , Ġcontext )) ĊĠĠĠ Ġ} Ċ Ċ }