Function Name: getVal
Class: com.newgen.dmsapi.DMSXmlResponse
Description: This function is used retrieve the value corresponding to the given tag sent in the Output Xml.
Prototype:
public String getVal |
( |
|
|
|
String tag |
|
) |
|
Name |
Description |
Valid Values |
Tag |
Name of the tag whose value is to be returned. |
|
String type of value of the tag. If no value is returned for the specified tag in the Output Xml or if the tag does not exists, then the returned value is an empty String.
Function Name: createList
Class: com.newgen.dmsapi.DMSXmlResponse
Description: This function is used to generate the List to parse List Type OutputXml. API of DMSXmlList can then be used to parse each Object in the List.
Prototype:
public DMSXmlList createList |
( |
|
|
|
String listStartTag, String elementTag |
|
) |
|
Name |
Description |
Valid Values |
listStartTag |
Name of the Parent tag. |
|
elementTag |
Name of the child tag for which, the List has to be generated. |
|
The output is an object of DMSXmlList.