Package org.simpleframework.xml.core
Class Collector.Registry
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.Object,Variable>
-
- org.simpleframework.xml.core.Collector.Registry
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.Object,Variable>
- Enclosing class:
- Collector
private static class Collector.Registry extends java.util.LinkedHashMap<java.lang.Object,Variable>
TheRegistry
object is used to store variables for the collector. All variables are stored under its name so that they can be later retrieved and used to populate the object when deserialization of all variables has finished.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Registry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<java.lang.Object>
iterator()
This is used to iterate over the names of the variables in the registry.-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Method Detail
-
iterator
public java.util.Iterator<java.lang.Object> iterator()
This is used to iterate over the names of the variables in the registry. This is primarily used for convenience so that the variables can be acquired in a for each loop.- Returns:
- an iterator containing the names of the variables
-
-