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, setPageContext
public RequestResourceTag()
public void initTag()
initTag
in class WikiTagBase
public int doWikiStartTag() throws Exception
doWikiStartTag
in class WikiTagBase
Exception
public String getResource()
public void setResource(String r)
r
- Resource identifier.public void setType(String type)
type
- The type to be set.TemplateManager
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.