This project has retired. For details please refer to its
Attic page .
JetspeedL10NTag (Jetspeed 1 Enterprise Portal 1.6 API)
org.apache.jetspeed.services.jsp.tags
Class JetspeedL10NTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.jetspeed.services.jsp.tags.JetspeedL10NTag
All Implemented Interfaces: javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
public class JetspeedL10NTag extends javax.servlet.jsp.tagext.TagSupport
Supporting class for the localization (l10n) tag.
Returns a localized text for string specified in the "key" parameter.
Use "alt" parameter to specify a default value if "key" is not translated.
Version:
$Id: JetspeedL10NTag.java,v 1.6 2004/02/23 03:59:40 jford Exp $
Author:
Mark Orciuch
See Also: Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Method Summary
int
doStartTag ()
Method called when the tag is encountered to send attributes to the
output stream
java.lang.String
getAlt ()
java.lang.String
getKey ()
void
setAlt (java.lang.String value)
void
setKey (java.lang.String value)
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
JetspeedL10NTag
public JetspeedL10NTag ()
setKey
public void setKey (java.lang.String value)
getKey
public java.lang.String getKey ()
setAlt
public void setAlt (java.lang.String value)
getAlt
public java.lang.String getAlt ()
doStartTag
public int doStartTag ()
throws javax.servlet.jsp.JspException
Method called when the tag is encountered to send attributes to the
output stream
Returns: SKIP_BODY, as it is intended to be a single tag.
Throws:
javax.servlet.jsp.JspException
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.