org.apache.maven.jelly.tags.maven
Class AddPathTag

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

public class AddPathTag
extends BaseTagSupport

This class takes a given path using an id and appends another path (using refid) to it.

Version:
$Id: AddPathTag.java 517014 2007-03-11 21:15:50Z ltheussl $
Author:
Bob McWhirter

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
AddPathTag()
           
 
Method Summary
 void doTag(XMLOutput output)
          Perform the tag processing.
 java.lang.String getId()
          Getter for the id property
 java.lang.String getRefid()
          Getter for the refid property
 void setId(java.lang.String pathId)
          Setter for the id property
 void setRefid(java.lang.String pathToAppendId)
          Setter for the refid property
 
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

AddPathTag

public AddPathTag()
Method Detail

doTag

public void doTag(XMLOutput output)
           throws JellyTagException
Perform the tag processing. Look up the path by id and append the other path to it.

Parameters:
output - used to write output
Throws:
JellyTagException - when anything goes wrong.

setId

public void setId(java.lang.String pathId)
Setter for the id property

Parameters:
pathId - the reference id of the path in the ant project that will be appended to

getId

public java.lang.String getId()
Getter for the id property

Returns:
the reference id of the path in the ant project that will be appended to

setRefid

public void setRefid(java.lang.String pathToAppendId)
Setter for the refid property

Parameters:
pathToAppendId - the reference id of the path in the ant project that will be appended

getRefid

public java.lang.String getRefid()
Getter for the refid property

Returns:
the reference id of the path in the ant project that will be appended


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