org.apache.maven.werkz.jelly
Class WerkzTagSupport

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.maven.werkz.jelly.WerkzTagSupport
All Implemented Interfaces:
Tag
Direct Known Subclasses:
AttainGoalTag, AttainTag, CallbackTagSupport, GoalTag, MavenAttainGoalTag, ProjectTag, UseGoalsTag

public abstract class WerkzTagSupport
extends TagSupport

The abstract base class for Werkz child tags

Version:
$Revision: 1.2.2.1 $
Author:
James Strachan

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
WerkzTagSupport()
           
WerkzTagSupport(boolean trim)
           
 
Method Summary
protected  Goal getGoal(java.lang.String name)
           
protected  WerkzProject getProject()
           
 
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
 
Methods inherited from interface org.apache.commons.jelly.Tag
doTag
 

Constructor Detail

WerkzTagSupport

public WerkzTagSupport(boolean trim)

WerkzTagSupport

public WerkzTagSupport()
Method Detail

getGoal

protected Goal getGoal(java.lang.String name)
                throws JellyTagException
Returns:
the goal of the given name or throws a JellyExceptoin if the goal could not be found
Throws:
JellyTagException

getProject

protected WerkzProject getProject()
Returns:
the goal manager instance


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