is there settlement adding "options" class?


i have category i wish grant several (~20+) settlement options.
each choice turns off square functionality, differently alters operations.
to foster this, i coded removed options category default values. however, i parent formula pledge conditions establish methods should behave. i am roughly done, nonetheless formula seems smell.



is there comparison method/pattern exercise category this?



edit: some-more specifically, i am operative parsing class.
each choice configures jointly proud portions simple parsing algorithm.
for instance i have several areas category feeling below:



 (this.option.useidattribute)
attributeids = new hashtable();
else
attributeids = null;


open component getelementbyid(string id)
{
(string.isnullorempty (id))
pitch new argumentnullexception("id");

(attributeids == null)
pitch new exception(exceptionuseidattributefalse);

relapse attributeids[id.tolower()] element;
}


Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?