org.apache.commons.monitoring.reporting
Class OptionsSupport
java.lang.Object
org.apache.commons.monitoring.reporting.OptionsSupport
- All Implemented Interfaces:
- Renderer.Options
- Direct Known Subclasses:
- HttpSerlvetRequestOptions
public class OptionsSupport
- extends java.lang.Object
- implements Renderer.Options
Support class to implement Renderer.Option
- Author:
- Nicolas De Loof
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptionsSupport
public OptionsSupport()
render
public boolean render(Monitor monitor)
- Specified by:
render in interface Renderer.Options
render
public boolean render(Role role,
java.lang.String attribute)
- Specified by:
render in interface Renderer.Options
renderRole
public boolean renderRole(Role role)
- Specified by:
renderRole in interface Renderer.Options
unitFor
public Unit unitFor(Role role)
- Specified by:
unitFor in interface Renderer.Options
getDecimalFormat
public java.text.NumberFormat getDecimalFormat()
- Specified by:
getDecimalFormat in interface Renderer.Options
getNumberFormat
public java.text.NumberFormat getNumberFormat()
- Specified by:
getNumberFormat in interface Renderer.Options
getDateFormat
public java.text.DateFormat getDateFormat()
- Specified by:
getDateFormat in interface Renderer.Options
Copyright © 2008 The Apache Software Foundation. All Rights Reserved.