A B C D E F G H I M N O P R S T U V W

A

ALWAYS_USE_SUN_REFLECTION_FACTORY - Static variable in class com.dyuproject.protostuff.runtime.RuntimeEnv
If true, the constructor will always be obtained from ReflectionFactory.newConstructorFromSerialization.
ArraySchema - Class in com.dyuproject.protostuff.runtime
Used when a field is an array (Object[] or any polymorphic component type).
ArraySchema(IdStrategy) - Constructor for class com.dyuproject.protostuff.runtime.ArraySchema
 
AUTO_LOAD_POLYMORPHIC_CLASSES - Static variable in class com.dyuproject.protostuff.runtime.RuntimeEnv
Enabled by default.

B

BIGDECIMAL - Static variable in class com.dyuproject.protostuff.runtime.RuntimeReflectionFieldFactory
 
BIGDECIMAL - Static variable in class com.dyuproject.protostuff.runtime.RuntimeUnsafeFieldFactory
 
BIGINTEGER - Static variable in class com.dyuproject.protostuff.runtime.RuntimeReflectionFieldFactory
 
BIGINTEGER - Static variable in class com.dyuproject.protostuff.runtime.RuntimeUnsafeFieldFactory
 
BOOL - Static variable in class com.dyuproject.protostuff.runtime.RuntimeReflectionFieldFactory
 
BOOL - Static variable in class com.dyuproject.protostuff.runtime.RuntimeUnsafeFieldFactory
 
BYTE - Static variable in class com.dyuproject.protostuff.runtime.RuntimeReflectionFieldFactory
 
BYTE - Static variable in class com.dyuproject.protostuff.runtime.RuntimeUnsafeFieldFactory
 
BYTE_ARRAY - Static variable in class com.dyuproject.protostuff.runtime.RuntimeReflectionFieldFactory
 
BYTE_ARRAY - Static variable in class com.dyuproject.protostuff.runtime.RuntimeUnsafeFieldFactory
 
BYTES - Static variable in class com.dyuproject.protostuff.runtime.RuntimeReflectionFieldFactory
 
BYTES - Static variable in class com.dyuproject.protostuff.runtime.RuntimeUnsafeFieldFactory
 

C

CHAR - Static variable in class com.dyuproject.protostuff.runtime.RuntimeReflectionFieldFactory
 
CHAR - Static variable in class com.dyuproject.protostuff.runtime.RuntimeUnsafeFieldFactory
 
ClassSchema - Class in com.dyuproject.protostuff.runtime
Used when a field is declared as "Class" (with or with-out generics).
ClassSchema(IdStrategy) - Constructor for class com.dyuproject.protostuff.runtime.ClassSchema
 
COLLECTION_SCHEMA_ON_REPEATED_FIELDS - Static variable in class com.dyuproject.protostuff.runtime.RuntimeEnv
On repeated fields, the List/Collection itself is not serialized (only its values).
com.dyuproject.protostuff.runtime - package com.dyuproject.protostuff.runtime
 
create() - Method in interface com.dyuproject.protostuff.runtime.IdStrategy.Factory
Creates a new IdStrategy instance (impl).
create(int, String, Field, IdStrategy) - Method in class com.dyuproject.protostuff.runtime.RuntimeFieldFactory
Creates a runtime field based on reflection.
createFrom(Class<T>) - Static method in class com.dyuproject.protostuff.runtime.RuntimeSchema
Generates a schema from the given class.
createFrom(Class<T>, IdStrategy) - Static method in class com.dyuproject.protostuff.runtime.RuntimeSchema
Generates a schema from the given class.
createFrom(Class<T>, String[], IdStrategy) - Static method in class com.dyuproject.protostuff.runtime.RuntimeSchema
Generates a schema from the given class with the exclusion of certain fields.
createFrom(Class<T>, Set<String>, IdStrategy) - Static method in class com.dyuproject.protostuff.runtime.RuntimeSchema
Generates a schema from the given class with the exclusion of certain fields.
createFrom(Class<T>, Map<String, String>, IdStrategy) - Static method in class com.dyuproject.protostuff.runtime.RuntimeSchema
Generates a schema from the given class with the declared fields (inclusive) based from the given Map.

D

DATE - Static variable in class com.dyuproject.protostuff.runtime.RuntimeReflectionFieldFactory
 
DATE - Static variable in class com.dyuproject.protostuff.runtime.RuntimeUnsafeFieldFactory
 
