int getExternalizerId(Object o) {
return writers.get(o.getClass()).getExternalizerId();
}
private void loadInternalMarshallables() {
addInternalExternalizer(new ListExternalizer());
addInternalExternalizer(new MapExternalizer());
addInternalExternalizer(new SetExternalizer());
addInternalExternalizer(new EnumSetExternalizer());
addInternalExternalizer(new ArrayExternalizers.ListArray());
addInternalExternalizer(new SingletonListExternalizer());