コード例 #1
0
  public void output(PrintWriter writer) throws OperationException {
    try {
      Map reqArgs = registry.getConfiguration().getRequestArguments();

      if (!truncation && reqArgs != null) reqArgs.put(Constants.PROP_TRUNCLENGTH, "-1");

      LOG.debug("Running OutputMode " + mode.getClass());
      mode.output(this, writer, entries);
    } finally {
      writer.flush();
    }
  }