|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.maven.jelly.tags.BaseTagSupport
org.apache.maven.jelly.tags.maven.MakeRelativePathTag
public class MakeRelativePathTag
Jelly tag to convert an absolute path into a relative path by removing the basedir.
Field Summary |
---|
Fields inherited from class org.apache.commons.jelly.TagSupport |
---|
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
---|---|
MakeRelativePathTag()
|
Method Summary | |
---|---|
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
void |
setBasedir(java.io.File basedir)
Set the base directory. |
void |
setPath(java.lang.String path)
Set the path. |
void |
setSeparator(java.lang.String separator)
Set the path separator to use. |
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 |
---|
public MakeRelativePathTag()
Method Detail |
---|
public void setBasedir(java.io.File basedir)
basedir
- the base directory.public void setPath(java.lang.String path)
path
- the path.public void setSeparator(java.lang.String separator)
separator
- the separator.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |