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