protected Option buildOption ( String text , T value ) { Option option = new Option ( ) ; option . setText ( text ) ; option . setValue ( keyFactory . generateKey ( value ) ) ; return option ; }
Build the Option Element with provided params