package maps;

import  java.util.List;

import  javax.xml.bind.annotation.XmlElement;
import  javax.xml.bind.annotation.XmlRootElement;

/**
 *  @author Wonho Lim
 */
@XmlRootElement
public class RoomList {

    @XmlElement ( name = "room" )
    private List<Room> list;
    
    public void set ( List<Room> l )
    {
        list = l;
    }
    
    public List<Room> get ()
    {
        return  list;
    }
    
    public Room getE ( int index )
    {
        return  list.get(index);
    }

}

@@ -11,25 +11,24 @@
 ps;%0A%0Aimport 
- 
 java.util.Li
@@ -31,33 +31,32 @@
 l.List;%0A%0Aimport 
- 
 javax.xml.bind.a
@@ -84,17 +84,16 @@
 %0Aimport 
- 
 javax.xm

Update RoomList.java