"MutationEvent".equals(type)) {
return new MutationEventImpl();
}
else if (type.equalsIgnoreCase("UIEvents") ||
"UIEvent".equals(type)) {
return new UIEventImpl();
}
else if (type.equalsIgnoreCase("MouseEvents") ||
"MouseEvent".equals(type)) {
return new MouseEventImpl();
}