org.apache.maven.jelly.tags.maven
Class SetTag

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.maven.jelly.tags.BaseTagSupport
          extended byorg.apache.maven.jelly.tags.maven.SetTag
All Implemented Interfaces:
Tag

public class SetTag
extends BaseTagSupport

A tag to set plugin values


Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
SetTag()
           
 
Method Summary
 void doTag(XMLOutput output)
           
 java.lang.String getPlugin()
           
 java.lang.String getProperty()
           
 java.lang.Object getValue()
           
 void setPlugin(java.lang.String pluginId)
           
 void setProperty(java.lang.String propertyName)
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class org.apache.maven.jelly.tags.BaseTagSupport
checkAttribute, getMavenContext
 
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

SetTag

public SetTag()
Method Detail

doTag

public void doTag(XMLOutput output)
           throws JellyTagException
Throws:
JellyTagException
See Also:
Tag.doTag(org.apache.commons.jelly.XMLOutput)

getPlugin

public java.lang.String getPlugin()
Returns:
the plugin to retrieve the property from.

getProperty

public java.lang.String getProperty()
Returns:
the name of the property being retrieved

getValue

public java.lang.Object getValue()
Returns:
the value to set

setPlugin

public void setPlugin(java.lang.String pluginId)
Parameters:
pluginId - the id of the plugin in which the property will be set

setProperty

public void setProperty(java.lang.String propertyName)
Parameters:
propertyName - the name of the property being set

setValue

public void setValue(java.lang.Object value)
Parameters:
value - the value to set


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.