org.apache.batik.bridge
Interface Bridge

All Known Subinterfaces:
ClipBridge, FilterBridge, FilterPrimitiveBridge, GenericBridge, GraphicsNodeBridge, MarkerBridge, MaskBridge, PaintBridge
All Known Implementing Classes:
AbstractSVGBridge, AbstractSVGGradientElementBridge.SVGStopElementBridge

public interface Bridge

A tagging interface that all bridges must implement. A bridge is responsible on creating and maintaining an appropriate object according to an Element.


Method Summary
 BridgeUpdateHandler getBridgeUpdateHandler()
          Returns the handler that is called each time this bridge updates its GVT product.
 Bridge getInstance()
          Returns a new instance of this bridge.
 java.lang.String getLocalName()
          Returns the local name of the element this Bridge is dedicated to.
 java.lang.String getNamespaceURI()
          Returns the namespace URI of the element this Bridge is dedicated to.
 void setBridgeUpdateHandler(BridgeUpdateHandler handler, int handlerKey)
          Sets the handler that is used to track each update of this bridge's GVT product.
 

Method Detail

getNamespaceURI

public java.lang.String getNamespaceURI()
Returns the namespace URI of the element this Bridge is dedicated to.

getLocalName

public java.lang.String getLocalName()
Returns the local name of the element this Bridge is dedicated to.

getInstance

public Bridge getInstance()
Returns a new instance of this bridge.

getBridgeUpdateHandler

public BridgeUpdateHandler getBridgeUpdateHandler()
Returns the handler that is called each time this bridge updates its GVT product.

setBridgeUpdateHandler

public void setBridgeUpdateHandler(BridgeUpdateHandler handler,
                                   int handlerKey)
Sets the handler that is used to track each update of this bridge's GVT product.
Parameters:
handler - the handler to call
handlerKey - a private key the handler might use when it registers


Copyright © 2002 Apache Software Foundation. All Rights Reserved.