public class RequestResourceTag extends WikiTagBase
TemplateManager,
Serialized Formm_wikiContext| Constructor and Description |
|---|
RequestResourceTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doWikiStartTag()
This method is allowed to do pretty much whatever he wants.
|
java.lang.String |
getResource()
Returns the resource that is to be added.
|
java.lang.String |
getType()
Get the resource type.
|
void |
initTag()
This method is called when the tag is encountered within a new request, but before the setXXX() methods are called.
|
void |
setResource(java.lang.String r)
Sets the resource name to be added.
|
void |
setType(java.lang.String type)
Set the type of the resource to be included.
|
doCatch, doEndTag, doFinally, doStartTag, setId, setPageContextpublic RequestResourceTag()
public void initTag()
initTag in class WikiTagBasepublic int doWikiStartTag() throws java.lang.Exception
doWikiStartTag in class WikiTagBasejava.lang.Exceptionpublic java.lang.String getResource()
public void setResource(java.lang.String r)
r - Resource identifier.public java.lang.String getType()
public void setType(java.lang.String type)
type - The type to be set.TemplateManagerCopyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.