|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgov.nist.core.GenericObject
gov.nist.core.NameValue
public class NameValue
Generic structure for storing name-value pairs.
コンストラクタの概要 | |
---|---|
NameValue()
|
|
NameValue(java.lang.String n,
java.lang.Object v)
|
メソッドの概要 | |
---|---|
java.lang.Object |
clone()
Make a clone of this object. |
java.lang.String |
encode()
Get the encoded representation of this namevalue object. |
boolean |
equals(java.lang.Object other)
Equality comparison predicate. |
java.lang.String |
getName()
|
java.lang.Object |
getValue()
|
boolean |
isValueQuoted()
Return true if the value is quoted in doublequotes. |
void |
setName(java.lang.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(java.lang.String sep)
Set the separator for the encoding method below. |
void |
setValue(java.lang.Object v)
Set the value member |
クラス gov.nist.core.GenericObject から継承されたメソッド |
---|
debugDump, debugDump, getClassFromName, getMatcher, isMySubclass, match, merge, replace, replace, replace, replace, setMatcher |
クラス java.lang.Object から継承されたメソッド |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public NameValue()
public NameValue(java.lang.String n, java.lang.Object v)
メソッドの詳細 |
---|
public void setSeparator(java.lang.String sep)
public void setQuotedValue()
public boolean isValueQuoted()
public java.lang.String getName()
public java.lang.Object getValue()
public void setName(java.lang.String n)
public void setValue(java.lang.Object v)
public java.lang.String encode()
GenericObject
内の encode
public java.lang.Object clone()
GenericObject
の記述:
GenericObject
内の clone
public boolean equals(java.lang.Object other)
GenericObject
内の equals
other
- is the other object to test against.
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |