public static class NamedWriteableRegistry.Entry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Class<?> |
categoryClass
The superclass of a
NamedWriteable which will be read by reader . |
java.lang.String |
name
A name for the writeable which is unique to the
categoryClass . |
Writeable.Reader<?> |
reader
A reader capability of reading
|
Constructor and Description |
---|
Entry(java.lang.Class<T> categoryClass,
java.lang.String name,
Writeable.Reader<? extends T> reader)
Creates a new entry which can be stored by the registry.
|
public final java.lang.Class<?> categoryClass
NamedWriteable
which will be read by reader
.public final java.lang.String name
categoryClass
.public final Writeable.Reader<?> reader
public Entry(java.lang.Class<T> categoryClass, java.lang.String name, Writeable.Reader<? extends T> reader)