| 
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01  | 
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface PofContext
The PofContext interface represents a set of user types that can be serialized to and deserialized from a POF stream.
| Method Summary | |
|---|---|
 java.lang.Class | 
getClass(int nTypeId)Determine the class associated with the given user type identifier.  | 
 java.lang.String | 
getClassName(int nTypeId)Determine the name of the class associated with the given user type identifier.  | 
 PofSerializer | 
getPofSerializer(int nTypeId)Return a PofSerializer that can be used to serialize and deserialize an object of the specified user type to and from a POF stream.  | 
 int | 
getUserTypeIdentifier(java.lang.Class clz)Determine the user type identifier associated with the given class.  | 
 int | 
getUserTypeIdentifier(java.lang.Object o)Determine the user type identifier associated with the given object.  | 
 int | 
getUserTypeIdentifier(java.lang.String sClass)Determine the user type identifier associated with the given class name.  | 
 boolean | 
isUserType(java.lang.Class clz)Determine if the given class is a user type known to this PofContext.  | 
 boolean | 
isUserType(java.lang.Object o)Determine if the given object is of a user type known to this PofContext.  | 
 boolean | 
isUserType(java.lang.String sClass)Determine if the class with the given name is a user type known to this PofContext.  | 
| Methods inherited from interface com.tangosol.io.Serializer | 
|---|
deserialize, serialize | 
| Method Detail | 
|---|
PofSerializer getPofSerializer(int nTypeId)
nTypeId - the type identifier of the user type that can be serialized and deserialized using the returned PofSerializer; must be non-negativejava.lang.IllegalArgumentException - if the specified user type is negative or unknown to this PofContextint getUserTypeIdentifier(java.lang.Object o)
o - an instance of a user type; must not be nulljava.lang.IllegalArgumentException - if the user type associated with the given object is unknown to this PofContext or if the object is nullint getUserTypeIdentifier(java.lang.Class clz)
clz - a user type class; must not be nulljava.lang.IllegalArgumentException - if the user type associated with the given class is unknown to this PofContext or if the class is nullint getUserTypeIdentifier(java.lang.String sClass)
sClass - the name of a user type class; must not be nulljava.lang.IllegalArgumentException - if the user type associated with the given class name is unknown to this PofContext or if the class name is nulljava.lang.String getClassName(int nTypeId)
nTypeId - the user type identifier; must be non-negativejava.lang.IllegalArgumentException - if the specified user type is negative or unknown to this PofContextjava.lang.Class getClass(int nTypeId)
nTypeId - the user type identifier; must be non-negativejava.lang.IllegalArgumentException - if the specified user type is negative or unknown to this PofContextboolean isUserType(java.lang.Object o)
o - the object to test; must not be nulljava.lang.IllegalArgumentException - if the given object is nullboolean isUserType(java.lang.Class clz)
clz - the class to test; must not be nulljava.lang.IllegalArgumentException - if the given class is nullboolean isUserType(java.lang.String sClass)
sClass - the name of the class to test; must not be nulljava.lang.IllegalArgumentException - if the given class name is null
  | 
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01  | 
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||