public ElementWithOptions setOptions ( LinkedHashMap < String , String > options ) { this . optionGroups . clear ( ) ; for ( Map . Entry < String , String > entry : options . entrySet ( ) ) { this . addOption ( entry . getKey ( ) , entry . getValue ( ) ) ; } return this ; }
Replaces all options of this element .