creates and returns an xml seat element , which stores seat state . concode_field_sep SeatType seatType concode_elem_sep SeatState state concode_field_sep SeatState getState concode_elem_sep void load concode_elem_sep SeatType getType concode_elem_sep void setState concode_elem_sep Integer getId concode_elem_sep void setSeatType concode_elem_sep String getIcon
Element function ( Document arg0 ) { Element loc0 = arg0 . createElement ( "srini_string" ) ; loc0 . setAttribute ( "srini_string" , ( state == SeatState . Occupied ? state . toString ( ) : SeatState . Empty . toString ( ) ) ) ; return loc0 ; }