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

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

public class ConfigurationPrinterAdapter
extends Object

Helper class for a configuration printer.


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

Field Detail

title

public String title

label

public String label
Method Detail

createAdapter

public static ConfigurationPrinterAdapter createAdapter(Object service,
                                                        ServiceReference ref)

match

public boolean match(String mode)

escapeHtml

public boolean escapeHtml()

printConfiguration

public final void printConfiguration(PrintWriter pw,
                                     String mode)

getAttachments

public URL[] getAttachments(String mode)

toString

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

invoke

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



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