Package org.apache.batik.bridge
Provides an API for mapping and maintaining consistency between
the SVG DOM tree and the GVT tree.
-
Interface Summary Interface Description Bridge A tagging interface that all bridges must implement.BridgeExtension This is a Service interface for classes that want to extend the functionality of the Bridge, to support new tags in the rendering tree.BridgeUpdateHandler Interface for objects interested in being notified of updates.ClipBridge Factory class for vendingShape
objects that represents a clipping area.DocumentBridge Interface for bridge classes that operate on Document nodes.ErrorConstants The error code.ExternalResourceSecurity An interface that allows UserAgents to describe the security constraints desired for external resources.FilterBridge Bridge class for vendingFilter
objects.FilterPrimitiveBridge Factory class for vendingFilter
objects that represents a filter primitive.FontFamilyResolver GenericBridge A tagging interface that bridges for elements child ofGraphicsNodeBridge
should implement.GraphicsNodeBridge Bridge class for creating, building, and updating aGraphicsNode
according to anElement
.Mark Marker interface, mostly, that encapsulates information about a selection gesture.MarkerBridge Factory class for vendingMarker
objects.MaskBridge Factory class for vendingMask
objects.NoRepaintRunnable A tagging interface to prevent a repaint at the end of the execution of this runnable.PaintBridge Bridge class for vendingPaint
objects.RhinoInterpreter.ArgumentsBuilder To build an argument list.ScriptHandler This interface must be implemented in order to call Java code from an SVG document.ScriptSecurity An interface that allows UserAgents to describe the security constraints desired for scripting.SVGAnimationEngine.Factory Interface for AnimatableValue factories.TextLayoutFactory Interface implemented by factory instances that can return TextSpanLayouts appropriate to AttributedCharacterIterator instances.TextPainter Renders the attributed character iterator of aTextNode
.TextSpanLayout Class that performs layout of attributed text strings into glyph sets paintable by TextPainter instances.UpdateManagerListener This interface represents a listener to the UpdateManagerEvent events.UserAgent An interface that provides access to the User Agent informations needed by the bridge.Viewport Defines a viewport.Window This interface represents the 'window' object defined in the global environment of a SVG document.Window.URLResponseHandler To handle the completion of a 'getURL()' or 'postURL' call. -
Class Summary Class Description AbstractGraphicsNodeBridge The base bridge class for SVG graphics node.AbstractSVGBridge The base bridge class for SVG elements.AbstractSVGFilterPrimitiveElementBridge The base bridge class for SVG filter primitives.AbstractSVGGradientElementBridge Bridge class for vending gradients.AbstractSVGGradientElementBridge.Stop This class represents a gradient <stop> element.AbstractSVGGradientElementBridge.SVGStopElementBridge Bridge class for the gradient <stop> element.AbstractSVGLightingElementBridge Bridge class for the <feDiffuseLighting> element.AbstractSVGLightingElementBridge.AbstractSVGLightElementBridge The base bridge class for light element.AbstractSVGLightingElementBridge.SVGFeDistantLightElementBridge Bridge class for the <feDistantLight> element.AbstractSVGLightingElementBridge.SVGFePointLightElementBridge Bridge class for the <fePointLight> element.AbstractSVGLightingElementBridge.SVGFeSpotLightElementBridge Bridge class for the <feSpotLight> element.AnimatableGenericSVGBridge Abstract bridge class for animatable elements that do not produce a GraphicsNode.AnimatableSVGBridge Abstract bridge class for those elements that can be animated.AnimationSupport Class that provides utilities for animation support.BaseScriptingEnvironment This class is the base class for SVG scripting.BasicTextPainter Basic implementation of TextPainter which renders the attributed character iterator of aTextNode
.BasicTextPainter.BasicMark This TextPainter's implementation of the Mark interface.BridgeContext This class represents a context used by the various bridges and the builder.BridgeContext.CSSEngineUserAgentWrapper BridgeContext.EventListenerMememto A class used to store an EventListener added to the DOM.BridgeContext.SoftReferenceMememto BridgeEventSupport This class is responsible of tracking GraphicsNodeMouseEvent and fowarding them to the DOM as regular DOM MouseEvent.BridgeEventSupport.GVTUnloadListener BridgeEventSupport.Listener A GraphicsNodeMouseListener that dispatch DOM events accordingly.ConcreteTextLayoutFactory Factory instance that returns TextSpanLayouts appropriate to AttributedCharacterIterator instances.ConcreteTextPainter Renders the attributed character iterator of aTextNode
.ConcreteTextSelector A simple implementation of GraphicsNodeMouseListener for text selection.CSSFontFace This class represents a <font-face> element or @font-face ruleCSSUtilities A collection of utility method involving CSS property.CursorManager The CursorManager class is a helper class which preloads the cursors corresponding to the SVG built in cursors.DefaultExternalResourceSecurity Default implementation for theExternalResourceSecurity
interface.DefaultFontFamilyResolver The is a utility class that is used for resolving UnresolvedFontFamilies.DefaultScriptSecurity Default implementation for theScriptSecurity
interface.DocumentJarClassLoader ThisClassLoader
implementation only grants permission to connect back to the server from where the document referencing the jar file was loaded.DocumentLoader This class is responsible on loading an SVG document and maintaining a cache.DynamicGVTBuilder This class is responsible for creating a GVT tree using an SVG DOM tree.EmbededExternalResourceSecurity This implementation of theExternalResourceSecurity
interface only allows external resources embeded in the document, i.e., externalResources embeded with the data protocol.EmbededScriptSecurity This implementation of theScriptSecurity
interface only allows scripts embeded in the document, i.e., scripts whith either the same URL as the document (as for event attributes) or scripts embeded with the data protocol.FlowGlyphLayout One line Class Desc Complete Class DescFlowTextLayoutFactory Factory instance that returns TextSpanLayouts appropriate to FlowRoot instances.FlowTextNode One line Class Desc Complete Class DescFlowTextPainter One line Class Desc Complete Class DescFocusManager A class that manages focus on elements.FontFace This class represents a <font-face> element or @font-face ruleGlobalWrapper Wrapper class for the SVGGlobal object.GlyphLayout Implementation of TextSpanLayout which uses java.awt.font.GlyphVector.GVTBuilder This class is responsible for creating a GVT tree using an SVG DOM tree.Location This class implements the org.apache.batik.w3c.dom.Location interface for BatikMessages This class manages the message for the bridge module.MultiResGraphicsNode RasterRable This is used to wrap a Rendered Image back into the RenderableImage world.NoLoadExternalResourceSecurity This implementation does not allow any external resources to be referenced from an SVG document.NoLoadScriptSecurity This implementation for theScriptSecurity
interface does not allow scripts to be loaded.PaintServer A collection of utility methods to deliverjava.awt.Paint
,java.awt.Stroke
objects that could be used to paint a shape.RelaxedExternalResourceSecurity This implementation ofExternalResourceSecurity
allows any external references.RelaxedScriptSecurity This implementation for theScriptSecurity
interface.RepaintManager This class manages the rendering of a GVT tree.RhinoInterpreter A simple implementation ofInterpreter
interface to use Rhino ECMAScript interpreter.RhinoInterpreter.Entry Class to store cached compiled scripts.RhinoInterpreterFactory Allows to create instances ofRhinoInterpreter
class.ScriptingEnvironment This class contains the informations needed by the SVG scripting.StrokingTextPainter More sophisticated implementation of TextPainter which renders the attributed character iterator of aTextNode
.StyleReference A style reference represents a graphics node, CSS property pair.SVG12RhinoInterpreter A RhinoInterpreter for SVG 1.2 documents.SVGAElementBridge Bridge class for the <a> element.SVGAElementBridge.AnchorDefaultActionable SVGAElementBridge.AnchorListener To handle a click on an anchor.SVGAElementBridge.CursorHolder SVGAElementBridge.CursorMouseOutListener To handle a mouseout on an anchor and set the cursor.SVGAElementBridge.CursorMouseOverListener To handle a mouseover on an anchor and set the cursor.SVGAElementBridge.MouseOutDefaultActionable SVGAElementBridge.MouseOverDefaultActionable SVGAltGlyphElementBridge Bridge class for the <altGlyph> element.SVGAltGlyphHandler SVG font altGlyph handler.SVGAnimateColorElementBridge Bridge class for the 'animateColor' animation element.SVGAnimateElementBridge Bridge class for the 'animate' animation element.SVGAnimateMotionElementBridge Bridge class for the 'animateMotion' animation element.SVGAnimateTransformElementBridge Bridge class for the 'animateTransform' animation element.SVGAnimationElementBridge An abstract base class for the SVG animation element bridges.SVGAnimationEngine An AnimationEngine for SVG documents.SVGAnimationEngine.AnimationTickRunnable Idle runnable to tick the animation.SVGAnimationEngine.DebugAnimationTickRunnable Idle runnable to tick the animation, that reads times from System.in.SVGBridgeExtension This is a Service interface for classes that want to extend the functionality of the Bridge, to support new tags in the rendering tree.SVGBrokenLinkProvider This interface is to be used to provide alternate ways of generating a placeholder image when the ImageTagRegistry fails to handle a given reference.SVGCircleElementBridge Bridge class for the <circle> element.SVGClipPathElementBridge Bridge class for the <clipPath> element.SVGColorProfileElementBridge This class bridges an SVGcolor-profile
element with anICC_ColorSpace
object.SVGDecoratedShapeElementBridge The base bridge class for decorated shapes.SVGDescElementBridge Bridge class for the <desc> element.SVGDescriptiveElementBridge Base class for 'descriptive' elements, mostly title and desc.SVGDocumentBridge Bridge class for an SVGDocument node.SVGEllipseElementBridge Bridge class for the <ellipse> element.SVGFeBlendElementBridge Bridge class for the <feBlend> element.SVGFeColorMatrixElementBridge Bridge class for the <feColorMatrix> element.SVGFeComponentTransferElementBridge Bridge class for the <feComponentTransfer> element.SVGFeComponentTransferElementBridge.SVGFeFuncAElementBridge Bridge class for the <feFuncA> element.SVGFeComponentTransferElementBridge.SVGFeFuncBElementBridge Bridge class for the <feFuncB> element.SVGFeComponentTransferElementBridge.SVGFeFuncElementBridge The base bridge class for component transfer function.SVGFeComponentTransferElementBridge.SVGFeFuncGElementBridge Bridge class for the <feFuncG> element.SVGFeComponentTransferElementBridge.SVGFeFuncRElementBridge Bridge class for the <feFuncR> element.SVGFeCompositeElementBridge Bridge class for the <feComposite> element.SVGFeConvolveMatrixElementBridge Bridge class for the <feConvolveMatrix> element.SVGFeDiffuseLightingElementBridge Bridge class for the <feDiffuseLighting> element.SVGFeDisplacementMapElementBridge Bridge class for the <feDisplacementMap> element.SVGFeFloodElementBridge Bridge class for the <feFlood> element.SVGFeGaussianBlurElementBridge Bridge class for the <feGaussianBlur> element.SVGFeImageElementBridge Bridge class for the <feImage> element.SVGFeMergeElementBridge Bridge class for the <feMerge> element.SVGFeMergeElementBridge.SVGFeMergeNodeElementBridge Bridge class for the <feMergeNode> element.SVGFeMorphologyElementBridge Bridge class for the <feMorphology> element.SVGFeOffsetElementBridge Bridge class for the <feOffset> element.SVGFeSpecularLightingElementBridge Bridge class for the <feSpecularLighting> element.SVGFeTileElementBridge Bridge class for the <feTile> element.SVGFeTurbulenceElementBridge Bridge class for the <feTurbulence> element.SVGFilterElementBridge Bridge class for the <filter> element.SVGFontElementBridge Bridge class for the <font> element.SVGFontFace This class represents a <font-face> element or @font-face ruleSVGFontFaceElementBridge Bridge class for the <font-face> element.SVGFontFamily A font family class for SVG fonts.SVGFontUtilities Utility class for SVG fonts.SVGGElementBridge Bridge class for the <g> element.SVGGlyphElementBridge Bridge class for the <glyph> element.SVGGVTFont Represents an SVG font.SVGHKernElementBridge Bridge class for the <hkern> element.SVGImageElementBridge Bridge class for the <image> element.SVGImageElementBridge.ForwardEventListener A simple DOM listener to forward events from the SVG image document to the original document.SVGImageElementBridge.ProtectedStream SVGKernElementBridge A base Bridge class for the kerning elements.SVGLinearGradientElementBridge Bridge class for the <linearGradient> element.SVGLineElementBridge Bridge class for the <line> element.SVGMarkerElementBridge Bridge class for the <marker> element.SVGMaskElementBridge Bridge class for the <mask> element.SVGMissingGlyphElementBridge Bridge class for the <missing-glyph> element.SVGPathElementBridge Bridge class for the <path> element.SVGPatternElementBridge Bridge class for the <pattern> element.SVGPatternElementBridge.PatternGraphicsNode SVGPolygonElementBridge Bridge class for the <polygon> element.SVGPolylineElementBridge Bridge class for the <polyline> element.SVGRadialGradientElementBridge Bridge class for the <radialGradient> element.SVGRectElementBridge Bridge class for the <rect> element.SVGSetElementBridge A bridge class for the 'set' animation element.SVGShapeElementBridge The base bridge class for shapes.SVGSVGElementBridge Bridge class for the <svg> element.SVGSVGElementBridge.SVGSVGElementViewport A viewport defined an <svg> element.SVGSwitchElementBridge Bridge class for the <switch> element.SVGTextElementBridge Bridge class for the <text> element.SVGTextElementBridge.AttributedStringBuffer This class is used to build an AttributedString.SVGTextElementBridge.CharacterInformation Helper class to collect information about one Glyph in the GlyphVectorSVGTextPathElementBridge Bridge class for the <textPath> element.SVGTitleElementBridge Bridge class for the <title> element.SVGUseElementBridge Bridge class for the <use> element.SVGUseElementBridge.CursorMouseOverListener To handle a mouseover on an anchor and set the cursor.SVGUtilities A collection of utility methods for SVG.SVGVKernElementBridge Bridge class for the <vkern> element.TextHit Class that encapsulates information returned from hit testing aTextSpanLayout
instance.TextNode A graphics node that represents text.TextNode.Anchor Defines where the text of aTextNode
can be anchored relative to its location.TextUtilities A collection of utility method for text.UnitProcessor This class provides methods to convert SVG length and coordinate to float in user units.UnitProcessor.DefaultContext This class is the default context for a particular element.UpdateManager This class provides features to manage the update of an SVG document.UpdateManagerAdapter This is an adapter for the UpdateManagerListener interface.UpdateManagerEvent This class represents an event which indicate an event originated from a UpdateManager instance.URIResolver This class is used to resolve the URI that can be found in a SVG document.UserAgentAdapter An abstract user agent adaptor implementation.UserAgentViewport Defines a viewport for aUserAgent
.ViewBox This class provides convenient methods to handle viewport.ViewBox.ViewHandler This class can be used to store the value of the attribute viewBox or can also be used to store the various attribute value that can be specified on a SVG URI fragments.WindowWrapper This class wraps a Window object to expose it to the interpreter.WindowWrapper.FunctionWrapper To wrap a function in an handler.WindowWrapper.GetURLFunctionWrapper To wrap a function passed to getURL(). -
Exception Summary Exception Description BridgeException Thrown when the bridge has detected an error.InterruptedBridgeException This class represents the exception thrown by the bridge when the current thread was interrupted.