public abstract class WikiLinkTag extends WikiTagBase
Extend from this class if you need the following attributes.
Attributes
Modifier and Type | Field and Description |
---|---|
static int |
ANCHOR |
protected int |
m_format |
protected String |
m_pageName |
protected String |
m_template |
static int |
URL |
ATTR_CONTEXT, m_wikiContext
Constructor and Description |
---|
WikiLinkTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
String |
getPage() |
String |
getTemplate() |
void |
initTag()
This method is called when the tag is encountered within a new request,
but before the setXXX() methods are called.
|
void |
setFormat(String mode) |
void |
setPage(String page) |
void |
setTemplate(String arg) |
doCatch, doFinally, doStartTag, doWikiStartTag, setId, setPageContext
public static final int ANCHOR
public static final int URL
protected String m_pageName
protected int m_format
protected String m_template
public WikiLinkTag()
public void initTag()
WikiTagBase
initTag
in class WikiTagBase
public String getTemplate()
public void setTemplate(String arg)
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class WikiTagBase
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.