public Object visit(Id filter,Object extraData){
  final List<String> idList=new ArrayList<>();
  for (  final Identifier id : filter.getIdentifiers()) {
    idList.add(id.toString());
  }
  ids=idList.toArray(new String[idList.size()]);
  return extraData;
}

public Object visit ( Id filter , Object extraData ) { final List < String > idList = new ArrayList < > ( ) ; for ( final Identifier id : filter . getIdentifiers ( ) ) { idList . add ( id . toString ( ) ) ; } ids = idList . toArray ( new String [ idList . size ( ) ] ) ; return extraData ; }
encodes an id filter
