|
Compoze Software, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.compoze.domino.DefaultEmbeddedImageListener
This class provides the default implementation for building the embedded image servlet URL.
| Constructor Summary | |
DefaultEmbeddedImageListener()
Constructor. |
|
DefaultEmbeddedImageListener(java.lang.String sServletName)
Constructor. |
|
| Method Summary | |
java.lang.String |
getImageServletURL(java.lang.String sDocumentID,
java.lang.String sImageID)
Gets the embedded image servlet URL. |
void |
setDocumentIDName(java.lang.String sDocumentIDName)
Sets the document ID name for the URL name/value pair. |
void |
setImageIDName(java.lang.String sImageIDName)
Sets the image ID name for the URL name/value pair. |
void |
setResponse(javax.servlet.http.HttpServletResponse response)
Sets the response object responsible for URL encoding the embedded image servlet URL. |
void |
setServletName(java.lang.String sServletName)
Sets the servlet name/path. |
void |
setSessionName(java.lang.String sSessionName)
Sets the session name. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DefaultEmbeddedImageListener()
public DefaultEmbeddedImageListener(java.lang.String sServletName)
sServletName - the serlvet name/path (may not be null)| Method Detail |
public void setServletName(java.lang.String sServletName)
sServletName - the name/path of the servlet (may not be null)public void setDocumentIDName(java.lang.String sDocumentIDName)
sDocumentIDName - the document ID name (may not be null)public void setImageIDName(java.lang.String sImageIDName)
sImageIDName - the image ID name (may not be null)public void setSessionName(java.lang.String sSessionName)
sSessionName - the session namepublic void setResponse(javax.servlet.http.HttpServletResponse response)
response - the response object that provides URL
encoding functionality
public java.lang.String getImageServletURL(java.lang.String sDocumentID,
java.lang.String sImageID)
IEmbeddedImageListener
getImageServletURL in interface IEmbeddedImageListenersDocumentID - the id of the document (may not be null)sImageID - the id of the image (may not be null)
public java.lang.String toString()
|
Compoze Software, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||