Java EE 5 SDK

com.sun.appserv.management.util.jmx.stringifier
Class NotificationStringifier

java.lang.Object
  extended by com.sun.appserv.management.util.jmx.stringifier.NotificationStringifier
All Implemented Interfaces:
Stringifier
Direct Known Subclasses:
AttributeChangeNotificationStringifier, MBeanServerNotificationStringifier, MonitorNotificationStringifier

public class NotificationStringifier
extends Object
implements Stringifier


Nested Class Summary
static class NotificationStringifier.Options
           
 
Field Summary
static NotificationStringifier DEFAULT
           
protected  NotificationStringifier.Options mOptions
           
 
Constructor Summary
NotificationStringifier()
           
NotificationStringifier(NotificationStringifier.Options options)
           
 
Method Summary
protected  StringBuffer _stringify(Notification notif)
           
protected  void append(StringBuffer b, Object o)
           
 String stringify(Object o)
          Produce a String representation of an object.
static String toString(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final NotificationStringifier DEFAULT

mOptions

protected NotificationStringifier.Options mOptions
Constructor Detail

NotificationStringifier

public NotificationStringifier()

NotificationStringifier

public NotificationStringifier(NotificationStringifier.Options options)
Method Detail

append

protected void append(StringBuffer b,
                      Object o)

stringify

public String stringify(Object o)
Description copied from interface: Stringifier
Produce a String representation of an object. The actual output has no other semantics; each Stringifier may choose to target a particular type of user.

The resulting String should be suitable for display to a user.

Specified by:
stringify in interface Stringifier
Parameters:
o - the Object for which a String should be produced

toString

public static String toString(Object o)

_stringify

protected StringBuffer _stringify(Notification notif)

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.