public class XmlObjectConfigurationReader
Support class for reading XmlObject based configurations.
Constructor and description |
---|
XmlObjectConfigurationReader
(XmlObject config) |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.math.BigDecimal |
readBigDecimal(java.lang.String name, java.math.BigDecimal def) Reads BigDecimal value from a configuration |
|
public boolean |
readBoolean(java.lang.String name, boolean def) Reads Boolean value from a configuration |
|
public java.lang.Boolean[] |
readBooleanValues(java.lang.String name) Reads Boolean values from a configuration |
|
public float |
readFloat(java.lang.String name, float def) Reads float value from a configuration |
|
public int |
readInt(java.lang.String name, int def) Reads int value from a configuration |
|
public long |
readLong(java.lang.String name, long def) Reads long value from a configuration |
|
public java.lang.String |
readString(java.lang.String name, java.lang.String def) Reads string value from a configuration |
|
public java.lang.String[] |
readStrings(java.lang.String name) Reads all string values from a configuration |
|
public 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, int), java.lang.Object#wait(), java.lang.Object#wait(long), 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.57.0