Uses of Interface
com.tangosol.io.pof.PofContext
-
Packages that use PofContext Package Description com.tangosol.io.pof Contains classes related to POF serialization and deserialization.com.tangosol.io.pof.reflect Contains classes related to POF stream navigation and manipulation.com.tangosol.util Contains various generic utilities.com.tangosol.util.extractor ContainsValueExtractor
andValueUpdater
related classes. -
-
Uses of PofContext in com.tangosol.io.pof
Classes in com.tangosol.io.pof that implement PofContext Modifier and Type Class Description class
ConfigurablePofContext
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
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
SimplePofContext
BasicPofContext
implementation.Fields in com.tangosol.io.pof declared as PofContext Modifier and Type Field Description protected 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.Methods in com.tangosol.io.pof that return PofContext Modifier and Type Method Description PofContext
PofBufferReader. getPofContext()
Return the PofContext object used by this PofReader to deserialize user types from a POF stream.PofContext
PofBufferWriter. getPofContext()
Return the PofContext object used by this PofWriter to serialize user types to a POF stream.PofContext
PofReader. getPofContext()
Return the PofContext object used by this PofReader to deserialize user types from a POF stream.PofContext
PofWriter. getPofContext()
Return the PofContext object used by this PofWriter to serialize user types to a POF stream.Methods in com.tangosol.io.pof with parameters of type PofContext Modifier and Type Method Description protected 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.Constructors in com.tangosol.io.pof with parameters of type PofContext Constructor Description PofBufferReader(ReadBuffer.BufferInput in, PofContext ctx)
Construct 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.PofBufferWriter(WriteBuffer.BufferOutput out, PofContext ctx)
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
Methods in com.tangosol.io.pof.reflect that return PofContext Modifier and Type Method Description PofContext
AbstractPofValue. getPofContext()
Return the POF context to use for serialization and deserialization.Methods in com.tangosol.io.pof.reflect with parameters of type PofContext Modifier and Type Method Description static 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.Constructors in com.tangosol.io.pof.reflect with parameters of type PofContext Constructor Description AbstractPofValue(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
Classes in com.tangosol.util that implement PofContext Modifier and Type Class Description static class
NullImplementation.NullPofContext
An implementation of PofContext that does nothing.Methods in com.tangosol.util that return PofContext Modifier and Type Method Description static PofContext
NullImplementation. getPofContext()
Factory method: Obtain a null implementation of a PofContext. -
Uses of PofContext in com.tangosol.util.extractor
Methods in com.tangosol.util.extractor with parameters of type PofContext Modifier and Type Method Description protected int
PofExtractor. getPofTypeId(PofContext ctx)
compute the expected pof type id based on the class.
-