com.ail.core.document.generatedocument
Class RenderDocumentArgImp

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.command.CommandArgImp
          extended by com.ail.core.document.generatedocument.RenderDocumentArgImp
All Implemented Interfaces:
CommandArg, RenderDocumentArg, java.io.Serializable, java.lang.Cloneable

public class RenderDocumentArgImp
extends CommandArgImp
implements RenderDocumentArg

Version:
$Revision$
Author:
$Author$
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
RenderDocumentArgImp()
           
 
Method Summary
 byte[] getRenderedDocumentRet()
          Get the rendered document.
 java.lang.String getRenderedDocumentRetAsString()
           
 java.lang.String getRenderOptionsArg()
          Get the list of render service specific options which will applied during the render operation.
 XMLString getSourceDataArg()
          Get the XML data which the renderer will use as a source.
 java.lang.String getTranslationUrlArg()
          
 void setRenderedDocumentRet(byte[] renderedDocumentRet)
          
 void setRenderedDocumentRetAsString(java.lang.String renderedDocumentRetAsString)
           
 void setRenderOptionsArg(java.lang.String renderOptionsArg)
          
 void setSourceDataArg(XMLString sourceDataArg)
          
 void setTranslationUrlArg(java.lang.String translationUrlArg)
          Set the translation (if any) to be applied to the document pre-render.
 
Methods inherited from class com.ail.core.command.CommandArgImp
getCallersCore, setCallersCore
 
Methods inherited from class com.ail.core.Type
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ail.core.command.CommandArg
getCallersCore, setCallersCore
 

Constructor Detail

RenderDocumentArgImp

public RenderDocumentArgImp()
Method Detail

getRenderedDocumentRet

public byte[] getRenderedDocumentRet()
Get the rendered document. This document is the result of the rendering process - a fully formed PDF, RTF, or whatever other format of file the implementing services support.

Specified by:
getRenderedDocumentRet in interface RenderDocumentArg

setRenderedDocumentRet

public void setRenderedDocumentRet(byte[] renderedDocumentRet)

Specified by:
setRenderedDocumentRet in interface RenderDocumentArg
See Also:
RenderDocumentArg.getRenderedDocumentRet()

getRenderedDocumentRetAsString

public java.lang.String getRenderedDocumentRetAsString()

setRenderedDocumentRetAsString

public void setRenderedDocumentRetAsString(java.lang.String renderedDocumentRetAsString)

getSourceDataArg

public XMLString getSourceDataArg()
Get the XML data which the renderer will use as a source.

Specified by:
getSourceDataArg in interface RenderDocumentArg
Returns:
Source data

setSourceDataArg

public void setSourceDataArg(XMLString sourceDataArg)

Specified by:
setSourceDataArg in interface RenderDocumentArg
See Also:
RenderDocumentArg.getSourceDataArg()

getRenderOptionsArg

public java.lang.String getRenderOptionsArg()
Get the list of render service specific options which will applied during the render operation. See the javadocs associated with each type of render service for a list of the options supported, and a description of how the list is interpreted.

Specified by:
getRenderOptionsArg in interface RenderDocumentArg
Returns:
Comma separated list of options

setRenderOptionsArg

public void setRenderOptionsArg(java.lang.String renderOptionsArg)

Specified by:
setRenderOptionsArg in interface RenderDocumentArg
See Also:
RenderDocumentArg.getRenderOptionsArg()

getTranslationUrlArg

public java.lang.String getTranslationUrlArg()

Specified by:
getTranslationUrlArg in interface RenderDocumentArg
Returns:
translationUrlArg
See Also:
RenderDocumentArg.setTranslationUrlArg(String)

setTranslationUrlArg

public void setTranslationUrlArg(java.lang.String translationUrlArg)
Set the translation (if any) to be applied to the document pre-render. The interpretation of this argument is dependent on the render service implementation. See the javadocs associated with each render service for details of this option's usage.

Specified by:
setTranslationUrlArg in interface RenderDocumentArg
Parameters:
translationUrlArg - Translation URL