Java EE 5 SDK

com.sun.appserv.management.util.stringifier
Interface StringifierRegistry

All Known Implementing Classes:
StringifierRegistryImpl

public interface StringifierRegistry

A registry for mapping classes to Stringifiers


Method Summary
 void add(Class theClass, Stringifier stringifier)
          Add a mapping from a Class to a Stringifier
 Stringifier lookup(Class theClass)
          Lookup a Stringifier from a Class.
 

Method Detail

add

void add(Class theClass,
         Stringifier stringifier)
Add a mapping from a Class to a Stringifier

Parameters:
theClass - the Class to which the Stringifier should be associated
stringifier - the Stringifier for the class

lookup

Stringifier lookup(Class theClass)
Lookup a Stringifier from a Class.

Parameters:
theClass - the Class
Returns:
the Stringifier, or null if not found

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.