|
© 2002 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 | +--javax.servlet.jsp.tagext.BodyTagSupport | +--com.bea.p13n.taglib.util.UriContentTag
Implements the methods necessary to support the uriContent
tag.
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id,
pageContext |
Constructor Summary | |
UriContentTag()
|
Method Summary | |
int |
doAfterBody()
Pushes output to the JSP page from the buffered BodyContent . |
int |
doStartTag()
Evaluates the requested URI and initializes the pageContext
scripting variable with the retrieved content. |
java.lang.String |
getCharset()
Get the charset. |
static java.lang.String |
getContentType(java.net.URLConnection uc)
This method uses an existing API call in the document EJB stuff. |
java.lang.String |
getId()
Get the id. |
java.lang.String |
getUri()
Get the URI. |
protected java.lang.String |
retrieveURI(java.lang.String aURI)
Makes an Http connection and fetches the requested URI. |
void |
setCharset(java.lang.String theCharset)
Set the charset. |
void |
setId(java.lang.String theId)
Set the id. |
void |
setUri(java.lang.String aUri)
Set the URI. |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doEndTag,
doInitBody,
getBodyContent,
getPreviousOut,
release,
setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass,
getParent,
getValue,
getValues,
removeValue,
setPageContext,
setParent,
setValue |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public UriContentTag()
Method Detail |
public void setId(java.lang.String theId)
public java.lang.String getId()
public void setUri(java.lang.String aUri)
public java.lang.String getUri()
public void setCharset(java.lang.String theCharset)
public java.lang.String getCharset()
public int doStartTag() throws javax.servlet.jsp.JspException
pageContext
scripting variable with the retrieved content.
id
tag attribute has not been specified.public int doAfterBody() throws javax.servlet.jsp.JspException
BodyContent
.
protected java.lang.String retrieveURI(java.lang.String aURI) throws java.io.IOException, java.net.MalformedURLException
aURI
- the URI formatted name of the page to retrievepublic static java.lang.String getContentType(java.net.URLConnection uc) throws java.io.IOException
META HTTP-EQUIV='...' CONTENT='text/html;charset=jp'
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |