
public class RequestResourceTag extends WikiTagBase
TemplateManager,
Serialized FormATTR_CONTEXT, m_wikiContext| Constructor and Description |
|---|
RequestResourceTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doWikiStartTag()
This method is allowed to do pretty much whatever he wants.
|
String |
getResource()
Returns the resource that is to be added.
|
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(String r)
Sets the resource name to be added.
|
void |
setType(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 Exception
doWikiStartTag in class WikiTagBaseExceptionpublic String getResource()
public void setResource(String r)
r - Resource identifier.public void setType(String type)
type - The type to be set.TemplateManagerCopyright © 2001-2018 The Apache Software Foundation. All rights reserved.