org.apache.felix.webconsole.internal.misc
Class ConfigurationPrinterAdapter

java.lang.Object
  extended by org.apache.felix.webconsole.internal.misc.ConfigurationPrinterAdapter

public class ConfigurationPrinterAdapter
extends java.lang.Object

Helper class for a configuration printer.


Field Summary
 java.lang.String label
           
 java.lang.String title
           
 
Method Summary
static ConfigurationPrinterAdapter createAdapter(java.lang.Object service, org.osgi.framework.ServiceReference ref)
           
 boolean escapeHtml()
           
 java.net.URL[] getAttachments(java.lang.String mode)
           
protected  java.lang.Object invoke(java.lang.reflect.Method m, java.lang.Object[] args)
          Invoke the method on the printer with the arguments.
 boolean match(java.lang.String mode)
           
 void printConfiguration(java.io.PrintWriter pw, java.lang.String mode)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

title

public java.lang.String title

label

public java.lang.String label
Method Detail

createAdapter

public static ConfigurationPrinterAdapter createAdapter(java.lang.Object service,
                                                        org.osgi.framework.ServiceReference ref)

match

public boolean match(java.lang.String mode)

escapeHtml

public boolean escapeHtml()

printConfiguration

public final void printConfiguration(java.io.PrintWriter pw,
                                     java.lang.String mode)

getAttachments

public java.net.URL[] getAttachments(java.lang.String mode)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

invoke

protected java.lang.Object invoke(java.lang.reflect.Method m,
                                  java.lang.Object[] args)
Invoke the method on the printer with the arguments.



Copyright © 2012 FuseSource, Corp.. All Rights Reserved.