code: public void setPrettyPrint(final boolean pPrettyPrint) {
          DOMConfiguration configuration = serializer.getDomConfig();
          if (configuration.canSetParameter(PARAM_PRETTY_PRINT, pPrettyPrint)) {
              configuration.setParameter(PARAM_PRETTY_PRINT, pPrettyPrint);
          }
      }
docs: Specifies wether the serializer should use indentation and optimize for
  readability.
  <p/>
  Note: This is a hint, and may be ignored by DOM implemenations.
  
  @param pPrettyPrint {@code true} to enable pretty printing