org.apache.batik.bridge

Class SVGFeCompositeElementBridge

public class SVGFeCompositeElementBridge extends AbstractSVGFilterPrimitiveElementBridge

Bridge class for the <feComposite> element.
Constructor Summary
SVGFeCompositeElementBridge()
Constructs a new bridge for the <feComposite> element.
Method Summary
protected static CompositeRuleconvertOperator(Element filterElement, BridgeContext ctx)
Converts the 'operator' attribute of the specified feComposite filter primitive element.
FiltercreateFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
Creates a Filter primitive according to the specified parameters.
StringgetLocalName()
Returns 'feComposite'.

Constructor Detail

SVGFeCompositeElementBridge

public SVGFeCompositeElementBridge()
Constructs a new bridge for the <feComposite> element.

Method Detail

convertOperator

protected static CompositeRule convertOperator(Element filterElement, BridgeContext ctx)
Converts the 'operator' attribute of the specified feComposite filter primitive element.

Parameters: filterElement the feComposite filter element ctx the BridgeContext to use for error information

createFilter

public Filter createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
Creates a Filter primitive according to the specified parameters.

Parameters: ctx the bridge context to use filterElement the element that defines a filter filteredElement the element that references the filter filteredNode the graphics node to filter inputFilter the Filter that represents the current filter input if the filter chain. filterRegion the filter area defined for the filter chain the new node will be part of. filterMap a map where the mediator can map a name to the Filter it creates. Other FilterBridges can then access a filter node from the filterMap if they know its name.

getLocalName

public String getLocalName()
Returns 'feComposite'.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.