com.martiansoftware.jsap.ant
Class DefaultValue

java.lang.Object
  extended bycom.martiansoftware.jsap.ant.DefaultValue

public class DefaultValue
extends Object

Provides a means of specifying default values for the jsap task containing <default> elements. For detailed information on using the jsap task, see the documentation for JSAPAntTask.

Author:
Marty Lamb
See Also:
JSAPAntTask

Constructor Summary
DefaultValue()
           
 
Method Summary
 void addText(String text)
          Sets the default value.
 String getValue()
          Returns the default value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultValue

public DefaultValue()
Method Detail

addText

public void addText(String text)
Sets the default value.

Parameters:
text - the default value.

getValue

public String getValue()
Returns the default value.

Returns:
the default value.


Copyright © 2002-2006, Martian Software, Inc.. All Rights Reserved.
For the latest version and documentation, please visit http://www.martiansoftware.com/jsap