Class HasSchema<T>
java.lang.Object
io.protostuff.runtime.HasSchema<T>
- All Implemented Interfaces:
PolymorphicSchema.Factory
- Direct Known Subclasses:
DefaultIdStrategy.Lazy, DefaultIdStrategy.LazyRegister, DefaultIdStrategy.Mapped, DefaultIdStrategy.Registered, ExplicitIdStrategy.BaseHS, IncrementalIdStrategy.BaseHS
Wraps a schema.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Pipe.Schema<T> Gets the pipe schema.Gets the schema.newSchema(Class<?> typeClass, IdStrategy strategy, PolymorphicSchema.Handler handler)
-
Field Details
-
strategy
-
genericElementSchema
-
-
Constructor Details
-
HasSchema
-
-
Method Details
-
getSchema
-
getPipeSchema
Gets the pipe schema. -
newSchema
public PolymorphicSchema newSchema(Class<?> typeClass, IdStrategy strategy, PolymorphicSchema.Handler handler) - Specified by:
newSchemain interfacePolymorphicSchema.Factory
-