DefaultIdStrategy - Class in com.dyuproject.protostuff.runtime
The FQCN(fully qualified class name) will serve as the id (string).
DefaultIdStrategy() - Constructor for class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
DefaultIdStrategy(IdStrategy, int) - Constructor for class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
Delegate<V> - Interface in com.dyuproject.protostuff.runtime
Controls how certain types are serialized and can even override the existing serializers because this has higher priority when the fields are being built.
DELEGATE - Static variable in class com.dyuproject.protostuff.runtime.RuntimeReflectionFieldFactory
 
DELEGATE - Static variable in class com.dyuproject.protostuff.runtime.RuntimeUnsafeFieldFactory
 
DerivativeSchema - Class in com.dyuproject.protostuff.runtime
This schema delegates to another schema derived from the input.
DerivativeSchema(IdStrategy) - Constructor for class com.dyuproject.protostuff.runtime.DerivativeSchema
 
doMergeFrom(Input, Schema<Object>, Object) - Method in class com.dyuproject.protostuff.runtime.DerivativeSchema
 
DOUBLE - Static variable in class com.dyuproject.protostuff.runtime.RuntimeReflectionFieldFactory
 
DOUBLE - Static variable in class com.dyuproject.protostuff.runtime.RuntimeUnsafeFieldFactory
 

E

ENUM - Static variable in class com.dyuproject.protostuff.runtime.RuntimeReflectionFieldFactory
 
ENUM - Static variable in class com.dyuproject.protostuff.runtime.RuntimeUnsafeFieldFactory
 
enumClass - Variable in class com.dyuproject.protostuff.runtime.EnumIO
The enum class.
EnumIO<E extends java.lang.Enum<E>> - Class in com.dyuproject.protostuff.runtime
Determines how enums are serialized/deserialized.
EnumIO(Class<E>) - Constructor for class com.dyuproject.protostuff.runtime.EnumIO
 
EnumIO.ByName<E extends java.lang.Enum<E>> - Class in com.dyuproject.protostuff.runtime
Reads the enum by its name.
EnumIO.ByName(Class<E>) - Constructor for class com.dyuproject.protostuff.runtime.EnumIO.ByName
 
EnumIO.ByNumber<E extends java.lang.Enum<E>> - Class in com.dyuproject.protostuff.runtime
Reads the enum by its number.
EnumIO.ByNumber(Class<E>) - Constructor for class com.dyuproject.protostuff.runtime.EnumIO.ByNumber
 
ENUMS_BY_NAME - Static variable in class com.dyuproject.protostuff.runtime.RuntimeEnv
Returns true if serializing enums by name is activated.

F

fields - Variable in class com.dyuproject.protostuff.runtime.MappedSchema
 
fieldsByName - Variable in class com.dyuproject.protostuff.runtime.MappedSchema
 
fieldsByNumber - Variable in class com.dyuproject.protostuff.runtime.MappedSchema
 
FLOAT - Static variable in class com.dyuproject.protostuff.runtime.RuntimeReflectionFieldFactory
 
FLOAT - Static variable in class com.dyuproject.protostuff.runtime.RuntimeUnsafeFieldFactory
 

G

