Class TaggedSerializationWrapper
java.lang.Object
org.javarosa.core.services.storage.TaggedSerializationWrapper
- All Implemented Interfaces:
WrappingStorageUtility.SerializationWrapper,Externalizable
public class TaggedSerializationWrapper extends Object implements WrappingStorageUtility.SerializationWrapper
- Author:
- ctsims
-
Constructor Summary
Constructors Constructor Description TaggedSerializationWrapper() -
Method Summary
Modifier and Type Method Description ClassbaseType()return type of underlying objectvoidclean()ExternalizablegetData()retrieve the underlying object (to be followed by a call to readExternal)voidreadExternal(DataInputStream in, PrototypeFactory pf)voidsetData(Externalizable e)set the underlying object (to be followed by a call to writeExternal)voidwriteExternal(DataOutputStream out)
-
Constructor Details
-
TaggedSerializationWrapper
public TaggedSerializationWrapper()
-
-
Method Details
-
baseType
Description copied from interface:WrappingStorageUtility.SerializationWrapperreturn type of underlying object- Specified by:
baseTypein interfaceWrappingStorageUtility.SerializationWrapper- Returns:
-
getData
Description copied from interface:WrappingStorageUtility.SerializationWrapperretrieve the underlying object (to be followed by a call to readExternal)- Specified by:
getDatain interfaceWrappingStorageUtility.SerializationWrapper- Returns:
-
setData
Description copied from interface:WrappingStorageUtility.SerializationWrapperset the underlying object (to be followed by a call to writeExternal)- Specified by:
setDatain interfaceWrappingStorageUtility.SerializationWrapper
-
readExternal
public void readExternal(DataInputStream in, PrototypeFactory pf) throws IOException, DeserializationException- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionDeserializationException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
clean
public void clean()- Specified by:
cleanin interfaceWrappingStorageUtility.SerializationWrapper
-