|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdiameter.client.impl.helpers.EmptyConfiguration
public class EmptyConfiguration
This class allow create configuration class for stack
| Field Summary | |
|---|---|
protected org.jdiameter.api.Configuration[] |
EMPTY_ARRAY
|
| Constructor Summary | |
|---|---|
protected |
EmptyConfiguration()
Create instance of class. |
| Method Summary | |
|---|---|
protected AppConfiguration |
add(int e,
org.jdiameter.api.Configuration... value)
|
AppConfiguration |
add(Ordinal e,
org.jdiameter.api.Configuration... value)
Add elements to configuration |
AppConfiguration |
add(Ordinal e,
java.lang.Object value)
|
boolean |
getBooleanValue(int i,
boolean b)
|
byte[] |
getByteArrayValue(int i,
byte[] bytes)
|
byte |
getByteValue(int i,
byte b)
|
org.jdiameter.api.Configuration[] |
getChildren(int i)
|
double |
getDoubleValue(int i,
double v)
|
static AppConfiguration |
getInstance()
Create instance of class with system default parameters |
int |
getIntValue(int i,
int i1)
|
long |
getLongValue(int i,
long l)
|
java.lang.String |
getStringValue(int i,
java.lang.String defValue)
|
protected java.lang.Object |
getValue(int key)
|
boolean |
isAttributeExist(int i)
|
protected void |
putValue(int key,
java.lang.Object value)
|
protected void |
removeVelue(int... keys)
|
java.lang.String |
toString()
Return string representation of configuration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final org.jdiameter.api.Configuration[] EMPTY_ARRAY
| Constructor Detail |
|---|
protected EmptyConfiguration()
| Method Detail |
|---|
public static AppConfiguration getInstance()
public AppConfiguration add(Ordinal e,
org.jdiameter.api.Configuration... value)
AppConfiguration
add in interface AppConfiguratione - elements identifiervalue - array of elements
class
public AppConfiguration add(Ordinal e,
java.lang.Object value)
add in interface AppConfiguratione - element identifiervalue - parameter value
class
protected void putValue(int key,
java.lang.Object value)
protected java.lang.Object getValue(int key)
protected void removeVelue(int... keys)
protected AppConfiguration add(int e,
org.jdiameter.api.Configuration... value)
public byte getByteValue(int i,
byte b)
getByteValue in interface org.jdiameter.api.Configurationclass
public int getIntValue(int i,
int i1)
getIntValue in interface org.jdiameter.api.Configurationclass
public long getLongValue(int i,
long l)
getLongValue in interface org.jdiameter.api.Configurationclass
public double getDoubleValue(int i,
double v)
getDoubleValue in interface org.jdiameter.api.Configurationclass
public byte[] getByteArrayValue(int i,
byte[] bytes)
getByteArrayValue in interface org.jdiameter.api.Configurationclass
public boolean getBooleanValue(int i,
boolean b)
getBooleanValue in interface org.jdiameter.api.Configurationclass
public java.lang.String getStringValue(int i,
java.lang.String defValue)
getStringValue in interface org.jdiameter.api.Configurationclasspublic boolean isAttributeExist(int i)
isAttributeExist in interface org.jdiameter.api.Configurationclasspublic org.jdiameter.api.Configuration[] getChildren(int i)
getChildren in interface org.jdiameter.api.Configurationclasspublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||