getCollectionFactory(Class<?>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
getCollectionFactory(Class<?>) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
Returns the CollectionSchema.MessageFactory.
getDelegate(Class<? super T>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
getDelegate(Class<? super T>) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
Returns the delegate.
getEnumIO(Class<?>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
getEnumIO(Class<?>) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
Returns the EnumIO.
getEnumMapFactory() - Method in class com.dyuproject.protostuff.runtime.EnumIO
Returns the factory for an EnumMap (lazy).
getEnumSetFactory() - Method in class com.dyuproject.protostuff.runtime.EnumIO
Returns the factory for an EnumSet (lazy).
getFactoryFromField(Class<?>) - Static method in enum com.dyuproject.protostuff.runtime.PolymorphicSchemaFactories
 
getFactoryFromRepeatedValueGenericType(Class<?>) - Static method in enum com.dyuproject.protostuff.runtime.PolymorphicSchemaFactories
 
getFieldCount() - Method in class com.dyuproject.protostuff.runtime.MappedSchema
Returns the message's total number of fields.
getFieldFactory(Class<?>) - Static method in class com.dyuproject.protostuff.runtime.RuntimeFieldFactory
Gets the runtime field factory of the given clazz.
getFieldFactory(Class<?>, IdStrategy) - Static method in class com.dyuproject.protostuff.runtime.RuntimeFieldFactory
Gets the runtime field factory of the given clazz.
getFieldName(int) - Method in class com.dyuproject.protostuff.runtime.ArraySchema
 
getFieldName(int) - Method in class com.dyuproject.protostuff.runtime.ClassSchema
 
getFieldName(int) - Method in class com.dyuproject.protostuff.runtime.DerivativeSchema
 
getFieldName(int) - Method in class com.dyuproject.protostuff.runtime.MappedSchema
 
getFieldName(int) - Method in class com.dyuproject.protostuff.runtime.NumberSchema
 
getFieldName(int) - Method in class com.dyuproject.protostuff.runtime.ObjectSchema
 
getFieldName(int) - Method in class com.dyuproject.protostuff.runtime.PolymorphicCollectionSchema
 
getFieldName(int) - Method in class com.dyuproject.protostuff.runtime.PolymorphicEnumSchema
 
getFieldName(int) - Method in class com.dyuproject.protostuff.runtime.PolymorphicMapSchema
 
getFieldName(int) - Method in class com.dyuproject.protostuff.runtime.PolymorphicThrowableSchema
 
getFieldNumber(String) - Method in class com.dyuproject.protostuff.runtime.ArraySchema
 
getFieldNumber(String) - Method in class com.dyuproject.protostuff.runtime.ClassSchema
 
getFieldNumber(String) - Method in class com.dyuproject.protostuff.runtime.DerivativeSchema
 
getFieldNumber(String) - Method in class com.dyuproject.protostuff.runtime.MappedSchema
 
getFieldNumber(String) - Method in class com.dyuproject.protostuff.runtime.NumberSchema
 
getFieldNumber(String) - Method in class com.dyuproject.protostuff.runtime.ObjectSchema
 
getFieldNumber(String) - Method in class com.dyuproject.protostuff.runtime.PolymorphicCollectionSchema
 
getFieldNumber(String) - Method in class com.dyuproject.protostuff.runtime.PolymorphicEnumSchema
 
getFieldNumber(String) - Method in class com.dyuproject.protostuff.runtime.PolymorphicMapSchema
 
getFieldNumber(String) - Method in class com.dyuproject.protostuff.runtime.PolymorphicThrowableSchema
 
getFieldType() - Method in interface com.dyuproject.protostuff.runtime.Delegate
The field type (for possible reflective operations in future releases).
getInline(Class<T>) - Static method in class com.dyuproject.protostuff.runtime.RuntimeFieldFactory
Returns the factory for inline (scalar) values.
getMapFactory(Class<?>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
getMapFactory(Class<?>) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
Returns the MapSchema.MessageFactory.
getPipeSchema() - Method in class com.dyuproject.protostuff.runtime.ArraySchema
 
getPipeSchema() - Method in class com.dyuproject.protostuff.runtime.ClassSchema
 
getPipeSchema() - Method in class com.dyuproject.protostuff.runtime.HasSchema
Gets the pipe schema.
getPipeSchema() - Method in class com.dyuproject.protostuff.runtime.MappedSchema
Returns the pipe schema linked to this.
getPipeSchema() - Method in class com.dyuproject.protostuff.runtime.NumberSchema
 
getPipeSchema() - Method in class com.dyuproject.protostuff.runtime.ObjectSchema
 
getPipeSchema() - Method in class com.dyuproject.protostuff.runtime.PolymorphicCollectionSchema
 
getPipeSchema() - Method in class com.dyuproject.protostuff.runtime.PolymorphicEnumSchema
 
getPipeSchema() - Method in class com.dyuproject.protostuff.runtime.PolymorphicMapSchema
 
getPipeSchema() - Method in class com.dyuproject.protostuff.runtime.PolymorphicSchema
The pipe schema associated with this schema.
getPipeSchema() - Method in class com.dyuproject.protostuff.runtime.PolymorphicThrowableSchema
 
getSchema() - Method in class com.dyuproject.protostuff.runtime.HasSchema
Gets the schema.
getSchema(Class<T>) - Static method in class com.dyuproject.protostuff.runtime.RuntimeSchema
Gets the schema that was either registered or lazily initialized at runtime.
getSchema(Class<T>, IdStrategy) - Static method in class com.dyuproject.protostuff.runtime.RuntimeSchema
Gets the schema that was either registered or lazily initialized at runtime.
getSchemaFromCollectionOrMapGenericType(Class<?>, IdStrategy) - Static method in enum com.dyuproject.protostuff.runtime.PolymorphicSchemaFactories
 
getSchemaWrapper(Class<T>, boolean) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
getSchemaWrapper(Class<T>, boolean) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
Returns the schema wrapper.
groupFilter - Variable in class com.dyuproject.protostuff.runtime.MappedSchema.Field
 
groupId - Variable in class com.dyuproject.protostuff.runtime.IdStrategy
 

H

HasSchema<T> - Class in com.dyuproject.protostuff.runtime
Wraps a schema.
HasSchema() - Constructor for class com.dyuproject.protostuff.runtime.HasSchema
 

I

ID_STRATEGY - Static variable in class com.dyuproject.protostuff.runtime.RuntimeEnv
 
IdStrategy - Class in com.dyuproject.protostuff.runtime
This base class handles all the IO for reading and writing polymorphic fields.
IdStrategy(IdStrategy, int) - Constructor for class com.dyuproject.protostuff.runtime.IdStrategy
 
IdStrategy.Factory - Interface in com.dyuproject.protostuff.runtime
Responsible for instantiating custom IdStrategy impls.
IdStrategy.UnknownTypeException - Exception in com.dyuproject.protostuff.runtime
Thrown when a type is not known by the IdStrategy.
IdStrategy.UnknownTypeException(String) - Constructor for exception com.dyuproject.protostuff.runtime.IdStrategy.UnknownTypeException
 
instantiator - Variable in class com.dyuproject.protostuff.runtime.RuntimeSchema
 
INT32 - Static variable in class com.dyuproject.protostuff.runtime.RuntimeReflectionFieldFactory
 
INT32 - Static variable in class com.dyuproject.protostuff.runtime.RuntimeUnsafeFieldFactory
 
INT64 - Static variable in class com.dyuproject.protostuff.runtime.RuntimeReflectionFieldFactory
 
INT64 - Static variable in class com.dyuproject.protostuff.runtime.RuntimeUnsafeFieldFactory
 
isDelegateRegistered(Class<?>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
isDelegateRegistered(Class<?>) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
Returns true if there is a Delegate explicitly registered for the typeClass.
isInitialized(Object) - Method in class com.dyuproject.protostuff.runtime.DerivativeSchema
 
isInitialized(Object) - Method in class com.dyuproject.protostuff.runtime.PolymorphicSchema
 
isInitialized(T) - Method in class com.dyuproject.protostuff.runtime.RuntimeSchema
Always returns true, everything is optional.
isRegistered(Class<?>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
isRegistered(Class<?>) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
Returns true if the typeClass is explicitly registered.
isRegistered(Class<?>) - Static method in class com.dyuproject.protostuff.runtime.RuntimeSchema
Returns true if the typeClass was not lazily created.
isRegistered(Class<?>, IdStrategy) - Static method in class com.dyuproject.protostuff.runtime.RuntimeSchema
Returns true if the typeClass was not lazily created.

M

map(Class<? super T>, Class<T>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
Used by RuntimeSchema.map(Class, Class).
map(Class<? super T>, Class<T>) - Static method in class com.dyuproject.protostuff.runtime.RuntimeSchema
Maps the baseClass to a specific non-interface/non-abstract typeClass and registers it (this must be done on application startup).
MappedSchema<T> - Class in com.dyuproject.protostuff.runtime
Base class for schemas that maps fields by number and name.
MappedSchema(Class<T>, MappedSchema.Field<T>[], int) - Constructor for class com.dyuproject.protostuff.runtime.MappedSchema
 
MappedSchema(Class<T>, Collection<MappedSchema.Field<T>>, int) - Constructor for class com.dyuproject.protostuff.runtime.MappedSchema
 
MappedSchema(Class<T>, Map<String, MappedSchema.Field<T>>, int) - Constructor for class com.dyuproject.protostuff.runtime.MappedSchema
 
MappedSchema.Field<T> - Class in com.dyuproject.protostuff.runtime
Represents a field of a message/pojo.
MappedSchema.Field(WireFormat.FieldType, int, String, boolean, Tag) - Constructor for class com.dyuproject.protostuff.runtime.MappedSchema.Field
 
MappedSchema.Field(WireFormat.FieldType, int, String, Tag) - Constructor for class com.dyuproject.protostuff.runtime.MappedSchema.Field
 
mergeFrom(Input, Object) - Method in class com.dyuproject.protostuff.runtime.ArraySchema
 
mergeFrom(Input, Object) - Method in class com.dyuproject.protostuff.runtime.ClassSchema
 
mergeFrom(Input, Object) - Method in class com.dyuproject.protostuff.runtime.DerivativeSchema
Delegates to the schema derived from the input.
mergeFrom(Input, T) - Method in class com.dyuproject.protostuff.runtime.MappedSchema.Field
Reads the field value into the message.
mergeFrom(Input, T) - Method in class com.dyuproject.protostuff.runtime.MappedSchema
 
mergeFrom(Input, Object) - Method in class com.dyuproject.protostuff.runtime.NumberSchema
 
mergeFrom(Input, Object) - Method in class com.dyuproject.protostuff.runtime.ObjectSchema
 
mergeFrom(Input, Object) - Method in class com.dyuproject.protostuff.runtime.PolymorphicCollectionSchema
 
mergeFrom(Input, Object) - Method in class com.dyuproject.protostuff.runtime.PolymorphicEnumSchema
 
mergeFrom(Input, Object) - Method in class com.dyuproject.protostuff.runtime.PolymorphicMapSchema
 
mergeFrom(Input, Object) - Method in class com.dyuproject.protostuff.runtime.PolymorphicThrowableSchema
 
messageFullName() - Method in class com.dyuproject.protostuff.runtime.ArraySchema
 
messageFullName() - Method in class com.dyuproject.protostuff.runtime.ClassSchema
 
messageFullName() - Method in class com.dyuproject.protostuff.runtime.DerivativeSchema
 
messageFullName() - Method in class com.dyuproject.protostuff.runtime.MappedSchema
 
messageFullName() - Method in class com.dyuproject.protostuff.runtime.NumberSchema
 
messageFullName() - Method in class com.dyuproject.protostuff.runtime.ObjectSchema
 
messageFullName() - Method in class com.dyuproject.protostuff.runtime.PolymorphicCollectionSchema
 
messageFullName() - Method in class com.dyuproject.protostuff.runtime.PolymorphicEnumSchema
 
messageFullName() - Method in class com.dyuproject.protostuff.runtime.PolymorphicMapSchema
 
messageFullName() - Method in class com.dyuproject.protostuff.runtime.PolymorphicThrowableSchema
 
messageName() - Method in class com.dyuproject.protostuff.runtime.ArraySchema
 
messageName() - Method in class com.dyuproject.protostuff.runtime.ClassSchema
 
messageName() - Method in class com.dyuproject.protostuff.runtime.DerivativeSchema
 
messageName() - Method in class com.dyuproject.protostuff.runtime.MappedSchema
 
messageName() - Method in class com.dyuproject.protostuff.runtime.NumberSchema
 
messageName() - Method in class com.dyuproject.protostuff.runtime.ObjectSchema
 
messageName() - Method in class com.dyuproject.protostuff.runtime.PolymorphicCollectionSchema
 
messageName() - Method in class com.dyuproject.protostuff.runtime.PolymorphicEnumSchema
 
messageName() - Method in class com.dyuproject.protostuff.runtime.PolymorphicMapSchema
 
messageName() - Method in class com.dyuproject.protostuff.runtime.PolymorphicThrowableSchema
 
MORPH_COLLECTION_INTERFACES - Static variable in class com.dyuproject.protostuff.runtime.RuntimeEnv
Disabled by default.
MORPH_MAP_INTERFACES - Static variable in class com.dyuproject.protostuff.runtime.RuntimeEnv
Disabled by default.
MORPH_NON_FINAL_POJOS - Static variable in class com.dyuproject.protostuff.runtime.RuntimeEnv
Disabled by default.

N

name - Variable in class com.dyuproject.protostuff.runtime.MappedSchema.Field
 
newEnumMap() - Method in class com.dyuproject.protostuff.runtime.EnumIO
Returns an empty EnumMap.
newEnumSet() - Method in class com.dyuproject.protostuff.runtime.EnumIO
Returns an empty EnumSet.
newInstance() - Method in class com.dyuproject.protostuff.runtime.RuntimeEnv.Instantiator
Creates a new instance of an object.
newInstantiator(Class<T>) - Static method in class com.dyuproject.protostuff.runtime.RuntimeEnv
Returns an instatiator for the specified clazz.
newMessage() - Method in class com.dyuproject.protostuff.runtime.DerivativeSchema
 
newMessage() - Method in class com.dyuproject.protostuff.runtime.PolymorphicSchema
 
newMessage() - Method in class com.dyuproject.protostuff.runtime.RuntimeSchema
 
newSchema(Class<T>) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
Generates a schema from the given class.
newSchema(IdStrategy, PolymorphicSchema.Handler) - Method in interface com.dyuproject.protostuff.runtime.PolymorphicSchema.Factory
 
number - Variable in class com.dyuproject.protostuff.runtime.MappedSchema.Field
 
NumberSchema - Class in com.dyuproject.protostuff.runtime
Used when the type is Number.
NumberSchema(IdStrategy) - Constructor for class com.dyuproject.protostuff.runtime.NumberSchema
 

O

ObjectSchema - Class in com.dyuproject.protostuff.runtime
A schema for dynamic types (fields where the type is Object).
ObjectSchema(IdStrategy) - Constructor for class com.dyuproject.protostuff.runtime.ObjectSchema
 

P

pipeSchema - Variable in class com.dyuproject.protostuff.runtime.ArraySchema
 
pipeSchema - Variable in class com.dyuproject.protostuff.runtime.ClassSchema
 
pipeSchema - Variable in class com.dyuproject.protostuff.runtime.DerivativeSchema
This pipe schema delegates to another schema derived from the input.
pipeSchema - Variable in class com.dyuproject.protostuff.runtime.MappedSchema
 
pipeSchema - Variable in class com.dyuproject.protostuff.runtime.NumberSchema
 
pipeSchema - Variable in class com.dyuproject.protostuff.runtime.ObjectSchema
 
pipeSchema - Variable in class com.dyuproject.protostuff.runtime.PolymorphicCollectionSchema
 
pipeSchema - Variable in class com.dyuproject.protostuff.runtime.PolymorphicEnumSchema
 
pipeSchema - Variable in class com.dyuproject.protostuff.runtime.PolymorphicMapSchema
 
pipeSchema - Variable in class com.dyuproject.protostuff.runtime.PolymorphicThrowableSchema
 
PolymorphicCollectionSchema - Class in com.dyuproject.protostuff.runtime
Used when the type is an interface (Collection/List/Set/SortedSet).
PolymorphicCollectionSchema(IdStrategy) - Constructor for class com.dyuproject.protostuff.runtime.PolymorphicCollectionSchema
 
PolymorphicEnumSchema - Class in com.dyuproject.protostuff.runtime
Used when a field is declared as "Enum" (with or with-out generics).
PolymorphicEnumSchema(IdStrategy) - Constructor for class com.dyuproject.protostuff.runtime.PolymorphicEnumSchema
 
PolymorphicMapSchema - Class in com.dyuproject.protostuff.runtime
Used when the type is an interface (Map/SortedMap).
PolymorphicMapSchema(IdStrategy) - Constructor for class com.dyuproject.protostuff.runtime.PolymorphicMapSchema
 
PolymorphicSchema - Class in com.dyuproject.protostuff.runtime
Used when the type is either polymorphic or too complex.
PolymorphicSchema(IdStrategy) - Constructor for class com.dyuproject.protostuff.runtime.PolymorphicSchema
 
PolymorphicSchema.Factory - Interface in com.dyuproject.protostuff.runtime
A factory which creates a schema with the handler connected to it.
PolymorphicSchema.Handler - Interface in com.dyuproject.protostuff.runtime
The handler who's job is to set the value to the owner.
PolymorphicSchemaFactories - Enum in com.dyuproject.protostuff.runtime
Polymorphic types.
PolymorphicThrowableSchema - Class in com.dyuproject.protostuff.runtime
Used when the type is assignable from Throwable.
PolymorphicThrowableSchema(IdStrategy) - Constructor for class com.dyuproject.protostuff.runtime.PolymorphicThrowableSchema
 
postCreate() - Method in interface com.dyuproject.protostuff.runtime.IdStrategy.Factory
Called after the method IdStrategy.Factory.create() has been called.
primaryGroup - Variable in class com.dyuproject.protostuff.runtime.IdStrategy
 

R

readFrom(Input) - Method in interface com.dyuproject.protostuff.runtime.Delegate
Reads the value from the input.
readFrom(Input) - Method in class com.dyuproject.protostuff.runtime.EnumIO.ByName
 
readFrom(Input) - Method in class com.dyuproject.protostuff.runtime.EnumIO.ByNumber
 
readFrom(Input) - Method in class com.dyuproject.protostuff.runtime.EnumIO
Read the enum from the input.
register(Class<T>, Schema<T>) - Static method in class com.dyuproject.protostuff.runtime.RuntimeSchema
Returns true if this there is no existing one or the same schema has already been registered (this must be done on application startup).
registerCollection(CollectionSchema.MessageFactory) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
Registers a collection.
registerDelegate(Delegate<T>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
Registers a delegate.
registerEnum(Class<T>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
Registers an enum.
registerMap(MapSchema.MessageFactory) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
Registers a map.
registerPojo(Class<T>, Schema<T>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
Registers a pojo.
repeated - Variable in class com.dyuproject.protostuff.runtime.MappedSchema.Field
 
resolveArrayComponentTypeFrom(Input, boolean) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
resolveArrayComponentTypeFrom(Input, boolean) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
resolveClassFrom(Input, boolean, boolean) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
resolveClassFrom(Input, boolean, boolean) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
resolveCollectionFrom(Input) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
resolveCollectionFrom(Input) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
resolveDelegateFrom(Input) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
resolveDelegateFrom(Input) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
resolveEnumFrom(Input) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
resolveEnumFrom(Input) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
resolveMapFrom(Input) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
resolveMapFrom(Input) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
resolvePojoFrom(Input, int) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
resolvePojoFrom(Input, int) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
RuntimeEnv - Class in com.dyuproject.protostuff.runtime
The runtime environment.
RuntimeEnv.Instantiator<T> - Class in com.dyuproject.protostuff.runtime
 
RuntimeEnv.Instantiator() - Constructor for class com.dyuproject.protostuff.runtime.RuntimeEnv.Instantiator
 
RuntimeFieldFactory<V> - Class in com.dyuproject.protostuff.runtime
A factory to create runtime fields based on reflection.
RuntimeFieldFactory(int) - Constructor for class com.dyuproject.protostuff.runtime.RuntimeFieldFactory
 
RuntimePipeSchema<T> - Class in com.dyuproject.protostuff.runtime
Runtime pipe schema.
RuntimePipeSchema(Schema<T>, MappedSchema.Field<T>[]) - Constructor for class com.dyuproject.protostuff.runtime.RuntimePipeSchema
 
RuntimeReflectionFieldFactory - Class in com.dyuproject.protostuff.runtime
Field factory via plain old reflection api.
RuntimeSchema<T> - Class in com.dyuproject.protostuff.runtime
A schema that can be generated and cached at runtime for objects that have no schema.
RuntimeSchema(Class<T>, Collection<MappedSchema.Field<T>>, int, Constructor<T>) - Constructor for class com.dyuproject.protostuff.runtime.RuntimeSchema
 
RuntimeSchema(Class<T>, Collection<MappedSchema.Field<T>>, int, RuntimeEnv.Instantiator<T>) - Constructor for class com.dyuproject.protostuff.runtime.RuntimeSchema
 
RuntimeUnsafeFieldFactory - Class in com.dyuproject.protostuff.runtime
Field factory via sun.misc.Unsafe.

S

setValue(Object, Object) - Method in interface com.dyuproject.protostuff.runtime.PolymorphicSchema.Handler
 
setValue(Object, Object) - Method in class com.dyuproject.protostuff.runtime.PolymorphicSchema
Set the value to the owner.
SHORT - Static variable in class com.dyuproject.protostuff.runtime.RuntimeReflectionFieldFactory
 
SHORT - Static variable in class com.dyuproject.protostuff.runtime.RuntimeUnsafeFieldFactory
 
strategy - Variable in class com.dyuproject.protostuff.runtime.DerivativeSchema
 
strategy - Variable in class com.dyuproject.protostuff.runtime.PolymorphicSchema
 
STRING - Static variable in class com.dyuproject.protostuff.runtime.RuntimeReflectionFieldFactory
 
STRING - Static variable in class com.dyuproject.protostuff.runtime.RuntimeUnsafeFieldFactory
 

T

transfer(Pipe, Input, Output, int, boolean) - Method in interface com.dyuproject.protostuff.runtime.Delegate
Transfers the type from the input to the output.
transfer(Pipe, Input, Output, int, boolean) - Static method in class com.dyuproject.protostuff.runtime.EnumIO
Transfers the Enum from the input to the output.
transfer(Pipe, Input, Output, boolean) - Method in class com.dyuproject.protostuff.runtime.MappedSchema.Field
Transfer the input field to the output field.
transfer(Pipe, Input, Output) - Method in class com.dyuproject.protostuff.runtime.RuntimePipeSchema
 
transferArrayId(Input, Output, int, boolean) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
transferArrayId(Input, Output, int, boolean) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
transferClassId(Input, Output, int, boolean, boolean) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
transferClassId(Input, Output, int, boolean, boolean) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
transferCollectionId(Input, Output, int) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
transferCollectionId(Input, Output, int) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
transferDelegateId(Input, Output, int) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
transferDelegateId(Input, Output, int) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
transferEnumId(Input, Output, int) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
transferEnumId(Input, Output, int) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
transferMapId(Input, Output, int) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
transferMapId(Input, Output, int) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
transferPojoId(Input, Output, int) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
transferPojoId(Input, Output, int) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
tryWriteDelegateIdTo(Output, int, Class<T>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
tryWriteDelegateIdTo(Output, int, Class<T>) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
If this method returns null, the clazz was not registered as a delegate.
type - Variable in class com.dyuproject.protostuff.runtime.MappedSchema.Field
 
typeClass() - Method in interface com.dyuproject.protostuff.runtime.Delegate
The class of the target value.
typeClass() - Method in class com.dyuproject.protostuff.runtime.DerivativeSchema
 
typeClass - Variable in class com.dyuproject.protostuff.runtime.MappedSchema
 
typeClass() - Method in class com.dyuproject.protostuff.runtime.MappedSchema
 
typeClass() - Method in class com.dyuproject.protostuff.runtime.PolymorphicSchema
 

U

USE_SUN_MISC_UNSAFE - Static variable in class com.dyuproject.protostuff.runtime.RuntimeEnv
If true, sun.misc.Unsafe is used to access the fields of the objects instead of plain java reflections.

V

valueOf(String) - Static method in enum com.dyuproject.protostuff.runtime.PolymorphicSchemaFactories
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.dyuproject.protostuff.runtime.PolymorphicSchemaFactories
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeArrayIdTo(Output, Class<?>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
writeArrayIdTo(Output, Class<?>) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
writeClassIdTo(Output, Class<?>, boolean) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
writeClassIdTo(Output, Class<?>, boolean) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
writeCollectionIdTo(Output, int, Class<?>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
writeCollectionIdTo(Output, int, Class<?>) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
writeEnumIdTo(Output, int, Class<?>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
writeEnumIdTo(Output, int, Class<?>) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
writeMapIdTo(Output, int, Class<?>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
writeMapIdTo(Output, int, Class<?>) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
writeMessageIdTo(Output, int, Message<T>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
writeMessageIdTo(Output, int, Message<T>) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
writePojoIdTo(Output, int, Class<T>) - Method in class com.dyuproject.protostuff.runtime.DefaultIdStrategy
 
writePojoIdTo(Output, int, Class<T>) - Method in class com.dyuproject.protostuff.runtime.IdStrategy
 
writeTo(Output, Object) - Method in class com.dyuproject.protostuff.runtime.ArraySchema
 
writeTo(Output, Object) - Method in class com.dyuproject.protostuff.runtime.ClassSchema
 
writeTo(Output, int, V, boolean) - Method in interface com.dyuproject.protostuff.runtime.Delegate
Writes the value to the output.
writeTo(Output, Object) - Method in class com.dyuproject.protostuff.runtime.DerivativeSchema
Delegates to the schema derived from the value.
writeTo(Output, int, boolean, Enum<?>) - Static method in class com.dyuproject.protostuff.runtime.EnumIO
Writes the Enum to the output.
writeTo(Output, T) - Method in class com.dyuproject.protostuff.runtime.MappedSchema.Field
Writes the value of a field to the output.
writeTo(Output, T) - Method in class com.dyuproject.protostuff.runtime.MappedSchema
 
writeTo(Output, Object) - Method in class com.dyuproject.protostuff.runtime.NumberSchema
 
writeTo(Output, Object) - Method in class com.dyuproject.protostuff.runtime.ObjectSchema
 
writeTo(Output, Object) - Method in class com.dyuproject.protostuff.runtime.PolymorphicCollectionSchema
 
writeTo(Output, Object) - Method in class com.dyuproject.protostuff.runtime.PolymorphicEnumSchema
 
writeTo(Output, Object) - Method in class com.dyuproject.protostuff.runtime.PolymorphicMapSchema
 
writeTo(Output, Object) - Method in class com.dyuproject.protostuff.runtime.PolymorphicThrowableSchema
 

A B C D E F G H I M N O P R S T U V W

Copyright © 2009-2014. All Rights Reserved.