FileDocCategorySizeDatePackage
StringSourceBase.javaAPI DocGlassfish v2 API3079Fri May 04 22:31:06 BST 2007com.sun.appserv.management.util.misc

StringSourceBase

public class StringSourceBase extends Object implements StringSource
Default base class for StringSource implementationsn.

Fields Summary
private final StringSource
mNext
Constructors Summary
public StringSourceBase()

		this( EmptyStringSource.INSTANCE );
	
public StringSourceBase(StringSource next)

		mNext	= next == null ? EmptyStringSource.INSTANCE : next;
	
Methods Summary
public java.lang.StringgetString(java.lang.String id)

		return( getString( id, id ) );
	
public java.lang.StringgetString(java.lang.String id, java.lang.String defaultValue)

		return( mNext.getString( id, defaultValue ) );