Support class for reading XmlObject based configurations.
| Constructor and description |
|---|
XmlObjectConfigurationReader
(XmlObject config) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.math.BigDecimal |
readBigDecimal(java.lang.String name, java.math.BigDecimal def)Reads BigDecimal value from a configuration |
|
boolean |
readBoolean(java.lang.String name, boolean def)Reads Boolean value from a configuration |
|
java.lang.Boolean[] |
readBooleanValues(java.lang.String name)Reads Boolean values from a configuration |
|
float |
readFloat(java.lang.String name, float def)Reads float value from a configuration |
|
int |
readInt(java.lang.String name, int def)Reads int value from a configuration |
|
long |
readLong(java.lang.String name, long def)Reads long value from a configuration |
|
java.lang.String |
readString(java.lang.String name, java.lang.String def)Reads string value from a configuration |
|
java.lang.String[] |
readStrings(java.lang.String name)Reads all string values from a configuration |
|
void |
readStrings(java.lang.String name, java.util.Collection collection)Reads all string values from a configuration to collection |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Reads BigDecimal value from a configuration
name - the name of a parameterdef - default value if a parameter with specified name is not foundReads Boolean value from a configuration
name - the name of a parameterdef - default value if a parameter with specified name is not foundReads Boolean values from a configuration
name - the name of a parameterReads float value from a configuration
name - the name of a parameterdef - default value if a parameter with specified name is not foundReads int value from a configuration
name - the name of a parameterdef - default value if a parameter with specified name is not foundReads long value from a configuration
name - the name of a parameterdef - default value if a parameter with specified name is not foundReads string value from a configuration
name - the name of a parameterdef - default value if a parameter with specified name is not foundReads all string values from a configuration
name - the name of a parameterReads all string values from a configuration to collection
name - the name of a parametercollection - the collection to store the valuesReadyAPI functional (soapui) SDK 3.3.1