public String externalize(Object obj, int flags) { return externalize(obj, (Set)null, flags);
public String externalize(Object obj) { return externalize(obj, SESSION);
    public String externalize(Object obj, int flags) {        return externalize(obj, (Set)null, flags);    }