|
© 2005 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.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 String baseHref
The content's identifier will be appended automatically to this.
protected int blockSize
protected Document doc
protected String encodeType
This can be "html" for html-encoding, "url" for url-encoding, or anything else for no encoding.
protected int endIndex
protected int startIndex
| Constructor Detail |
public PrintDocTag()
| Method Detail |
public int doStartTag()
throws JspException
JspExceptionpublic String encode(String in)
GetPropertyTag.encode(java.lang.String, java.lang.String)public String getBaseHref()
baseHref.
public String getBlockSize()
blockSize as a String.
public String getEncode()
encodeType.
public String getEnd()
endIndex as a String.
public URL getRequestBaseHref(HttpServletRequest request)
throws MalformedURLException
MalformedURLException
public URL getServerBaseHref(HttpServletRequest request)
throws MalformedURLException
MalformedURLExceptionpublic String getStart()
startIndex as a String.
public void print(String s)
public void println(String s)
public void release()
release in interface Tagrelease in class BaseTagpublic void setBaseHref(String v)
baseHref.
public void setBlockSize(String v)
blockSize.
public void setDoc(Content doc)
public void setDocument(Content doc)
public void setEncode(String v)
encodeType.
public void setEnd(int endIndex)
endIndex.
public void setEnd(String v)
endIndex.
public void setStart(int startIndex)
startIndex.
public void setStart(String v)
startIndex.
|
© 2005 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||