|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ORG.oclc.jassi.DataPair
The DataPair class defines a DataPair object as a parameter to a Verb taking the form name=value.
DataPairs
,
JavaPage
,
RequestManager
,
UserStateObject
,
Verb
Constructor Summary | |
DataPair()
Constructs a DataPair object with name = "" and value = "". |
|
DataPair(String n)
Constructs a DataPair object with name = n and value = "". |
|
DataPair(String n,
String v)
Constructs a DataPair object with name = n and value = v. |
Method Summary | |
boolean |
equals(String v)
Tests to see if the DataPair object value is equal to the input parameter String value. |
String |
get()
Returns the value of the DataPair object. |
boolean |
isEmpty()
Tests to see if the DataPair object value is empty. |
String |
name()
Returns the name in the DataPair object. |
void |
setValue(String v)
Sets the value of the existing DataPair object using the input parameter String value. |
String |
toString()
Creates a String representation of the DataPair object. |
String |
toString(String separator)
Creates a String representation of the DataPair object. |
String |
toString(String separator,
boolean encode)
Creates a String representation of the DataPair object using the input parameter String for the separator value. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public DataPair()
public DataPair(String n)
n
- the name for the DataPair object.public DataPair(String n, String v)
n
- the name for the DataPair object.v
- the value for the DataPair object.Method Detail |
public String toString()
public String toString(String separator)
public String toString(String separator, boolean encode)
public void setValue(String v)
v
- the value for the DataPair object.public String get()
public String name()
public boolean isEmpty()
public boolean equals(String v)
v
- the String value to test for equality.
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |