|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--com.beasys.commerce.content.tags.BaseTag | +--com.beasys.commerce.content.tags.PrintDocTag
Tag extension to inline the bytes of a Document into the page context's output.
Field Summary | |
protected int |
blockSize
The block size to read the data in. |
protected Document |
doc
The document object to use. |
protected java.lang.String |
encodeType
The encode type. |
protected int |
endIndex
The index at which we should stop reading. |
protected int |
startIndex
The index at which we should start reading. |
Fields inherited from class com.beasys.commerce.content.tags.BaseTag |
cacheId,
cacheScope,
cacheTimeout,
failOnError,
readOnly,
useCache |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id,
pageContext |
Constructor Summary | |
PrintDocTag()
|
Method Summary | |
int |
doStartTag()
Called when the tag starts. |
java.lang.String |
encode(java.lang.String in)
Encode a string with the current encode type. |
java.lang.String |
getBlockSize()
Get the value of blockSize as a String. |
java.lang.String |
getEncode()
Get the value of encodeType . |
java.lang.String |
getEnd()
Get the value of endIndex as a String. |
java.lang.String |
getStart()
Get the value of startIndex as a String. |
void |
release()
Reset the tag to a default state. |
void |
setBlockSize(java.lang.String v)
Set the value of blockSize . |
void |
setDoc(Content doc)
Set the document object to use. |
void |
setDocument(Content doc)
Set the document object to use. |
void |
setEncode(java.lang.String v)
Set the value of encodeType . |
void |
setEnd(int endIndex)
Set the value of endIndex . |
void |
setEnd(java.lang.String v)
Set the value of endIndex . |
void |
setStart(int startIndex)
Set the value of startIndex . |
void |
setStart(java.lang.String v)
Set the value of startIndex . |
Methods inherited from class com.beasys.commerce.content.tags.BaseTag |
getCacheId,
getCacheScope,
getCacheTimeout,
getFailOnError,
getHttpSession,
getReadOnly,
getUseCache,
setCacheId,
setCacheScope,
setCacheTimeout,
setCacheTimeout,
setFailOnError,
setFailOnError,
setReadOnly,
setReadOnly,
setUseCache,
setUseCache |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
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 java.lang.String encodeType
This can be "html" for html-encoding, "url" for url-encoding, or anything else for no encoding.
Constructor Detail |
public PrintDocTag()
Method Detail |
public int doStartTag() throws javax.servlet.jsp.JspException
public void release()
public void setDocument(Content doc)
public void setDoc(Content doc)
public java.lang.String getBlockSize()
blockSize
as a String.public void setBlockSize(java.lang.String v)
blockSize
.public java.lang.String getStart()
startIndex
as a String.public void setStart(java.lang.String v)
startIndex
.public void setStart(int startIndex)
startIndex
.public java.lang.String getEnd()
endIndex
as a String.public void setEnd(java.lang.String v)
endIndex
.public void setEnd(int endIndex)
endIndex
.public java.lang.String getEncode()
encodeType
.public void setEncode(java.lang.String v)
encodeType
.public java.lang.String encode(java.lang.String in)
PrintPropertyTag.encode(java.lang.String, java.lang.String)
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |