org.apache.sling.jcr.webconsole.internal
Class NamespaceConfigurationPrinter
java.lang.Object
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.
Fields inherited from interface org.apache.felix.webconsole.ConfigurationPrinter |
MODE_ALWAYS, MODE_TXT, MODE_WEB, MODE_ZIP, PROPERTY_MODES, SERVICE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamespaceConfigurationPrinter
public NamespaceConfigurationPrinter()
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.