Introduce CRUD to GCR
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / gcr / xml / ElementIterator.java
index a5bde1c5df9f1551582930d90ca22e3374517031..e3efcb4b3f9d620a9b3553be29b045902a5ef900 100644 (file)
@@ -9,14 +9,14 @@ import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
 
 public class ElementIterator implements Iterator<Content> {
-       private final DomContentSession contentSession;
+       private final DomContentProvider contentSession;
        private final NodeList nodeList;
 
        private int currentIndex;
        private final int length;
        private Element nextElement = null;
 
-       public ElementIterator(DomContentSession contentSession, NodeList nodeList) {
+       public ElementIterator(DomContentProvider contentSession, NodeList nodeList) {
                this.contentSession = contentSession;
                this.nodeList = nodeList;