public void assignDefaults ( Map < String , CSSProperty > properties , Map < String , Term < ? > > values ) { SupportedCSS css = CSSFactory . getSupportedCSS ( ) ; for ( String name : names ) { CSSProperty dp = css . getDefaultProperty ( name ) ; if ( dp != null ) properties . put ( name , dp ) ; Term < ? > dv = css . getDefaultValue ( name ) ; if ( dv != null ) values . put ( name , dv ) ; } }
Assigns the default values to all the properties .