// TODO(mikesamuel): divert IllegalArgumentExceptions to MessageQueue
type = HTML.Attribute.Type.valueOf(typeName);
}
String loaderTypeStr = (String) def.get("loaderType", null);
// TODO(mikesamuel): divert IllegalArgumentExceptions to MessageQueue
LoaderType loaderType = loaderTypeStr != null
? LoaderType.valueOf(loaderTypeStr) : null;
String uriEffectStr = (String) def.get("uriEffect", null);
// TODO(mikesamuel): divert IllegalArgumentExceptions to MessageQueue
UriEffect uriEffect = uriEffectStr != null
? UriEffect.valueOf(uriEffectStr) : null;