Code example for Vector

Methods: iterator

0
        } 
    } 
 
    @Override 
    public Iterator<XMLNode> iterator() {
        return mChildren.iterator();
    } 
 
    public Iterable<XMLNode> getChildren(String name) {
        return new ChildNameFilterIterator(name);
    } 
 
    static class XMLNodeHandler extends DefaultHandler {
 
        public XMLNode mRoot;
        public XMLNode mCur;
 
        @Override 
        public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
            XMLNode node = new XMLNode(qName);
            if (mRoot == null) {