Package com.martiansoftware.jsap.ant
Class ParserProperty
java.lang.Object
com.martiansoftware.jsap.ant.ParserProperty
public class ParserProperty
extends java.lang.Object
Stores/provides a single name/value pair for a PropertyStringParser
For detailed information on using the jsap task, see the documentation for
JSAPAntTask.
- Author:
- Marty Lamb
- See Also:
JSAPAntTask,PropertyStringParser
-
Constructor Summary
Constructors Constructor Description ParserProperty() -
Method Summary
Modifier and Type Method Description java.lang.StringgetName()Returns the name of this property.java.lang.StringgetValue()Returns the value of this property.voidsetName(java.lang.String name)Sets the name of this property.voidsetValue(java.lang.String value)Sets the value of this property.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ParserProperty
public ParserProperty()
-
-
Method Details
-
setName
public void setName(java.lang.String name)Sets the name of this property.- Parameters:
name- the name of this property.
-
getName
public java.lang.String getName()Returns the name of this property.- Returns:
- the name of this property.
-
setValue
public void setValue(java.lang.String value)Sets the value of this property.- Parameters:
value- the value of this property.
-
getValue
public java.lang.String getValue()Returns the value of this property.- Returns:
- the value of this property.
-