Package io.protostuff.runtime
Class HasDelegate<T>
java.lang.Object
io.protostuff.runtime.HasDelegate<T>
- All Implemented Interfaces:
PolymorphicSchema.Factory
- Direct Known Subclasses:
NumericIdStrategy.RegisteredDelegate
Wraps a delegate.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the delegate.final PolymorphicSchema
newSchema
(Class<?> typeClass, IdStrategy strategy, PolymorphicSchema.Handler handler)
-
Field Details
-
delegate
-
strategy
-
genericElementSchema
-
-
Constructor Details
-
HasDelegate
-
-
Method Details
-
getDelegate
Returns the delegate. -
newSchema
public final PolymorphicSchema newSchema(Class<?> typeClass, IdStrategy strategy, PolymorphicSchema.Handler handler) - Specified by:
newSchema
in interfacePolymorphicSchema.Factory
-