org.jiim.translation
Class AbbreviationsEngineImpl

java.lang.Object
  extended by org.jiim.translation.AbbreviationsEngineImpl
All Implemented Interfaces:
java.io.Serializable, IAbbreviationsEngine

public class AbbreviationsEngineImpl
extends java.lang.Object
implements IAbbreviationsEngine, java.io.Serializable

Implementation of the abbreviations engine that expands abbreviations and acronyms

Author:
Jorge De Castro
See Also:
IAbbreviationsEngine, Serialized Form

Field Summary
protected  org.apache.commons.logging.Log logger
           
 
Constructor Summary
AbbreviationsEngineImpl()
           
 
Method Summary
 java.lang.String expand(java.lang.String abbreviated, java.lang.String language)
          Expand acronym or abbreviated word into its full length
 org.springframework.context.MessageSource getMessageSource()
           
 void init()
           
 void setMessageSource(org.springframework.context.MessageSource messageSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Constructor Detail

AbbreviationsEngineImpl

public AbbreviationsEngineImpl()
Method Detail

init

public void init()

setMessageSource

public void setMessageSource(org.springframework.context.MessageSource messageSource)
Specified by:
setMessageSource in interface IAbbreviationsEngine

getMessageSource

public org.springframework.context.MessageSource getMessageSource()
Specified by:
getMessageSource in interface IAbbreviationsEngine

expand

public java.lang.String expand(java.lang.String abbreviated,
                               java.lang.String language)
Description copied from interface: IAbbreviationsEngine
Expand acronym or abbreviated word into its full length

Specified by:
expand in interface IAbbreviationsEngine
Parameters:
abbreviated - The acronym or abbreviated string
language - The language the string is written in
Returns:
The full length, unabridged string


© 2005 jorge de castro