code: public Integer getLength()
     {
        if(childNode.getAttribute("length") != null && !childNode.getAttribute("length").equals("null"))
        {
           return Integer.valueOf(childNode.getAttribute("length"));
        }
        return null;
     }
docs: Returns the <code>length</code> attribute
  @return the value defined for the attribute <code>length</code>