Class RuntimeFieldFactory<V>
java.lang.Object
io.protostuff.runtime.RuntimeFieldFactory<V>
- All Implemented Interfaces:
Delegate<V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract <T> Field<T> create(int number, String name, Field field, IdStrategy strategy) Creates a runtimefieldbased on reflection.static RuntimeFieldFactory<?> getFieldFactory(Class<?> clazz) Gets the runtime field factory of the givenclazz.static RuntimeFieldFactory<?> getFieldFactory(Class<?> clazz, IdStrategy strategy) Gets the runtime field factory of the givenclazz.static <T> RuntimeFieldFactory<T> Returns the factory for inline (scalar) values.
-
Constructor Details
-
RuntimeFieldFactory
public RuntimeFieldFactory(int id)
-
-
Method Details
-
getFieldFactory
Gets the runtime field factory of the givenclazz.Method overload for backwards compatibility.
-
getFieldFactory
Gets the runtime field factory of the givenclazz. -
getInline
Returns the factory for inline (scalar) values. -
create
Creates a runtimefieldbased on reflection.
-