lazyj.page
Interface StringFormat

All Known Implementing Classes:
Checked, Cut, Dash, Date, DDot, Dot, Enc, Esc, JS, NiceDate, Size, Strip, Time, UEnc, Under

public interface StringFormat

Interface that any string formatting class able to process BasePage tag options must implement.

Since:
2006-10-15
Author:
costing

Method Summary
 java.lang.String format(java.lang.String sTag, java.lang.String sOption, java.lang.String s)
          This is the only method that must be implemented.
 

Method Detail

format

java.lang.String format(java.lang.String sTag,
                        java.lang.String sOption,
                        java.lang.String s)
This is the only method that must be implemented. It will be called by BasePage when it encounters an option that has this class associated with it.

Parameters:
sTag - tag name
sOption - the exact option that triggered this call. Can be null !
s - string to format
Returns:
the method must return the formatted string