39 |
|
|
40 |
import java.util.Vector; |
import java.util.Vector; |
41 |
|
|
42 |
|
import org.w3c.dom.DOMException; |
43 |
import org.w3c.dom.Node; |
import org.w3c.dom.Node; |
44 |
import org.w3c.dom.events.Event; |
import org.w3c.dom.events.Event; |
45 |
import org.w3c.dom.events.EventListener; |
import org.w3c.dom.events.EventListener; |
77 |
{ |
{ |
78 |
if (!root.isSupported("MutationEvents", "2.0")) |
if (!root.isSupported("MutationEvents", "2.0")) |
79 |
{ |
{ |
80 |
throw new DomEx(DomEx.NOT_SUPPORTED_ERR, |
throw new DomDOMException(DOMException.NOT_SUPPORTED_ERR, |
81 |
"Iterator needs mutation events", root, 0); |
"Iterator needs mutation events", root, 0); |
82 |
} |
} |
83 |
|
|
155 |
{ |
{ |
156 |
if (done) |
if (done) |
157 |
{ |
{ |
158 |
throw new DomEx(DomEx.INVALID_STATE_ERR); |
throw new DomDOMException(DOMException.INVALID_STATE_ERR); |
159 |
} |
} |
160 |
right = true; |
right = true; |
161 |
return walk(true); |
return walk(true); |
172 |
{ |
{ |
173 |
if (done) |
if (done) |
174 |
{ |
{ |
175 |
throw new DomEx(DomEx.INVALID_STATE_ERR); |
throw new DomDOMException(DOMException.INVALID_STATE_ERR); |
176 |
} |
} |
177 |
Node previous = reference; |
Node previous = reference; |
178 |
right = false; |
right = false; |