railo.runtime.tag
Class Document
java.lang.Object
railo.runtime.ext.tag.TagImpl
railo.runtime.ext.tag.BodyTagImpl
railo.runtime.tag.Document
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
public final class Document
- extends BodyTagImpl
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
Document
public Document()
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class BodyTagImpl
setProxyserver
public void setProxyserver(String proxyserver)
- set the value proxyserver
Host name or IP address of a proxy server.
- Parameters:
proxyserver
- value to set
setProxyhost
public void setProxyhost(String proxyserver)
setProxyport
public void setProxyport(double proxyport)
- set the value proxyport
The port number on the proxy server from which the object is requested. Default is 80. When
used with resolveURL, the URLs of retrieved documents that specify a port number are automatically
resolved to preserve links in the retrieved document.
- Parameters:
proxyport
- value to set
setProxyuser
public void setProxyuser(String proxyuser)
- set the value username
When required by a proxy server, a valid username.
- Parameters:
proxyuser
- value to set
setProxypassword
public void setProxypassword(String proxypassword)
- set the value password
When required by a proxy server, a valid password.
- Parameters:
proxypassword
- value to set
setSaveasname
public void setSaveasname(String saveAsName)
setAuthuser
public void setAuthuser(String authUser)
- Parameters:
authUser
- the authUser to set
setAuthpassword
public void setAuthpassword(String authPassword)
- Parameters:
authPassword
- the authPassword to set
setUseragent
public void setUseragent(String userAgent)
- Parameters:
userAgent
- the userAgent to set
setFormat
public void setFormat(String format)
throws ApplicationException
- Parameters:
format
- the format to set
- Throws:
ApplicationException
setFilename
public void setFilename(String filename)
throws PageException
- Parameters:
filename
- the filename to set
- Throws:
PageException
setOverwrite
public void setOverwrite(boolean overwrite)
- Parameters:
overwrite
- the overwrite to set
setName
public void setName(String name)
- Parameters:
name
- the name to set
setPagetype
public void setPagetype(String strPagetype)
throws ApplicationException
- Parameters:
pagetype
- the pagetype to set
- Throws:
ApplicationException
setPageheight
public void setPageheight(double pageheight)
throws ApplicationException
- Parameters:
pageheight
- the pageheight to set
- Throws:
ApplicationException
setPagewidth
public void setPagewidth(double pagewidth)
throws ApplicationException
- Parameters:
pagewidth
- the pagewidth to set
- Throws:
ApplicationException
setOrientation
public void setOrientation(String strOrientation)
throws ApplicationException
- Parameters:
orientation
- the orientation to set
- Throws:
ApplicationException
setMarginbottom
public void setMarginbottom(double marginbottom)
- Parameters:
marginbottom
- the marginbottom to set
setMarginleft
public void setMarginleft(double marginleft)
- Parameters:
marginleft
- the marginleft to set
setMarginright
public void setMarginright(double marginright)
- Parameters:
marginright
- the marginright to set
setMargintop
public void setMargintop(double margintop)
- Parameters:
margintop
- the margintop to set
setBookmark
public void setBookmark(boolean bookmark)
- Parameters:
bookmark
- the bookmark to set
setHtmlbookmark
public void setHtmlbookmark(boolean bookmark)
setLocalurl
public void setLocalurl(boolean localUrl)
- Parameters:
localUrl
- the localUrl to set
setUnit
public void setUnit(String strUnit)
throws ApplicationException
- Parameters:
unitFactor
- the unit to set
- Throws:
ApplicationException
setEncryption
public void setEncryption(String strEncryption)
throws ApplicationException
- Parameters:
encryption
- the encryption to set
- Throws:
ApplicationException
setOwnerpassword
public void setOwnerpassword(String ownerpassword)
- Parameters:
ownerpassword
- the ownerpassword to set
- Throws:
ApplicationException
setUserpassword
public void setUserpassword(String userpassword)
- Parameters:
userpassword
- the userpassword to set
setPermissions
public void setPermissions(String strPermissions)
throws PageException
- Parameters:
permissions
- the permissions to set
- Throws:
PageException
setScale
public void setScale(double scale)
throws ApplicationException
- Parameters:
scale
- the scale to set
- Throws:
ApplicationException
setSrc
public void setSrc(String src)
throws ApplicationException
- Parameters:
src
- the src to set
- Throws:
ApplicationException
setSrcfile
public void setSrcfile(String strSrcfile)
throws PageException
- Parameters:
srcfile
- the srcfile to set
- Throws:
PageException
setMimetype
public void setMimetype(String strMimetype)
- Parameters:
mimetype
- the mimetype to set
setHeader
public void setHeader(PDFPageMark header)
setFooter
public void setFooter(PDFPageMark footer)
setBackgroundvisible
public void setBackgroundvisible(boolean backgroundvisible)
setFontembed
public void setFontembed(String fontembed)
throws PDFException
- Throws:
PDFException
addPDFDocument
public void addPDFDocument(PDFDocument document)
doStartTag
public int doStartTag()
throws PageException
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class TagImpl
- Throws:
PageException
doInitBody
public void doInitBody()
- Specified by:
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
- Overrides:
doInitBody
in class BodyTagImpl
doAfterBody
public int doAfterBody()
- Specified by:
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
- Overrides:
doAfterBody
in class BodyTagImpl
doEndTag
public int doEndTag()
throws PageException
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class TagImpl
- Throws:
PageException
_doEndTag
public void _doEndTag()
throws javax.servlet.jsp.JspException,
IOException,
com.lowagie.text.DocumentException
- Throws:
javax.servlet.jsp.JspException
IOException
com.lowagie.text.DocumentException
hasBody
public void hasBody(boolean hasBody)
- sets if has body or not
- Parameters:
hasBody
-
Copyright © 2012 Railo