1 16 package org.apache.commons.jxpath.ri.model.beans; 17 18 import org.apache.commons.jxpath.ri.QName; 19 import org.apache.commons.jxpath.ri.model.NodeIterator; 20 import org.apache.commons.jxpath.ri.model.NodePointer; 21 22 29 public class CollectionAttributeNodeIterator extends CollectionNodeIterator { 30 31 private QName name; 32 33 public CollectionAttributeNodeIterator( 34 CollectionPointer pointer, 35 QName name) 36 { 37 super(pointer, false, null); 38 this.name = name; 39 } 40 41 protected NodeIterator getElementNodeIterator(NodePointer elementPointer) { 42 return elementPointer.attributeIterator(name); 43 } 44 } 45 | Popular Tags |