/* Create a new registry. Use the DEFAULT registry if possible; certain Stringifier classes depend on it. */ this( null );
mLookup = new HashMap( ); mNextRegistry = registry;
mLookup.remove( theClass ); mLookup.put( theClass, stringifier );
Stringifier stringifier = (Stringifier)mLookup.get( theClass ); if ( stringifier == null && mNextRegistry != null ) { System.out.println( "can't find " + theClass.getName() ); stringifier = mNextRegistry.lookup( theClass ); } return( stringifier );