public interface ModeAwareConfigurationPrinter extends ConfigurationPrinter
ConfigurationPrinter. If a configuration printer implements this interface, the
printConfiguration(PrintWriter, String)method is used for printing the configuration instead of the
ConfigurationPrinter.printConfiguration(PrintWriter)method. A service implementing this method must still register itself as a
ConfigurationPrinterbut not as a
void printConfiguration(PrintWriter printWriter, String mode)
printWriter. Implementations are free to print whatever information they deem useful. The
printWritermay be flushed but must not be closed.
printWriter- The print writer to use.
mode- The rendering mode.
Copyright © 2006–2013 The Apache Software Foundation. All rights reserved.