PrintDocTag Class
DEPRECATED
- public class PrintDocTag
extends com.bea.p13n.content.servlets.jsp.taglib.BaseTag
Tag extension to inline the bytes of a Document into the page context's
output.
-
Hierarchy
-
Object
TagSupport
com.bea.p13n.content.servlets.jsp.taglib.BaseTag
PrintDocTag
-
All Implemented Interfaces
-
IterationTag
, Serializable
, Tag
Methods from com.bea.p13n.content.servlets.jsp.taglib.com.bea.p13n.content.servlets.jsp.taglib.BaseTag |
getCacheId , getCacheScope , getCacheTimeout , getFailOnError , getHttpSession , getReadOnly , getUseCache , getUserId , setCacheId , setCacheScope , setCacheTimeout , setCacheTimeout , setFailOnError , setFailOnError , setReadOnly , setReadOnly , setUseCache , setUseCache , toDictionary
|
Methods from javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
baseHref
protected String
baseHref
- The BASE HREF to use.
The content's identifier will be appended automatically to this.
blockSize
protected int blockSize
- The block size to read the data in.
doc
protected com.bea.p13n.content.document.Document
doc
- The document object to use.
encodeType
protected String
encodeType
- The encode type.
This can be "html" for html-encoding, "url" for url-encoding, or
anything else for no encoding.
endIndex
protected int endIndex
- The index at which we should stop reading.
startIndex
protected int startIndex
- The index at which we should start reading.
PrintDocTag
public PrintDocTag()
doStartTag() Method
public int doStartTag()
throws JspException
Called when the tag starts.
-
Overrides
-
TagSupport.doStartTag()
Exceptions
-
JspException
encode(String) Method
public String
encode(String
in)
Encode a string with the current encode type.
Related Topics
GetPropertyTag.encode(String, String)
getBaseHref() Method
public String
getBaseHref()
Get the value of PrintDocTag.baseHref
.
getBlockSize() Method
public String
getBlockSize()
Get the value of PrintDocTag.blockSize
as a String.
getEncode() Method
public String
getEncode()
Get the value of PrintDocTag.encodeType
.
getEnd() Method
public String
getEnd()
Get the value of PrintDocTag.endIndex
as a String.
getRequestBaseHref(HttpServletRequest) Method
public URL
getRequestBaseHref(HttpServletRequest
request)
throws MalformedURLException
Exceptions
-
MalformedURLException
getServerBaseHref(HttpServletRequest) Method
public URL
getServerBaseHref(HttpServletRequest
request)
throws MalformedURLException
Exceptions
-
MalformedURLException
getStart() Method
public String
getStart()
Get the value of PrintDocTag.startIndex
as a String.
print(String) Method
public void print(String
s)
println(String) Method
public void println(String
s)
release() Method
public void release()
Reset the tag to a default state.
-
Overrides
-
BaseTag.release()
setBaseHref(String) Method
public void setBaseHref(String
v)
Set the value of PrintDocTag.baseHref
.
setBlockSize(String) Method
public void setBlockSize(String
v)
Set the value of PrintDocTag.blockSize
.
setDoc(Content) Method
public void setDoc(Content
doc)
Set the document object to use.
setDocument(Content) Method
public void setDocument(Content
doc)
Set the document object to use.
setEncode(String) Method
public void setEncode(String
v)
Set the value of PrintDocTag.encodeType
.
setEnd(String) Method
public void setEnd(String
v)
Set the value of PrintDocTag.endIndex
.
setEnd(int) Method
public void setEnd(int endIndex)
Set the value of PrintDocTag.endIndex
.
setStart(String) Method
public void setStart(String
v)
Set the value of PrintDocTag.startIndex
.
setStart(int) Method
public void setStart(int startIndex)
Set the value of PrintDocTag.startIndex
.