org.kohsuke.stapler.jelly
Class StructuredMessageFormatTag
java.lang.Object
org.apache.commons.jelly.TagSupport
org.kohsuke.stapler.jelly.StructuredMessageFormatTag
- All Implemented Interfaces:
- org.apache.commons.jelly.LocationAware, org.apache.commons.jelly.Tag
public class StructuredMessageFormatTag
- extends org.apache.commons.jelly.TagSupport
- implements org.apache.commons.jelly.LocationAware
Format message from a resource, but by using a nested children as arguments, instead of just using expressions.
- Author:
- Kohsuke Kawaguchi
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, parent |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StructuredMessageFormatTag
public StructuredMessageFormatTag()
setKey
@Required
public void setKey(java.lang.String resourceKey)
addArgument
public void addArgument(java.lang.Object o)
doTag
public void doTag(org.apache.commons.jelly.XMLOutput output)
throws org.apache.commons.jelly.JellyTagException
- Specified by:
doTag
in interface org.apache.commons.jelly.Tag
- Throws:
org.apache.commons.jelly.JellyTagException
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber
in interface org.apache.commons.jelly.LocationAware
setLineNumber
public void setLineNumber(int lineNumber)
- Specified by:
setLineNumber
in interface org.apache.commons.jelly.LocationAware
getColumnNumber
public int getColumnNumber()
- Specified by:
getColumnNumber
in interface org.apache.commons.jelly.LocationAware
setColumnNumber
public void setColumnNumber(int columnNumber)
- Specified by:
setColumnNumber
in interface org.apache.commons.jelly.LocationAware
getFileName
public java.lang.String getFileName()
- Specified by:
getFileName
in interface org.apache.commons.jelly.LocationAware
setFileName
public void setFileName(java.lang.String fileName)
- Specified by:
setFileName
in interface org.apache.commons.jelly.LocationAware
getElementName
public java.lang.String getElementName()
- Specified by:
getElementName
in interface org.apache.commons.jelly.LocationAware
setElementName
public void setElementName(java.lang.String elementName)
- Specified by:
setElementName
in interface org.apache.commons.jelly.LocationAware
getRequest
protected javax.servlet.http.HttpServletRequest getRequest()
getResponse
protected javax.servlet.http.HttpServletResponse getResponse()
getServletContext
protected javax.servlet.ServletContext getServletContext()
Copyright © 2012. All Rights Reserved.