Reference+
Name
getIntContent()
Class
XML
Description
Returns the content of an element as an int. If there is no such content, either null or the provided default value is returned.
Syntax
- .getIntContent()
- .getIntContent(defaultValue)
Parameters
- defaultValue- (int)the default value of the attribute
Return
- int

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.