protected LocationHandler(Location location,Option... options){
  this.location=location;
  this.options=options.length == 0 ? EnumSet.noneOf(Option.class) : EnumSet.copyOf(Arrays.asList(options));
}

protected LocationHandler ( Location location , Option ... options ) { this . location = location ; this . options = options . length == 0 ? EnumSet . noneOf ( Option . class ) : EnumSet . copyOf ( Arrays . asList ( options ) ) ; }
create a handler . the location and options provide a way to map from a location or an option to the corresponding handler .
