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