org.kohsuke.stapler.jelly
Class StructuredMessageFormatTag

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by 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

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, parent
 
Constructor Summary
StructuredMessageFormatTag()
           
 
Method Summary
 void addArgument(java.lang.Object o)
           
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 int getColumnNumber()
           
 java.lang.String getElementName()
           
 java.lang.String getFileName()
           
 int getLineNumber()
           
protected  javax.servlet.http.HttpServletRequest getRequest()
           
protected  javax.servlet.http.HttpServletResponse getResponse()
           
protected  javax.servlet.ServletContext getServletContext()
           
 void setColumnNumber(int columnNumber)
           
 void setElementName(java.lang.String elementName)
           
 void setFileName(java.lang.String fileName)
           
 void setKey(java.lang.String resourceKey)
           
 void setLineNumber(int lineNumber)
           
 
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
 

Constructor Detail

StructuredMessageFormatTag

public StructuredMessageFormatTag()
Method Detail

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 © 2011. All Rights Reserved.