|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of IdStrategy in com.dyuproject.protostuff.runtime |
|---|
| Subclasses of IdStrategy in com.dyuproject.protostuff.runtime | |
|---|---|
class |
DefaultIdStrategy
The FQCN(fully qualified class name) will serve as the id (string). |
| Fields in com.dyuproject.protostuff.runtime declared as IdStrategy | |
|---|---|
static IdStrategy |
RuntimeEnv.ID_STRATEGY
|
IdStrategy |
IdStrategy.primaryGroup
|
IdStrategy |
DerivativeSchema.strategy
|
IdStrategy |
PolymorphicSchema.strategy
|
| Methods in com.dyuproject.protostuff.runtime that return IdStrategy | |
|---|---|
IdStrategy |
IdStrategy.Factory.create()
Creates a new IdStrategy instance (impl). |
| Methods in com.dyuproject.protostuff.runtime with parameters of type IdStrategy | ||
|---|---|---|
abstract
|
RuntimeFieldFactory.create(int number,
java.lang.String name,
java.lang.reflect.Field field,
IdStrategy strategy)
Creates a runtime field based on reflection. |
|
static
|
RuntimeSchema.createFrom(java.lang.Class<T> typeClass,
IdStrategy strategy)
Generates a schema from the given class. |
|
static
|
RuntimeSchema.createFrom(java.lang.Class<T> typeClass,
java.util.Map<java.lang.String,java.lang.String> declaredFields,
IdStrategy strategy)
Generates a schema from the given class with the declared fields (inclusive) based from the given Map. |
|
static
|
RuntimeSchema.createFrom(java.lang.Class<T> typeClass,
java.util.Set<java.lang.String> exclusions,
IdStrategy strategy)
Generates a schema from the given class with the exclusion of certain fields. |
|
static
|
RuntimeSchema.createFrom(java.lang.Class<T> typeClass,
java.lang.String[] exclusions,
IdStrategy strategy)
Generates a schema from the given class with the exclusion of certain fields. |
|
static RuntimeFieldFactory<?> |
RuntimeFieldFactory.getFieldFactory(java.lang.Class<?> clazz,
IdStrategy strategy)
Gets the runtime field factory of the given clazz. |
|
static
|
RuntimeSchema.getSchema(java.lang.Class<T> typeClass,
IdStrategy strategy)
Gets the schema that was either registered or lazily initialized at runtime. |
|
static PolymorphicSchema |
PolymorphicSchemaFactories.getSchemaFromCollectionOrMapGenericType(java.lang.Class<?> clazz,
IdStrategy strategy)
|
|
static boolean |
RuntimeSchema.isRegistered(java.lang.Class<?> typeClass,
IdStrategy strategy)
Returns true if the typeClass was not lazily created. |
|
PolymorphicSchema |
PolymorphicSchema.Factory.newSchema(IdStrategy strategy,
PolymorphicSchema.Handler handler)
|
|
| Constructors in com.dyuproject.protostuff.runtime with parameters of type IdStrategy | |
|---|---|
ArraySchema(IdStrategy strategy)
|
|
ClassSchema(IdStrategy strategy)
|
|
DefaultIdStrategy(IdStrategy primaryGroup,
int groupId)
|
|
DerivativeSchema(IdStrategy strategy)
|
|
IdStrategy(IdStrategy primaryGroup,
int groupId)
|
|
NumberSchema(IdStrategy strategy)
|
|
ObjectSchema(IdStrategy strategy)
|
|
PolymorphicCollectionSchema(IdStrategy strategy)
|
|
PolymorphicEnumSchema(IdStrategy strategy)
|
|
PolymorphicMapSchema(IdStrategy strategy)
|
|
PolymorphicSchema(IdStrategy strategy)
|
|
PolymorphicThrowableSchema(IdStrategy strategy)
|
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||