code: public Integer getSessionTimeout()
     {
        if (childNode.getTextValueForPatternName("session-timeout") != null && !childNode.getTextValueForPatternName("session-timeout").equals("null")) {
           return Integer.valueOf(childNode.getTextValueForPatternName("session-timeout"));
        }
        return null;
     }
docs: Returns the <code>session-timeout</code> element
  @return the node defined for the element <code>session-timeout</code>