Package org.xbill.DNS
Class Zone.ZoneIterator
java.lang.Object
org.xbill.DNS.Zone.ZoneIterator
- Enclosing class:
Zone
-
Field Details
-
zoneEntries
-
current
-
index
private int index -
wantLastSOA
private boolean wantLastSOA -
returnedSet
-
soaSet
-
-
Constructor Details
-
ZoneIterator
ZoneIterator(boolean axfr)
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove()Removes the currentRRsetfrom the zone.- Specified by:
removein interfaceIterator<RRset>- Throws:
IllegalArgumentException- when there are no more elements; on attempting to remove the SOA; when attempting to remove the NS set.- Since:
- 3.6
-