|
|
Building Parsers with Java
|
|
PREV CLASS
NEXT CLASS |
FRAMES
NO FRAMES |
|
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
sjm.examples.query
Interface Speller
- All Known Implementing Classes:
- MellowSpeller, ChipSpeller
- public interface Speller
This interface defines the role of a speller, that returns
the proper spelling of a class or variable name, given
any spelling. For example, a speller might convert
CUSTOMERID and customerId to CustomerId. A speller can
set any policy regarding proper spelling.
|
Method Summary |
java.lang.String |
getClassName(java.lang.String s)
Return the proper spelling of a class name. |
java.lang.String |
getVariableName(java.lang.String s)
Return the proper spelling of a variable name. |
getClassName
public java.lang.String getClassName(java.lang.String s)
- Return the proper spelling of a class name.
getVariableName
public java.lang.String getVariableName(java.lang.String s)
- Return the proper spelling of a variable name.