public class RootRelativePathTag extends BaseTagSupport
Constructor and Description |
---|
RootRelativePathTag() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
computePath() |
void |
doTag(org.apache.commons.jelly.XMLOutput output) |
void |
setPath(java.lang.String path)
Set the path.
|
void |
setRootdir(java.io.File rootdir)
Set the root directory.
|
void |
setVar(java.lang.String var)
Set the result variable.
|
checkAttribute, getMavenContext
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
public void setRootdir(java.io.File rootdir)
rootdir
- the root directorypublic void setPath(java.lang.String path)
path
- the path.public void setVar(java.lang.String var)
var
- the result variable name.public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.MissingAttributeException, org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException
Tag.doTag(XMLOutput)
public java.lang.String computePath() throws java.io.IOException
java.io.IOException
- on errorCopyright © 2001-2013 Apache Software Foundation. All Rights Reserved.