Class RuntimeView
java.lang.Object
io.protostuff.runtime.RuntimeView
A view schema can choose which fields to include during ser/deser.
- Author:
- David Yu
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe base schema used by the built-in factories.static enumBuilt-in view schema factories.static interfacestatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Schema<T> createFrom(RuntimeSchema<T> ms, RuntimeEnv.Instantiator<T> instantiator, RuntimeView.Factory vf, Predicate.Factory pf, String... args) Returns a new view schema based from an existing one.static <T> Schema<T> createFrom(RuntimeSchema<T> rs, RuntimeView.Factory vf, Predicate.Factory pf, String... args) Returns a new view schema based from an existing one.
-
Method Details
-
createFrom
public static <T> Schema<T> createFrom(RuntimeSchema<T> rs, RuntimeView.Factory vf, Predicate.Factory pf, String... args) Returns a new view schema based from an existing one. -
createFrom
public static <T> Schema<T> createFrom(RuntimeSchema<T> ms, RuntimeEnv.Instantiator<T> instantiator, RuntimeView.Factory vf, Predicate.Factory pf, String... args) Returns a new view schema based from an existing one.
-