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