FileDocCategorySizeDatePackage
SimpleNodeList.javaAPI DocExample1874Mon Jul 23 13:26:44 BST 2007org.apache.struts2.views.xslt

SimpleNodeList

public class SimpleNodeList extends Object implements NodeList

Fields Summary
private Log
log
private List
nodes
Constructors Summary
public SimpleNodeList(List nodes)


       
        this.nodes = nodes;
    
Methods Summary
public intgetLength()

        if (log.isTraceEnabled())
            log.trace("getLength: " + nodes.size());
        return nodes.size();
    
public org.w3c.dom.Nodeitem(int i)

        log.trace("getItem: " + i);
        return nodes.get(i);
    
public java.lang.StringtoString()

        StringBuffer sb = new StringBuffer("SimpleNodeList: [");
        for (int i = 0; i < getLength(); i++)
            sb.append(item(i).getNodeName() + ',");
        sb.append("]");
        return sb.toString();