if (bridge == null || !(bridge instanceof FilterBridge)) {
throw new IllegalAttributeValueException(
Messages.formatMessage("filter.reference.illegal",
new Object[] {filterElement.getLocalName()}));
}
FilterBridge filterBridge = (FilterBridge)bridge;
SVGOMDocument doc = (SVGOMDocument)filterElement.getOwnerDocument();
ViewCSS v = ctx.getViewCSS();
ctx.setViewCSS((ViewCSS)doc.getDefaultView());
Filter filter = filterBridge.create(node,
ctx,
filterElement,
element,
null, // in
null, // filterRegion