|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--com.bea.p13n.content.servlets.jsp.taglib.BaseTag | +--com.bea.p13n.content.servlets.jsp.taglib.PrintDocTag
Tag extension to inline the bytes of a Document into the page context's output.
Field Summary | |
protected String |
baseHref
Deprecated. The BASE HREF to use. |
protected int |
blockSize
Deprecated. The block size to read the data in. |
protected Document |
doc
Deprecated. The document object to use. |
protected String |
encodeType
Deprecated. The encode type. |
protected int |
endIndex
Deprecated. The index at which we should stop reading. |
protected int |
startIndex
Deprecated. The index at which we should start reading. |
Fields inherited from class com.bea.p13n.content.servlets.jsp.taglib.BaseTag |
cacheId, cacheScope, cacheTimeout, failOnError, readOnly, useCache |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
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 |
Constructor Summary | |
PrintDocTag()
Deprecated. |
Method Summary | |
int |
doStartTag()
Deprecated. Called when the tag starts. |
String |
encode(String in)
Deprecated. Encode a string with the current encode type. |
String |
getBaseHref()
Deprecated. Get the value of baseHref . |
String |
getBlockSize()
Deprecated. Get the value of blockSize as a String. |
String |
getEncode()
Deprecated. Get the value of encodeType . |
String |
getEnd()
Deprecated. Get the value of endIndex as a String. |
URL |
getRequestBaseHref(HttpServletRequest request)
Deprecated. |
URL |
getServerBaseHref(HttpServletRequest request)
Deprecated. |
String |
getStart()
Deprecated. Get the value of startIndex as a String. |
void |
print(String s)
Deprecated. |
void |
println(String s)
Deprecated. |
void |
release()
Deprecated. Reset the tag to a default state. |
void |
setBaseHref(String v)
Deprecated. Set the value of baseHref . |
void |
setBlockSize(String v)
Deprecated. Set the value of blockSize . |
void |
setDoc(Content doc)
Deprecated. Set the document object to use. |
void |
setDocument(Content doc)
Deprecated. Set the document object to use. |
void |
setEncode(String v)
Deprecated. Set the value of encodeType . |
void |
setEnd(int endIndex)
Deprecated. Set the value of endIndex . |
void |
setEnd(String v)
Deprecated. Set the value of endIndex . |
void |
setStart(int startIndex)
Deprecated. Set the value of startIndex . |
void |
setStart(String v)
Deprecated. Set the value of startIndex . |
Methods inherited from class 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 inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Document doc
protected int blockSize
protected int startIndex
protected int endIndex
protected String encodeType
This can be "html" for html-encoding, "url" for url-encoding, or anything else for no encoding.
protected String baseHref
The content's identifier will be appended automatically to this.
Constructor Detail |
public PrintDocTag()
Method Detail |
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
public void release()
release
in interface Tag
release
in class BaseTag
public void setDocument(Content doc)
public void setDoc(Content doc)
public String getBlockSize()
blockSize
as a String.
public void setBlockSize(String v)
blockSize
.
public String getStart()
startIndex
as a String.
public void setStart(String v)
startIndex
.
public void setStart(int startIndex)
startIndex
.
public String getEnd()
endIndex
as a String.
public void setEnd(String v)
endIndex
.
public void setEnd(int endIndex)
endIndex
.
public String getEncode()
encodeType
.
public void setEncode(String v)
encodeType
.
public String getBaseHref()
baseHref
.
public void setBaseHref(String v)
baseHref
.
public String encode(String in)
GetPropertyTag.encode(java.lang.String, java.lang.String)
public void print(String s)
public void println(String s)
public URL getServerBaseHref(HttpServletRequest request) throws MalformedURLException
MalformedURLException
public URL getRequestBaseHref(HttpServletRequest request) throws MalformedURLException
MalformedURLException
|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |