close

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