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