|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Mapper
To separate out the various map and search policies for class names and template names, we use classes that implement this interface.
Method Summary | |
---|---|
int |
getCacheSize()
Get the CacheSize value. |
java.lang.String |
getDefaultName(java.lang.String template)
Returns the default name for the supplied template name. |
java.lang.String |
getDefaultProperty()
Get the DefaultProperty value. |
java.lang.String |
getMappedName(java.lang.String template)
Return the first match name for the given template name. |
char |
getSeparator()
Get the Separator value. |
void |
init()
Mapper initialization. |
boolean |
isUseCache()
Get the UseCache value. |
void |
setCacheSize(int cacheSize)
Set the CacheSize value. |
void |
setDefaultProperty(java.lang.String defaultProperty)
Set the DefaultProperty value. |
void |
setSeparator(char separator)
Set the Separator value. |
void |
setUseCache(boolean useCache)
Set the UseCache value. |
Method Detail |
---|
void init()
int getCacheSize()
void setCacheSize(int cacheSize)
cacheSize
- The new CacheSize value.boolean isUseCache()
void setUseCache(boolean useCache)
newUseCache
- The new UseCache value.java.lang.String getDefaultProperty()
void setDefaultProperty(java.lang.String defaultProperty)
defaultProperty
- The new DefaultProperty value.char getSeparator()
void setSeparator(char separator)
separator
- The new Separator value.java.lang.String getDefaultName(java.lang.String template)
template
- The template name.
java.lang.String getMappedName(java.lang.String template)
template
- The template name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |