Uses of Interface
com.tangosol.io.pof.PofContext
Package
Description
Contains classes related to POF serialization and deserialization.
Contains classes related to POF stream navigation and manipulation.
Contains various generic utilities.
Contains
ValueExtractor
and
ValueUpdater
related classes.-
Uses of PofContext in com.tangosol.io.pof
Modifier and TypeClassDescriptionclass
This class implements thePofContext
interface using information provided in a configuration file (or in a passed XML configuration) as well as classes annotated withPortableType
.class
SafeConfigurablePofContext is an extension of ConfigurablePofContext that can serialize and deserialize any valid POF user type, even those that have not been explicitly configured, as well as any Java serializable types (Serializable, Externalizable, or ExternalizableLite).class
BasicPofContext
implementation.Modifier and TypeFieldDescriptionprotected PofContext
PofBufferReader.m_ctx
The PofContext to use to realize user data types as Java objects.protected PofContext
PofBufferWriter.m_ctx
The PofContext used by this PofBufferWriter to serialize user types.Modifier and TypeMethodDescriptionPofBufferReader.getPofContext()
Return the PofContext object used by this PofReader to deserialize user types from a POF stream.PofBufferWriter.getPofContext()
Return the PofContext object used by this PofWriter to serialize user types to a POF stream.PofReader.getPofContext()
Return the PofContext object used by this PofReader to deserialize user types from a POF stream.PofWriter.getPofContext()
Return the PofContext object used by this PofWriter to serialize user types to a POF stream.Modifier and TypeMethodDescriptionprotected Class
<?> PortableTypeSerializer.getClassForTypeId
(PofContext ctx, int nTypeId) Return the class associated with a specified type identifier, or null if the identifier is not defined in the current POF context.static int
PofHelper.getJavaTypeId
(Object o, PofContext ctx) Return an identifier that represents the Java type of the specified object.static int
PofHelper.getPofTypeId
(Class clz, PofContext ctx) Return an identifier that represents the POF type of the specified class.void
PofBufferReader.setPofContext
(PofContext ctx) Configure the PofContext object used by this PofReader to deserialize user types from a POF stream.void
PofBufferWriter.setPofContext
(PofContext ctx) Configure the PofContext object used by this PofWriter to serialize user types to a POF stream.void
PofReader.setPofContext
(PofContext ctx) Configure the PofContext object used by this PofReader to deserialize user types from a POF stream.void
PofWriter.setPofContext
(PofContext ctx) Configure the PofContext object used by this PofWriter to serialize user types to a POF stream.ModifierConstructorDescriptionConstruct a new PofBufferReader that will read a POF stream from the passed BufferInput object.PofBufferWriter
(WritingPofHandler handler, PofContext ctx) Construct a new PofBufferWriter that will write a POF stream using the passed WritingPofHandler.Construct a new PofBufferWriter that will write a POF stream to the passed BufferOutput object.UserTypeReader
(PofBufferReader parent, ReadBuffer.BufferInput in, PofContext ctx, int nTypeId, int nVersionId) Construct a parser for parsing the property values of a user type.UserTypeReader
(ReadBuffer.BufferInput in, PofContext ctx, int nTypeId, int nVersionId) Construct a parser for parsing the property values of a user type.UserTypeWriter
(PofBufferWriter parent, WritingPofHandler handler, PofContext ctx, int nTypeId, int iProp) Construct a UserTypeWriter for writing the property values of a user type.UserTypeWriter
(PofBufferWriter parent, WritingPofHandler handler, PofContext ctx, int nTypeId, int iProp, int nId) Construct a UserTypeWriter for writing the property values of a user type.UserTypeWriter
(PofBufferWriter parent, WriteBuffer.BufferOutput out, PofContext ctx, int nTypeId, int iProp) Construct a UserTypeWriter for writing the property values of a user type.UserTypeWriter
(WritingPofHandler handler, PofContext ctx, int nTypeId, int iProp) Construct a UserTypeWriter for writing the property values of a user type.UserTypeWriter
(WriteBuffer.BufferOutput out, PofContext ctx, int nTypeId, int iProp) Construct a UserTypeWriter for writing the property values of a user type. -
Uses of PofContext in com.tangosol.io.pof.reflect
Modifier and TypeMethodDescriptionAbstractPofValue.getPofContext()
Return the POF context to use for serialization and deserialization.Modifier and TypeMethodDescriptionstatic Object
PofReflectionHelper.ensureType
(Object o, int nType, PofContext ctx) Validate that the supplied object is compatible with the specified type.static Class
PofReflectionHelper.getClass
(int nType, PofContext ctx) Determine the class associated with the given type identifier.protected static PofValue
PofValueParser.instantiatePofValue
(PofValue valueParent, int nType, ReadBuffer bufValue, PofContext ctx, int of, ReadBuffer.BufferInput in) Creates a PofValue instance.static PofValue
PofValueParser.parse
(ReadBuffer buf, PofContext ctx) Parses POF-encoded binary and returns an instance of aPofValue
wrapper for it.protected static PofValue
PofValueParser.parseUniformValue
(PofValue valueParent, int nType, ReadBuffer bufValue, PofContext ctx, int of) Parses a uniform POF-encoded binary and returns an instance of aPofValue
wrapping the binary.protected static PofValue
PofValueParser.parseValue
(PofValue valueParent, ReadBuffer bufValue, PofContext ctx, int of) Parse a POF-encoded binary and return an instance of aPofValue
wrapping the binary.ModifierConstructorDescriptionAbstractPofValue
(PofValue valueParent, ReadBuffer bufValue, PofContext ctx, int of, int nType) Construct a PofValue instance wrapping the supplied buffer.ComplexPofValue
(PofValue valueParent, ReadBuffer bufValue, PofContext ctx, int of, int nType, int ofChildren) Construct a PofValue instance wrapping the supplied buffer.NilPofValue
(PofValue valueParent, PofContext ctx, int of, int nType, int nIndex) Construct a NilPofValue instance.PofArray
(PofValue valueParent, ReadBuffer bufValue, PofContext ctx, int of, int nType, int ofChildren, int cElements) Construct a PofArray instance wrapping the supplied buffer.PofCollection
(PofValue valueParent, ReadBuffer bufValue, PofContext ctx, int of, int nType, int ofChildren, int cElements) Construct a PofCollection instance wrapping the supplied buffer.PofSparseArray
(PofValue valueParent, ReadBuffer bufValue, PofContext ctx, int of, int nType, int ofChildren) Construct a PofSparseArray instance wrapping the supplied buffer.PofUniformArray
(PofValue valueParent, ReadBuffer bufValue, PofContext ctx, int of, int nType, int ofChildren, int cElements, int nElementType) Construct a PofUniformArray instance wrapping the supplied buffer.PofUniformCollection
(PofValue valueParent, ReadBuffer bufValue, PofContext ctx, int of, int nType, int ofChildren, int cElements, int nElementType) Construct a PofUniformCollection instance wrapping the supplied buffer.PofUniformSparseArray
(PofValue valueParent, ReadBuffer bufValue, PofContext ctx, int of, int nType, int ofChildren, int nElementType) Construct a PofUniformSparseArray instance wrapping the supplied buffer.PofUserType
(PofValue valueParent, ReadBuffer bufValue, PofContext ctx, int of, int nType, int ofChildren, int nVersion) Construct a PofUserType instance wrapping the supplied buffer.SimplePofValue
(PofValue valueParent, ReadBuffer bufValue, PofContext ctx, int of, int nType) Construct a SimplePofValue instance wrapping the supplied buffer. -
Uses of PofContext in com.tangosol.util
Modifier and TypeClassDescriptionstatic class
An implementation of PofContext that does nothing.Modifier and TypeMethodDescriptionstatic PofContext
NullImplementation.getPofContext()
Factory method: Obtain a null implementation of a PofContext. -
Uses of PofContext in com.tangosol.util.extractor
Modifier and TypeMethodDescriptionprotected int
PofExtractor.getPofTypeId
(PofContext ctx) compute the expected pof type id based on the class.