Package org.javarosa.core.model
Class SubmissionProfile
java.lang.Object
org.javarosa.core.model.SubmissionProfile
- All Implemented Interfaces:
Externalizable
public class SubmissionProfile extends Object implements Externalizable
A Submission Profile is a class which is responsible for
holding and processing the details of how a submission
should be handled.
- Author:
- ctsims
-
Constructor Summary
Constructors Constructor Description SubmissionProfile()SubmissionProfile(IDataReference ref, String method, String action, String mediatype)SubmissionProfile(IDataReference ref, String method, String action, String mediatype, HashMap<String,String> attributeMap) -
Method Summary
Modifier and Type Method Description StringgetAction()StringgetAttribute(String name)StringgetMediaType()StringgetMethod()IDataReferencegetRef()voidreadExternal(DataInputStream in, PrototypeFactory pf)voidwriteExternal(DataOutputStream out)
-
Constructor Details
-
SubmissionProfile
public SubmissionProfile() -
SubmissionProfile
-
SubmissionProfile
-
-
Method Details
-
getRef
-
getMethod
-
getAction
-
getMediaType
-
getAttribute
-
readExternal
public void readExternal(DataInputStream in, PrototypeFactory pf) throws IOException, DeserializationException- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionDeserializationException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-