org.openeai.implementations.scrubbers
Class CityLocalityScrubber


java.lang.Object

  |

  +--org.openeai.OpenEaiObject

        |

        +--org.openeai.scrubbers.EnterpriseScrubberImpl

              |

              +--org.openeai.implementations.scrubbers.CityLocalityScrubber

All Implemented Interfaces:
EnterpriseScrubber

public class CityLocalityScrubber
extends EnterpriseScrubberImpl
implements EnterpriseScrubber

An object that converts null or empty data to "Not Applicable". These scrubbers are associated to a particular field in the EnterpriseObjects.xml document.

Author:
Jeff Heckel

Field Summary
 
Fields inherited from class org.openeai.OpenEaiObject
logger
 
Constructor Summary
CityLocalityScrubber()
          Constructor
 
Method Summary
 java.lang.String scrub(java.lang.String value)
          This is the scrub method that all EnterpriseScrubbers must implement.
 
Methods inherited from class org.openeai.scrubbers.EnterpriseScrubberImpl
getSequence, setSequence
 
Methods inherited from class org.openeai.OpenEaiObject
addLog4jProperty, getAppName, getDebug, getFromAddr, getLog4jProperties, getMailHost, getMailService, getProperties, getToAddr, initializeLog4j, initializeLog4j, initializeLog4j, setAppName, setDebug, setFromAddr, setMailHost, setMailService, setProperties, setToAddr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openeai.scrubbers.EnterpriseScrubber
getSequence, setSequence
 

Constructor Detail

CityLocalityScrubber


public CityLocalityScrubber()
Constructor

Method Detail

scrub


public java.lang.String scrub(java.lang.String value)
                       throws EnterpriseScrubberException
This is the scrub method that all EnterpriseScrubbers must implement. This particular scrub method converts null or empty data to "Not Applicable".

Specified by:
scrub in interface EnterpriseScrubber
Returns:
String the scrubbed value in 'mixed case'.
Throws:
EnterpriseScrubberException - if any errors occur scrubbing the input.
See Also:
EnterpriseFields, EnterpriseFormatter


Copyright © 2002, OpenEAI Software Foundation