private static Element scaleContentScore ( Element node , float scale ) { int contentScore = getContentScore ( node ) ; contentScore *= scale ; node . attr ( CONTENT_SCORE , Integer . toString ( contentScore ) ) ; return node ; }
Scales the content score for an Element with a factor of scale .