Java EE 5 SDK

com.sun.appserv.management.util.stringifier
Class InterfacesStringifier

java.lang.Object
  extended by com.sun.appserv.management.util.stringifier.InterfacesStringifier
All Implemented Interfaces:
Stringifier

public class InterfacesStringifier
extends Object
implements Stringifier

Stringifies an object based on specified interfaces.


Constructor Summary
InterfacesStringifier(Class[] interfaces)
           
InterfacesStringifier(StringifierRegistry registry, Class[] interfaces)
           
 
Method Summary
 String stringify(Object o)
          Produce a String representation of an object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterfacesStringifier

public InterfacesStringifier(Class[] interfaces)

InterfacesStringifier

public InterfacesStringifier(StringifierRegistry registry,
                             Class[] interfaces)
Method Detail

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

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.