eteg.sinon.core
Class Parameter

java.lang.Object
  extended by eteg.sinon.core.Parameter

public class Parameter
extends java.lang.Object

Class that represents a HTTP parameter.

 $Header: /cvsroot/sinon/sinon/src/java/eteg/sinon/core/Parameter.java,v 1.2 2005/06/21 14:25:07 thiagohp Exp $
 

Since:
26/09/2004.
Version:
$Revision: 1.2 $
Author:
Thiago H. de Paula Figueiredo (last modification by $Author: thiagohp $)

Field Summary
static java.lang.String DEFAULT_ENCODING
          Default value of the encoding property.
 
Constructor Summary
Parameter()
          Constructor without parameters.
 
Method Summary
 java.lang.String getEncoding()
          Returns the value of the encoding property.
 java.lang.String getName()
          Returns the value of the name property.
 java.lang.String getValue()
          Returns the value of the value property.
 void setEncoding(java.lang.String encoding)
          Sets the value of the encoding property.
 void setName(java.lang.String name)
          Sets the value of the name property.
 void setValue(java.lang.String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ENCODING

public static final java.lang.String DEFAULT_ENCODING
Default value of the encoding property. Value: ISo-8859-1.

See Also:
Constant Field Values
Constructor Detail

Parameter

public Parameter()
Constructor without parameters.

Method Detail

getName

public java.lang.String getName()
Returns the value of the name property.

Returns:
a String.

setName

public void setName(java.lang.String name)
Sets the value of the name property.

Parameters:
name - the new name value.

getValue

public java.lang.String getValue()
Returns the value of the value property.

Returns:
a String.

setValue

public void setValue(java.lang.String value)
Sets the value of the value property.

Parameters:
value - the new value value.

getEncoding

public java.lang.String getEncoding()
Returns the value of the encoding property.

Returns:
a String.

setEncoding

public void setEncoding(java.lang.String encoding)
Sets the value of the encoding property.

Parameters:
encoding - the new encoding value.


Copyright © 2004-2005 ETEG Internet Ltda.. All Rights Reserved.