public SelectedSymbolMask(SymbolMaskEnum level){
  if (maskOrderlist.isEmpty()) {
    maskOrderlist.add(SymbolMaskEnum.E_STYLED_LAYER);
    maskOrderlist.add(SymbolMaskEnum.E_STYLE);
    maskOrderlist.add(SymbolMaskEnum.E_FEATURE_TYPE_STYLE);
    maskOrderlist.add(SymbolMaskEnum.E_RULE);
    maskOrderlist.add(SymbolMaskEnum.E_SYMBOLIZER);
  }
  for (  SymbolMaskEnum key : maskOrderlist) {
    maskList.add(key);
    if (key == level) {
      break;
    }
  }
}

public SelectedSymbolMask ( SymbolMaskEnum level ) { if ( maskOrderlist . isEmpty ( ) ) { maskOrderlist . add ( SymbolMaskEnum . E_STYLED_LAYER ) ; maskOrderlist . add ( SymbolMaskEnum . E_STYLE ) ; maskOrderlist . add ( SymbolMaskEnum . E_FEATURE_TYPE_STYLE ) ; maskOrderlist . add ( SymbolMaskEnum . E_RULE ) ; maskOrderlist . add ( SymbolMaskEnum . E_SYMBOLIZER ) ; } for ( SymbolMaskEnum key : maskOrderlist ) { maskList . add ( key ) ; if ( key == level ) { break ; } } }
instantiates a new selected symbol mask .
