com.adobe.icc.render.obj
Class PDFResponseType

java.lang.Object
  extended by com.adobe.icc.render.obj.PDFResponseType
All Implemented Interfaces:
java.io.Serializable

public class PDFResponseType
extends java.lang.Object
implements java.io.Serializable

POJO returned by the Render services, containing the filename and the PDFFile content. Will also contain the appropriate errorcode and errortext in the event of an error/exception.

See Also:
Serialized Form

Constructor Summary
PDFResponseType()
           
 
Method Summary
 java.lang.String getErrorcode()
          Returns error code text
 java.lang.String getErrortext()
          Returns error message text
 PDFFile getFile()
          Return the PDF file for this response
 java.lang.Integer getFilelength()
          Returns the length of the PDF document in bytes.
 java.lang.String getFilename()
          Returns the filename of the PDF document.
 void setErrorcode(int errorCode)
          Sets the error code text to return based on error code
 void setErrortext(int errorCode)
          Sets the error message text to return based on the error code
 void setFile(PDFFile file)
          Set the PDF file for this response
 void setFilelength(java.lang.Integer dateilaenge)
          Sets the length of the PDF document in bytes.
 void setFilename(java.lang.String dateiname)
          Set the filename of the PDF document
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFResponseType

public PDFResponseType()
Method Detail

getErrortext

public java.lang.String getErrortext()
Returns error message text

Returns:
error message

setErrortext

public void setErrortext(int errorCode)
Sets the error message text to return based on the error code

Parameters:
errorCode - error code

getErrorcode

public java.lang.String getErrorcode()
Returns error code text

Returns:
error code 2 digit text

setErrorcode

public void setErrorcode(int errorCode)
Sets the error code text to return based on error code

Parameters:
errorCode - error code

getFilelength

public java.lang.Integer getFilelength()
Returns the length of the PDF document in bytes.

Returns:
Number of bytes in PDF prior to BASE64 encoding

setFilelength

public void setFilelength(java.lang.Integer dateilaenge)
Sets the length of the PDF document in bytes. This is simply to pass it on in the webservice response. One has to ensure that the length corresponds with the PDF document in the structure.

Parameters:
filelength - Number of bytes in PDF buffer

getFilename

public java.lang.String getFilename()
Returns the filename of the PDF document.

Returns:
Filename

setFilename

public void setFilename(java.lang.String dateiname)
Set the filename of the PDF document

Parameters:
filename - filename

setFile

public void setFile(PDFFile file)
Set the PDF file for this response

Parameters:
file - PDFFile

getFile

public PDFFile getFile()
Return the PDF file for this response

Returns:
PDFFile object


[an error occurred while processing this directive] [an error occurred while processing this directive]