org.apache.maven.jelly.tags.maven
Class PomTag

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

public class PomTag
extends BaseTagSupport

MavenSession Jelly tag that creates a POM instance.

Version:
$Id: PomTag.java,v 1.14.4.2 2004/03/01 22:36:37 evenisse Exp $
Author:
Jason van Zyl

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
PomTag()
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
          Perform functionality provided by the tag
 void setProjectDescriptor(java.io.File projectDescriptor)
          Set MavenSession project descriptor.
 void setVar(java.lang.String var)
          Set var name for the POM.
 
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

PomTag

public PomTag()
Method Detail

setProjectDescriptor

public void setProjectDescriptor(java.io.File projectDescriptor)
Set MavenSession project descriptor.

Parameters:
projectDescriptor - the file name of the maven project descriptor

setVar

public void setVar(java.lang.String var)
Set var name for the POM.

Parameters:
var - Variable name for the pom.

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.MissingAttributeException,
                  org.apache.commons.jelly.JellyTagException
Perform functionality provided by the tag

Parameters:
output - the place to write output
Throws:
org.apache.commons.jelly.JellyTagException - when the projectDescriptor attribute is missing, or another error occurs
org.apache.commons.jelly.MissingAttributeException


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