class Soundex implements StringEncoder {

    @Override
    public Object encode(final Object obj) throws EncoderException {
        if (!(obj instanceof String)) {
            throw new EncoderException("Parameter supplied to Soundex encode is not of type java.lang.String");
        }
        return soundex((String) obj);
    }

    public  Soundex();
    public  Soundex(final char[] mapping);
    public  Soundex(final String mapping);

}