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

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

@Service(value=org.apache.felix.webconsole.ConfigurationPrinter.class)
@Properties(value={@Property(name="service.description",value="JCR Namespace Configuration Printer"),@Property(name="service.vendor",value="The Apache Software Foundation")})
public class NamespaceConfigurationPrinter
extends Object
implements org.apache.felix.webconsole.ConfigurationPrinter

A Felix WebConsole ConfigurationPrinter which outputs the current JCR namespace mappings.


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

Constructor Detail

NamespaceConfigurationPrinter

public NamespaceConfigurationPrinter()
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)
Output a list of namespace prefixes and URIs 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.