Package com.saperion.ws.wrapper
Class SaWsContent
java.lang.Object
com.saperion.ws.wrapper.SaWsContent
- Author:
- Daniel Manzke created 30. August 2007, 17:56
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of SaWsContent.SaWsContent
(jakarta.activation.DataHandler dataHandler, String fileName) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.activation.DataHandler
Returns the content for a document.Returns the filename of the document's content.int
void
setContent
(jakarta.activation.DataHandler dataHandler) Sets the content for a document.void
setFilename
(String fileName) Sets the filename of the document's content.void
setPosition
(int position) void
setVariables
(Map<String, String> variables)
-
Constructor Details
-
SaWsContent
public SaWsContent()Creates a new instance of SaWsContent. -
SaWsContent
- Parameters:
dataHandler
- Content data handlerfileName
- Filename
-
-
Method Details
-
getContent
public jakarta.activation.DataHandler getContent()Returns the content for a document.- Returns:
- Returns the Handler which contains the data
-
setContent
public void setContent(jakarta.activation.DataHandler dataHandler) Sets the content for a document.- Parameters:
dataHandler
- Content data handler
-
getFilename
Returns the filename of the document's content.- Returns:
- Returns the filename of the document
-
setFilename
Sets the filename of the document's content.- Parameters:
fileName
- Filename
-
getPosition
public int getPosition() -
setPosition
public void setPosition(int position) -
getVariables
-
setVariables
-