org.apache.maven.jelly.tags.maven
Class MakeAbsolutePathTag

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

public class MakeAbsolutePathTag
extends BaseTagSupport

Jelly tag to convert a relative path into an absolute path by prepending the basedir if it is relative.

Author:
Brett Porter brett@apache.org

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
MakeAbsolutePathTag()
           
 
Method Summary
 void doTag(XMLOutput output)
           
 void setBasedir(java.io.File basedir)
          Set the base directory.
 void setPath(java.lang.String path)
          Set the path.
 void setVar(java.lang.String var)
          Set the result variable.
 
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

MakeAbsolutePathTag

public MakeAbsolutePathTag()
Method Detail

setBasedir

public void setBasedir(java.io.File basedir)
Set the base directory.

Parameters:
basedir - the base directory.

setPath

public void setPath(java.lang.String path)
Set the path.

Parameters:
path - the path.

setVar

public void setVar(java.lang.String var)
Set the result variable.

Parameters:
var - the result variable name.

doTag

public void doTag(XMLOutput output)
           throws MissingAttributeException,
                  JellyTagException
Throws:
MissingAttributeException
JellyTagException


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