org.apache.maven.jelly.tags
Class BaseTagSupport

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.maven.jelly.tags.BaseTagSupport
All Implemented Interfaces:
Tag
Direct Known Subclasses:
AddPathTag, CopyResources, GetTag, InstallPluginTag, MakeAbsolutePathTag, MakeRelativePathTag, MavenTag, ParamCheck, PluginVarTag, PomTag, PropertyTag, RootRelativePathTag, SetTag, SnapshotSignature, UninstallPluginTag, UserCheck

public abstract class BaseTagSupport
extends TagSupport

A class for Maven Jelly tags


Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
BaseTagSupport()
          Create an instance
 
Method Summary
protected  void checkAttribute(java.lang.Object attribute, java.lang.String message)
          Check a given 'attribute' has a value and throw the corresponding exception if it doesn't
 MavenJellyContext 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
 
Methods inherited from interface org.apache.commons.jelly.Tag
doTag
 

Constructor Detail

BaseTagSupport

public BaseTagSupport()
Create an instance

Method Detail

getMavenContext

public MavenJellyContext getMavenContext()
Returns:
the maven context (used to retrieve variables)

checkAttribute

protected void checkAttribute(java.lang.Object attribute,
                              java.lang.String message)
                       throws MissingAttributeException
Check a given 'attribute' has a value and throw the corresponding exception if it doesn't

Parameters:
attribute - the attribute to check
message - the message to pass in with the exception
Throws:
MissingAttributeException - when the attribute is null


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