001    package railo.runtime.text.xml;
002    
003    import java.util.ArrayList;
004    
005    import org.w3c.dom.Node;
006    
007    
008    /**
009     * 
010     */
011    public final class ArrayNodeList extends ArrayList implements org.w3c.dom.NodeList {
012            
013            public ArrayNodeList() {
014            }
015            
016            /**
017             * @see org.w3c.dom.NodeList#getLength()
018             */
019            public int getLength() {
020                    return size();
021            }
022            /**
023             * @see org.w3c.dom.NodeList#item(int)
024             */
025            public Node item(int index) {
026                    //synchronized (o) {
027                            return (Node)get(index);
028                    //}
029            }
030    }