org.apache.sling.jcr.webconsole.internal
Class NodeTypeConfigurationPrinter

java.lang.Object
  extended by org.apache.sling.jcr.webconsole.internal.NodeTypeConfigurationPrinter
All Implemented Interfaces:
org.apache.felix.webconsole.ConfigurationPrinter, org.apache.felix.webconsole.ModeAwareConfigurationPrinter

@Service(value=org.apache.felix.webconsole.ConfigurationPrinter.class)
@Properties(value={@Property(name="service.description",value="JCR Nodetype Configuration Printer"),@Property(name="service.vendor",value="The Apache Software Foundation"),@Property(name="felix.webconsole.configprinter.web.unescaped",boolValue=true)})
public class NodeTypeConfigurationPrinter
extends Object
implements org.apache.felix.webconsole.ModeAwareConfigurationPrinter

A Felix WebConsole ConfigurationPrinter which outputs the current JCR nodetypes.


Field Summary
 
Fields inherited from interface org.apache.felix.webconsole.ConfigurationPrinter
MODE_ALWAYS, MODE_TXT, MODE_WEB, MODE_ZIP, PROPERTY_MODES, SERVICE
 
Constructor Summary
NodeTypeConfigurationPrinter()
           
 
Method Summary
 String getTitle()
          Get the title of the configuration status page.
 void printConfiguration(PrintWriter pw)
          Output a list of node types from the NamespaceRegistry.
 void printConfiguration(PrintWriter pw, String mode)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeTypeConfigurationPrinter

public NodeTypeConfigurationPrinter()
Method Detail

getTitle

public String getTitle()
Get the title of the configuration status page.

Specified by:
getTitle in interface org.apache.felix.webconsole.ConfigurationPrinter
Returns:
the title

printConfiguration

public void printConfiguration(PrintWriter pw,
                               String mode)

Specified by:
printConfiguration in interface org.apache.felix.webconsole.ModeAwareConfigurationPrinter

printConfiguration

public void printConfiguration(PrintWriter pw)
Output a list of node types from the NamespaceRegistry.

Specified by:
printConfiguration in interface org.apache.felix.webconsole.ConfigurationPrinter
Parameters:
pw - a PrintWriter


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.