|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.nist.core.GenericObject | +--gov.nist.core.NameValue
Generic structure for storing name-value pairs.
Constructor Summary | |
NameValue()
|
|
NameValue(String n,
Object v)
|
Method Summary | |
Object |
clone()
Make a clone of this object. |
String |
encode()
Get the encoded representation of this namevalue object. |
boolean |
equals(Object other)
Equality comparison predicate. |
String |
getName()
|
Object |
getValue()
|
boolean |
isValueQuoted()
Return true if the value is quoted in doublequotes. |
void |
setName(String n)
Set the name member |
void |
setQuotedValue()
A flag that indicates that doublequotes should be put around the value when encoded (for example name=value when value is doublequoted). |
void |
setSeparator(String sep)
Set the separator for the encoding method below. |
void |
setValue(Object v)
Set the value member |
Methods inherited from class gov.nist.core.GenericObject |
debugDump, debugDump, getClassFromName, getMatcher, isMySubclass, match, merge, replace, replace, replace, replace, setMatcher |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NameValue()
public NameValue(String n, Object v)
Method Detail |
public void setSeparator(String sep)
public void setQuotedValue()
public boolean isValueQuoted()
public String getName()
public Object getValue()
public void setName(String n)
public void setValue(Object v)
public String encode()
encode
in class GenericObject
public Object clone()
GenericObject
clone
in class GenericObject
public boolean equals(Object other)
equals
in class GenericObject
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |