Uses of Class
org.apache.batik.bridge.BridgeContext

Packages that use BridgeContext
org.apache.batik.bridge Provides an API for mapping and maintaining consistency between the SVG DOM tree and the GVT tree. 
org.apache.batik.bridge.svg12   
org.apache.batik.extension.svg   
org.apache.batik.gvt.svg12   
org.apache.batik.script Provides an API for interpreting scripting language found in SVG files. 
org.apache.batik.swing.svg   
org.apache.batik.transcoder Contains all of the interfaces for transcoding an input stream or a document to a particular ouput format. 
 

Uses of BridgeContext in org.apache.batik.bridge
 

Fields in org.apache.batik.bridge declared as BridgeContext
protected  BridgeContext SVGFontFamily.ctx
           
protected  BridgeContext UnitProcessor.DefaultContext.ctx
           
protected  BridgeContext AbstractGraphicsNodeBridge.ctx
          The bridge context to use for dynamic updates.
protected  BridgeContext UpdateManager.bridgeContext
          The bridge context.
protected  BridgeContext CursorManager.ctx
          BridgeContext associated with this CursorManager
protected  BridgeContext SVGTextElementBridge.AbstractTextChildSVGContext.ctx
          Bridge Context
protected  BridgeContext BridgeEventSupport.Listener.context
           
protected  BridgeContext SVGImageElementBridge.subCtx
           
protected  BridgeContext SVGUseElementBridge.subCtx
           
protected  BridgeContext SVGUseElementBridge.CursorMouseOverListener.ctx
           
protected  BridgeContext BaseScriptingEnvironment.bridgeContext
          The bridge context.
 

Methods in org.apache.batik.bridge that return BridgeContext
 BridgeContext UpdateManager.getBridgeContext()
          Returns the bridge context.
 BridgeContext ScriptingEnvironment.Window.getBridgeContext()
          Returns the current BridgeContext.
 BridgeContext BaseScriptingEnvironment.Window.getBridgeContext()
          Returns the current BridgeContext.
 

Methods in org.apache.batik.bridge with parameters of type BridgeContext
 GraphicsNode GraphicsNodeBridge.createGraphicsNode(BridgeContext ctx, Element e)
          Creates a GraphicsNode according to the specified parameters.
 void GraphicsNodeBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node)
          Builds using the specified BridgeContext and element, the specified graphics node.
 Filter SVGFeDisplacementMapElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
 GraphicsNode SVGSVGElementBridge.createGraphicsNode(BridgeContext ctx, Element e)
          Creates a GraphicsNode according to the specified parameters.
 void SVGSVGElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node)
          Builds using the specified BridgeContext and element, the specified graphics node.
protected  ShapePainter SVGLineElementBridge.createFillStrokePainter(BridgeContext ctx, Element e, ShapeNode shapeNode)
          Creates the shape painter associated to the specified element.
protected  void SVGLineElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode)
          Constructs a line according to the specified parameters.
protected  void SVGPolylineElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode)
          Constructs a polyline according to the specified parameters.
 Filter SVGFeFloodElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
static boolean SVGFontFamily.isComplex(Element fontElement, BridgeContext ctx)
           
static UnitProcessor.Context UnitProcessor.createContext(BridgeContext ctx, Element e)
          Creates a context for the specified element.
 Filter SVGFeOffsetElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
 void GenericBridge.handleElement(BridgeContext ctx, Element e)
          Invoked to handle an Element for a given BridgeContext.
static ArrayList TextUtilities.svgHorizontalCoordinateArrayToUserSpace(Element element, String attrName, String valueStr, BridgeContext ctx)
          Returns the float list that represents a set of horizontal values or percentage.
static ArrayList TextUtilities.svgVerticalCoordinateArrayToUserSpace(Element element, String attrName, String valueStr, BridgeContext ctx)
          Returns the float list that represents a set of values or percentage.
static ArrayList TextUtilities.svgRotateArrayToFloats(Element element, String attrName, String valueStr, BridgeContext ctx)
           
 Filter SVGFeBlendElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
 Filter SVGFeDiffuseLightingElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
 Glyph SVGGlyphElementBridge.createGlyph(BridgeContext ctx, Element glyphElement, Element textElement, int glyphCode, float fontSize, GVTFontFace fontFace, TextPaintInfo tpi)
          Constructs a new Glyph that represents the specified <glyph> element at the requested size.
 GraphicsNode AbstractGraphicsNodeBridge.createGraphicsNode(BridgeContext ctx, Element e)
          Creates a GraphicsNode according to the specified parameters.
 void AbstractGraphicsNodeBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node)
          Builds using the specified BridgeContext and element, the specified graphics node.
protected  void AbstractGraphicsNodeBridge.initializeDynamicSupport(BridgeContext ctx, Element e, GraphicsNode node)
          This method is invoked during the build phase if the document is dynamic.
 Mask MaskBridge.createMask(BridgeContext ctx, Element maskElement, Element maskedElement, GraphicsNode maskedNode)
          Creates a Mask according to the specified parameters.
 Filter FilterPrimitiveBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter in, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
 GVTFontFamily CSSFontFace.getFontFamily(BridgeContext ctx)
          Returns the font associated with this rule or element.
protected static Light AbstractSVGLightingElementBridge.extractLight(Element filterElement, BridgeContext ctx)
          Returns the light from the specified lighting filter primitive element or null if any
abstract  Light AbstractSVGLightingElementBridge.AbstractSVGLightElementBridge.createLight(BridgeContext ctx, Element filterElement, Element lightElement, Color color)
          Creates a Light according to the specified parameters.
 Light AbstractSVGLightingElementBridge.SVGFeSpotLightElementBridge.createLight(BridgeContext ctx, Element filterElement, Element lightElement, Color color)
          Creates a Light according to the specified parameters.
 Light AbstractSVGLightingElementBridge.SVGFeDistantLightElementBridge.createLight(BridgeContext ctx, Element filterElement, Element lightElement, Color color)
          Creates a Light according to the specified parameters.
 Light AbstractSVGLightingElementBridge.SVGFePointLightElementBridge.createLight(BridgeContext ctx, Element filterElement, Element lightElement, Color color)
          Creates a Light according to the specified parameters.
 Paint PaintBridge.createPaint(BridgeContext ctx, Element paintElement, Element paintedElement, GraphicsNode paintedNode, float opacity)
          Creates a Paint according to the specified parameters.
 Kern SVGKernElementBridge.createKern(BridgeContext ctx, Element kernElement, SVGGVTFont font)
          Creates a Kern object that repesents the specified kerning element.
 GraphicsNode SVGGElementBridge.createGraphicsNode(BridgeContext ctx, Element e)
          Creates a GraphicsNode according to the specified parameters.
 void BridgeExtension.registerTags(BridgeContext ctx)
          This method should update the BridgeContext with support for the tags in this extension.
 Filter SVGFeSpecularLightingElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
 GVTFontFamily FontFace.getFontFamily(BridgeContext ctx)
          Returns the font associated with this rule or element.
protected  GVTFontFamily FontFace.getFontFamily(BridgeContext ctx, ParsedURL purl)
          Tries to build a GVTFontFamily from a URL reference
protected  Element FontFace.getBaseElement(BridgeContext ctx)
          Default implementation uses the root element of the document associated with BridgeContext.
 Paint SVGPatternElementBridge.createPaint(BridgeContext ctx, Element patternElement, Element paintedElement, GraphicsNode paintedNode, float opacity)
          Creates a Paint according to the specified parameters.
protected static RootGraphicsNode SVGPatternElementBridge.extractPatternContent(Element patternElement, BridgeContext ctx)
          Returns the content of the specified pattern element.
protected static RootGraphicsNode SVGPatternElementBridge.extractLocalPatternContent(Element e, BridgeContext ctx)
          Returns the content of the specified pattern element or null if any.
 Marker MarkerBridge.createMarker(BridgeContext ctx, Element markerElement, Element paintedElement)
          Creates a Marker according to the specified parameters.
 ClipRable SVGClipPathElementBridge.createClip(BridgeContext ctx, Element clipElement, Element clipedElement, GraphicsNode clipedNode)
          Creates a Clip according to the specified parameters.
static Cursor CSSUtilities.convertCursor(Element e, BridgeContext ctx)
          Returns the Cursor corresponding to the input element's cursor property
static Filter CSSUtilities.convertFilter(Element filteredElement, GraphicsNode filteredNode, BridgeContext ctx)
          Returns a Filter referenced by the specified element and which applies on the specified graphics node.
static ClipRable CSSUtilities.convertClipPath(Element clippedElement, GraphicsNode clippedNode, BridgeContext ctx)
          Returns a Clip referenced by the specified element and which applies on the specified graphics node.
static Mask CSSUtilities.convertMask(Element maskedElement, GraphicsNode maskedNode, BridgeContext ctx)
          Returns a Mask referenced by the specified element and which applies on the specified graphics node.
static Color CSSUtilities.convertLightingColor(Element e, BridgeContext ctx)
          Converts the color defined on the specified lighting filter element to a Color.
static Color CSSUtilities.convertFloodColor(Element e, BridgeContext ctx)
          Converts the color defined on the specified <feFlood> element to a Color.
static Color CSSUtilities.convertStopColor(Element e, float opacity, BridgeContext ctx)
          Converts the color defined on the specified <stop> element to a Color.
 SVGFontFace SVGFontFaceElementBridge.createFontFace(BridgeContext ctx, Element fontFaceElement)
          Creates an SVGFontFace that repesents the specified <font-face> element.
 void SVGAElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node)
          Builds using the specified BridgeContext and element, the specified graphics node.
 TextPath SVGTextPathElementBridge.createTextPath(BridgeContext ctx, Element textPathElement)
          Creates a TextPath object that represents the path along which the text is to be rendered.
 GraphicsNode SVGShapeElementBridge.createGraphicsNode(BridgeContext ctx, Element e)
          Creates a graphics node using the specified BridgeContext and for the specified element.
 void SVGShapeElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node)
          Builds using the specified BridgeContext and element, the specified graphics node.
protected  ShapePainter SVGShapeElementBridge.createShapePainter(BridgeContext ctx, Element e, ShapeNode shapeNode)
          Creates the shape painter associated to the specified element.
protected abstract  void SVGShapeElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode node)
          Initializes the specified ShapeNode's shape defined by the specified Element and using the specified bridge context.
 Filter SVGFeImageElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
protected static Filter SVGFeImageElementBridge.createSVGFeImage(BridgeContext ctx, Rectangle2D primitiveRegion, Element refElement, boolean toBBoxNeeded, Element filterElement, GraphicsNode filteredNode)
          Returns a Filter that represents a svg document or element as an image.
protected static Filter SVGFeImageElementBridge.createRasterFeImage(BridgeContext ctx, Rectangle2D primitiveRegion, ParsedURL purl)
          Returns a Filter that represents an raster image (JPG or PNG).
static List SVGFontUtilities.getFontFaces(Document doc, BridgeContext ctx)
           
static GVTFontFamily SVGFontUtilities.getFontFamily(Element textElement, BridgeContext ctx, String fontFamilyName, String fontWeight, String fontStyle)
          Given a font family name tries to find a matching SVG font object.
 Filter SVGFeTurbulenceElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
 Filter SVGFilterElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode)
          Creates a Filter according to the specified parameters.
protected static Filter SVGFilterElementBridge.buildFilterPrimitives(Element filterElement, Rectangle2D filterRegion, Element filteredElement, GraphicsNode filteredNode, Filter in, Map filterNodeMap, BridgeContext ctx)
          Builds the filter primitives of filter chain of the specified filter element and returns the last filter primitive created.
protected static Filter SVGFilterElementBridge.buildLocalFilterPrimitives(Element filterElement, Rectangle2D filterRegion, Element filteredElement, GraphicsNode filteredNode, Filter in, Map filterNodeMap, BridgeContext ctx)
          Builds the filter primitives of filter chain of the specified filter element and returns the last filter primitive created or 'in' if no filter primitive has been specified.
 GVTFontFamily SVGFontFace.getFontFamily(BridgeContext ctx)
          Returns the font associated with this rule or element.
protected  Element SVGFontFace.getBaseElement(BridgeContext ctx)
          Default implementation uses the root element of the document associated with BridgeContext.
 Filter SVGFeMergeElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
protected static List SVGFeMergeElementBridge.extractFeMergeNode(Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Map filterMap, BridgeContext ctx)
          Returns a list of Filter objects that represents the feMergeNode of the specified feMerge filter element.
 Filter SVGFeMergeElementBridge.SVGFeMergeNodeElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Map filterMap)
          Creates a Filter according to the specified parameters.
 GraphicsNode SVGTextElementBridge.createGraphicsNode(BridgeContext ctx, Element e)
          Creates a GraphicsNode according to the specified parameters.
protected  Point2D SVGTextElementBridge.getLocation(BridgeContext ctx, Element e)
          Returns the text node location according to the 'x' and 'y' attributes of the specified text element.
 void SVGTextElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node)
          Builds using the specified BridgeContext and element, the specified graphics node.
protected  void SVGTextElementBridge.initializeDynamicSupport(BridgeContext ctx, Element e, GraphicsNode node)
          This method insures that any modification to a text element and its children is going to be reflected into the GVT tree.
protected  void SVGTextElementBridge.addContextToChild(BridgeContext ctx, Element e)
          Add to the element children of the node, a SVGContext to support dynamic updated .
protected  void SVGTextElementBridge.computeLaidoutText(BridgeContext ctx, Element e, GraphicsNode node)
          Recompute the layout of the <text> node.
protected  void SVGTextElementBridge.addNullPaintAttributes(AttributedString as, Element element, BridgeContext ctx)
          This creates 'dummy' TPI objects for each element and records them in the elemTPI map so we can later update them with the correct paint attributes.
protected  void SVGTextElementBridge.addChildNullPaintAttributes(AttributedString as, Element element, BridgeContext ctx)
           
protected  AttributedString SVGTextElementBridge.buildAttributedString(BridgeContext ctx, Element element)
          Creates the attributed string which represents the given text element children.
protected  void SVGTextElementBridge.fillAttributedStringBuffer(BridgeContext ctx, Element element, boolean top, TextPath textPath, Integer bidiLevel, SVGTextElementBridge.AttributedStringBuffer asb)
          Fills the given AttributedStringBuffer.
protected  void SVGTextElementBridge.addGlyphPositionAttributes(AttributedString as, Element element, BridgeContext ctx)
          Adds glyph position attributes to an AttributedString.
protected  void SVGTextElementBridge.addChildGlyphPositionAttributes(AttributedString as, Element element, BridgeContext ctx)
           
protected  void SVGTextElementBridge.addPaintAttributes(AttributedString as, Element element, TextNode node, TextPaintInfo pi, BridgeContext ctx)
          Adds painting attributes to an AttributedString.
protected  void SVGTextElementBridge.addChildPaintAttributes(AttributedString as, Element element, TextNode node, TextPaintInfo parentPI, BridgeContext ctx)
           
protected  Map SVGTextElementBridge.getFontProperties(BridgeContext ctx, Element element, Map map)
           
protected  Map SVGTextElementBridge.getAttributeMap(BridgeContext ctx, Element element, TextPath textPath, Integer bidiLevel)
          Returns the map to pass to the current characters.
protected  List SVGTextElementBridge.getFontFamilyList(Element element, BridgeContext ctx)
           
protected  TextPaintInfo SVGTextElementBridge.getTextPaintInfo(Element element, GraphicsNode node, TextPaintInfo parent, BridgeContext ctx)
          Constructs a TextDecoration object for the specified element.
 void SVGTextElementBridge.setBaseTextPaintInfo(TextPaintInfo pi, Element element, GraphicsNode node, BridgeContext ctx)
           
static boolean SVGTextElementBridge.getTextIntersection(BridgeContext ctx, Element elem, AffineTransform ati, Rectangle2D rect, boolean checkSensitivity)
           
static Rectangle2D SVGTextElementBridge.getTextBounds(BridgeContext ctx, Element elem, boolean checkSensitivity)
           
 Filter SVGFeConvolveMatrixElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
 ClipRable ClipBridge.createClip(BridgeContext ctx, Element clipElement, Element clipedElement, GraphicsNode clipedNode)
          Creates a Clip according to the specified parameters.
protected static Filter AbstractSVGFilterPrimitiveElementBridge.getIn(Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Map filterMap, BridgeContext ctx)
          Returns the input source of the specified filter primitive element defined by its 'in' attribute.
protected static Filter AbstractSVGFilterPrimitiveElementBridge.getIn2(Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Map filterMap, BridgeContext ctx)
          Returns the input source of the specified filter primitive element defined by its 'in2' attribute.
 GraphicsNode GVTBuilder.build(BridgeContext ctx, Document document)
          Builds using the specified bridge context the specified SVG document.
 GraphicsNode GVTBuilder.build(BridgeContext ctx, Element e)
          Builds using the specified bridge context the specified Element.
protected  void GVTBuilder.buildComposite(BridgeContext ctx, Element e, CompositeGraphicsNode parentNode)
          Builds a composite Element.
protected  void GVTBuilder.buildGraphicsNode(BridgeContext ctx, Element e, CompositeGraphicsNode parentNode)
          Builds a 'leaf' Element.
protected  void GVTBuilder.handleGenericBridges(BridgeContext ctx, Element e)
          Handles any GenericBridge elements which are children of the specified element.
static void BridgeEventSupport.addGVTListener(BridgeContext ctx, Document doc)
          Is called only for the root element in order to dispatch GVT events to the DOM.
protected  void SVGRectElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode)
          Constructs a rectangle according to the specified parameters.
protected  ShapePainter SVGRectElementBridge.createShapePainter(BridgeContext ctx, Element e, ShapeNode shapeNode)
           
 Paint AbstractSVGGradientElementBridge.createPaint(BridgeContext ctx, Element paintElement, Element paintedElement, GraphicsNode paintedNode, float opacity)
          Creates a Paint according to the specified parameters.
protected abstract  Paint AbstractSVGGradientElementBridge.buildGradient(Element paintElement, Element paintedElement, GraphicsNode paintedNode, MultipleGradientPaint.CycleMethodEnum spreadMethod, MultipleGradientPaint.ColorSpaceEnum colorSpace, AffineTransform transform, Color[] colors, float[] offsets, BridgeContext ctx)
          Builds a concrete gradient according to the specified parameters.
protected static List AbstractSVGGradientElementBridge.extractStop(Element paintElement, float opacity, BridgeContext ctx)
          Returns the stops elements of the specified gradient element.
protected static List AbstractSVGGradientElementBridge.extractLocalStop(Element gradientElement, float opacity, BridgeContext ctx)
          Returns a list of Stop elements, children of the specified paintElement can have or null if any.
 AbstractSVGGradientElementBridge.Stop AbstractSVGGradientElementBridge.SVGStopElementBridge.createStop(BridgeContext ctx, Element gradientElement, Element stopElement, float opacity)
          Creates a Stop according to the specified parameters.
 GraphicsNode SVGImageElementBridge.createGraphicsNode(BridgeContext ctx, Element e)
          Creates a graphics node using the specified BridgeContext and for the specified element.
protected  GraphicsNode SVGImageElementBridge.buildImageGraphicsNode(BridgeContext ctx, Element e)
          Create a Graphics node according to the resource pointed by the href : RasterImageNode for bitmaps, CompositeGraphicsNode for svg files.
protected  GraphicsNode SVGImageElementBridge.createImageGraphicsNode(BridgeContext ctx, Element e, ParsedURL purl)
           
protected  void SVGImageElementBridge.initializeDynamicSupport(BridgeContext ctx, Element e, GraphicsNode node)
          This method is invoked during the build phase if the document is dynamic.
protected  GraphicsNode SVGImageElementBridge.createRasterImageNode(BridgeContext ctx, Element e, Filter img)
          Returns a GraphicsNode that represents an raster image in JPEG or PNG format.
protected  GraphicsNode SVGImageElementBridge.createSVGImageNode(BridgeContext ctx, Element e, SVGDocument imgDocument)
          Returns a GraphicsNode that represents a svg document as an image.
protected static void SVGImageElementBridge.initializeViewport(BridgeContext ctx, Element e, GraphicsNode node, float[] vb, Rectangle2D bounds)
          Initializes according to the specified element, the specified graphics node with the specified bounds.
protected static ICCColorSpaceExt SVGImageElementBridge.extractColorSpace(Element element, BridgeContext ctx)
          Analyzes the color-profile property and builds an ICCColorSpaceExt object from it.
protected static Rectangle2D SVGImageElementBridge.getImageBounds(BridgeContext ctx, Element element)
          Returns the bounds of the specified image element.
 Filter SVGFeTileElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
 Filter SVGFeCompositeElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
 Filter SVGFeColorMatrixElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
 ICCColorSpaceExt SVGColorProfileElementBridge.createICCColorSpaceExt(BridgeContext ctx, Element paintedElement, String iccProfileName)
          Creates an ICC_ColorSpace according to the specified parameters.
 Mask SVGMaskElementBridge.createMask(BridgeContext ctx, Element maskElement, Element maskedElement, GraphicsNode maskedNode)
          Creates a Mask according to the specified parameters.
 void SVGBridgeExtension.registerTags(BridgeContext ctx)
          This method should update the BridgeContext with support for the tags in this extension.
 SVGGVTFont SVGFontElementBridge.createFont(BridgeContext ctx, Element fontElement, Element textElement, float size, GVTFontFace fontFace)
          Constructs a new SVGGVTFont that represents the specified <font> element at the requested size.
 GraphicsNode SVGSwitchElementBridge.createGraphicsNode(BridgeContext ctx, Element e)
          Creates a GraphicsNode according to the specified parameters.
 void SVGSwitchElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node)
          Builds using the specified BridgeContext and element, the specified graphics node.
 void SVGDescriptiveElementBridge.handleElement(BridgeContext ctx, Element e)
          Invoked to handle an Element for a given BridgeContext.
 Filter SVGFeGaussianBlurElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
 Filter FilterBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode)
          Creates a Filter according to the specified parameters.
protected  void SVGCircleElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode)
          Constructs a circle according to the specified parameters.
protected  ShapePainter SVGCircleElementBridge.createShapePainter(BridgeContext ctx, Element e, ShapeNode shapeNode)
           
 Marker SVGMarkerElementBridge.createMarker(BridgeContext ctx, Element markerElement, Element paintedElement)
          Creates a Marker according to the specified parameters.
 Filter SVGFeMorphologyElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
protected  Paint SVGLinearGradientElementBridge.buildGradient(Element paintElement, Element paintedElement, GraphicsNode paintedNode, MultipleGradientPaint.CycleMethodEnum spreadMethod, MultipleGradientPaint.ColorSpaceEnum colorSpace, AffineTransform transform, Color[] colors, float[] offsets, BridgeContext ctx)
          Builds a linear gradient according to the specified parameters.
static ShapePainter PaintServer.convertMarkers(Element e, ShapeNode node, BridgeContext ctx)
          Returns a ShapePainter defined on the specified element and for the specified shape node.
static Marker PaintServer.convertMarker(Element e, Value v, BridgeContext ctx)
          Returns a Marker defined on the specified element by the specified value, and for the specified shape node.
static ShapePainter PaintServer.convertFillAndStroke(Element e, ShapeNode node, BridgeContext ctx)
          Returns a ShapePainter defined on the specified element and for the specified shape node, and using the specified bridge context.
static ShapePainter PaintServer.convertStrokePainter(Element e, ShapeNode node, BridgeContext ctx)
           
static Paint PaintServer.convertStrokePaint(Element strokedElement, GraphicsNode strokedNode, BridgeContext ctx)
          Converts for the specified element, its stroke paint properties to a Paint object.
static Paint PaintServer.convertFillPaint(Element filledElement, GraphicsNode filledNode, BridgeContext ctx)
          Converts for the specified element, its fill paint properties to a Paint object.
static Paint PaintServer.convertPaint(Element paintedElement, GraphicsNode paintedNode, Value paintDef, float opacity, BridgeContext ctx)
          Converts a Paint definition to a concrete java.awt.Paint instance according to the specified parameters.
static Paint PaintServer.silentConvertURIPaint(Element paintedElement, GraphicsNode paintedNode, Value paintDef, float opacity, BridgeContext ctx)
          Converts a Paint specified by URI without sending any error.
static Paint PaintServer.convertURIPaint(Element paintedElement, GraphicsNode paintedNode, Value paintDef, float opacity, BridgeContext ctx)
          Converts a Paint specified as a URI.
static Color PaintServer.convertRGBICCColor(Element paintedElement, Value colorDef, ICCColor iccColor, float opacity, BridgeContext ctx)
          Returns a Color object that corresponds to the input Paint's ICC color value or an RGB color if the related color profile could not be used or loaded for any reason.
static Color PaintServer.convertICCColor(Element e, ICCColor c, float opacity, BridgeContext ctx)
          Returns a Color object that corresponds to the input Paint's ICC color value or null if the related color profile could not be used or loaded for any reason.
 Glyph[] SVGAltGlyphElementBridge.createAltGlyphArray(BridgeContext ctx, Element altGlyphElement, float fontSize, AttributedCharacterIterator aci)
          Constructs an array of Glyphs that represents the specified <altGlyph> element at the requested size.
 GraphicsNode SVGUseElementBridge.createGraphicsNode(BridgeContext ctx, Element e)
          Creates a GraphicsNode according to the specified parameters.
 CompositeGraphicsNode SVGUseElementBridge.buildCompositeGraphicsNode(BridgeContext ctx, Element e, CompositeGraphicsNode gn)
          Creates a GraphicsNode from the input element and populates the input CompositeGraphicsNode
protected  AffineTransform SVGUseElementBridge.computeTransform(Element e, BridgeContext ctx)
          Computes the AffineTransform for the node
 void SVGUseElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node)
          Builds using the specified BridgeContext and element, the specified graphics node.
static String SVGUtilities.getChainableAttributeNS(Element element, String namespaceURI, String attrName, BridgeContext ctx)
          Returns the value of the specified attribute specified on the specified element or one of its ancestor.
static Rectangle2D SVGUtilities.convertMaskRegion(Element maskElement, Element maskedElement, GraphicsNode maskedNode, BridgeContext ctx)
          Returns the mask region according to the x, y, width, height, and maskUnits attributes.
static Rectangle2D SVGUtilities.convertPatternRegion(Element patternElement, Element paintedElement, GraphicsNode paintedNode, BridgeContext ctx)
          Returns the pattern region according to the x, y, width, height, and patternUnits attributes.
static float[] SVGUtilities.convertFilterRes(Element filterElement, BridgeContext ctx)
          Returns an array of 2 float numbers that describes the filter resolution of the specified filter element.
static Rectangle2D SVGUtilities.convertFilterChainRegion(Element filterElement, Element filteredElement, GraphicsNode filteredNode, BridgeContext ctx)
          Returns the filter region according to the x, y, width, height, dx, dy, dw, dh and filterUnits attributes.
static Rectangle2D SVGUtilities.convertFilterPrimitiveRegion(Element filterPrimitiveElement, Element filteredElement, GraphicsNode filteredNode, Rectangle2D defaultRegion, Rectangle2D filterRegion, BridgeContext ctx)
          Returns the filter primitive region according to the x, y, width, height, and filterUnits attributes.
 Filter SVGFeComponentTransferElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
protected  Paint SVGRadialGradientElementBridge.buildGradient(Element paintElement, Element paintedElement, GraphicsNode paintedNode, MultipleGradientPaint.CycleMethodEnum spreadMethod, MultipleGradientPaint.ColorSpaceEnum colorSpace, AffineTransform transform, Color[] colors, float[] offsets, BridgeContext ctx)
          Builds a radial gradient according to the specified parameters.
protected  void SVGPolygonElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode)
          Constructs a polygon according to the specified parameters.
protected  void SVGPathElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode)
          Constructs a path according to the specified parameters.
protected  ShapePainter SVGDecoratedShapeElementBridge.createShapePainter(BridgeContext ctx, Element e, ShapeNode shapeNode)
          Creates the shape painter associated to the specified element.
static boolean BaseScriptingEnvironment.isDynamicDocument(BridgeContext ctx, Document doc)
          Tells whether the given SVG document is dynamic.
static boolean BaseScriptingEnvironment.isDynamicElement(BridgeContext ctx, Element elt)
           
static boolean BaseScriptingEnvironment.isDynamicElement(Element elt, BridgeContext ctx, List bridgeExtensions)
          Tells whether the given SVG element is dynamic.
protected  void SVGEllipseElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode)
          Constructs an ellipse according to the specified parameters.
protected  ShapePainter SVGEllipseElementBridge.createShapePainter(BridgeContext ctx, Element e, ShapeNode shapeNode)
           
 

Constructors in org.apache.batik.bridge with parameters of type BridgeContext
SVGFontFamily(GVTFontFace fontFace, Element fontElement, BridgeContext ctx)
          Constructs an SVGFontFamily.
UnitProcessor.DefaultContext(BridgeContext ctx, Element e)
           
BridgeContext.EventListenerMememto(EventTarget t, String s, EventListener l, boolean b, BridgeContext ctx)
           
UpdateManager(BridgeContext ctx, GraphicsNode gn, Document doc)
          Creates a new update manager.
CursorManager(BridgeContext ctx)
          Creates a new CursorManager object.
SVGGVTFont(float fontSize, GVTFontFace fontFace, String[] glyphUnicodes, String[] glyphNames, String[] glyphLangs, String[] glyphOrientations, String[] glyphForms, BridgeContext ctx, Element[] glyphElements, Element missingGlyphElement, Element[] hkernElements, Element[] vkernElements, Element textElement)
          Constructs a new SVGGVTFont of the specified size.
SVGTextElementBridge.AbstractTextChildSVGContext(BridgeContext ctx, SVGTextElementBridge parent, Element e)
          Initialize the SVGContext implementation with the bridgeContext, the parent bridge, and the element supervised by this context
SVGTextElementBridge.AbstractTextChildBridgeUpdateHandler(BridgeContext ctx, SVGTextElementBridge parent, Element e)
          Initialize the BridgeUpdateHandler implementation.
SVGTextElementBridge.AbstractTextChildTextContent(BridgeContext ctx, SVGTextElementBridge parent, Element e)
          Initialize the AbstractTextChildBridgeUpdateHandler implementation.
SVGTextElementBridge.TRefBridge(BridgeContext ctx, SVGTextElementBridge parent, Element e)
           
SVGTextElementBridge.TextPathBridge(BridgeContext ctx, SVGTextElementBridge parent, Element e)
           
SVGTextElementBridge.TspanBridge(BridgeContext ctx, SVGTextElementBridge parent, Element e)
           
BridgeEventSupport.Listener(BridgeContext ctx, UserAgent u)
           
ScriptingEnvironment(BridgeContext ctx)
          Creates a new ScriptingEnvironment.
SVGAltGlyphHandler(BridgeContext ctx, Element textElement)
          Constructs an SVGAltGlyphHandler.
SVGUseElementBridge.CursorMouseOverListener(BridgeContext ctx)
           
BaseScriptingEnvironment(BridgeContext ctx)
          Creates a new BaseScriptingEnvironment.
 

Uses of BridgeContext in org.apache.batik.bridge.svg12
 

Methods in org.apache.batik.bridge.svg12 with parameters of type BridgeContext
 GraphicsNode SVGMultiImageElementBridge.createGraphicsNode(BridgeContext ctx, Element e)
          Creates a graphics node using the specified BridgeContext and for the specified element.
 void SVGMultiImageElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node)
           
protected  void SVGMultiImageElementBridge.initializeDynamicSupport(BridgeContext ctx, Element e, GraphicsNode node)
          This method is invoked during the build phase if the document is dynamic.
 Paint SVGSolidColorElementBridge.createPaint(BridgeContext ctx, Element paintElement, Element paintedElement, GraphicsNode paintedNode, float opacity)
          Creates a Paint according to the specified parameters.
protected static float SVGSolidColorElementBridge.extractOpacity(Element paintElement, float opacity, BridgeContext ctx)
           
protected static Color SVGSolidColorElementBridge.extractColor(Element paintElement, float opacity, BridgeContext ctx)
           
protected  Point2D SVGFlowRootElementBridge.getLocation(BridgeContext ctx, Element e)
          Returns the text node location In this case the text node may have serveral effective locations (one for each flow region).
protected  void SVGFlowRootElementBridge.computeLaidoutText(BridgeContext ctx, Element e, GraphicsNode node)
           
protected  AttributedString SVGFlowRootElementBridge.buildAttributedString(BridgeContext ctx, Element element)
          Creates the attributed string which represents the given text element children.
protected  AttributedString SVGFlowRootElementBridge.getFlowDiv(BridgeContext ctx, Element element)
           
protected  AttributedString SVGFlowRootElementBridge.gatherFlowPara(BridgeContext ctx, Element div)
           
protected  List SVGFlowRootElementBridge.getRegions(BridgeContext ctx, Element element)
           
protected  void SVGFlowRootElementBridge.gatherRegionInfo(BridgeContext ctx, Element rgn, float verticalAlign, List regions)
           
protected  void SVGFlowRootElementBridge.fillAttributedStringBuffer(BridgeContext ctx, Element element, boolean top, Integer bidiLevel, SVGTextElementBridge.AttributedStringBuffer asb, List lnLocs)
          Fills the given AttributedStringBuffer.
protected  Map SVGFlowRootElementBridge.getAttributeMap(BridgeContext ctx, Element element, TextPath textPath, Integer bidiLevel)
          Returns the map to pass to the current characters.
 BlockInfo SVGFlowRootElementBridge.makeBlockInfo(BridgeContext ctx, Element element)
           
protected  float SVGFlowRootElementBridge.getLineHeight(BridgeContext ctx, Element element, float fontSize)
           
 void SVG12BridgeExtension.registerTags(BridgeContext ctx)
          This method should update the BridgeContext with support for the tags in this extension.
 

Uses of BridgeContext in org.apache.batik.extension.svg
 

Methods in org.apache.batik.extension.svg with parameters of type BridgeContext
 void BatikBridgeExtension.registerTags(BridgeContext ctx)
          This method should update the BridgeContext with support for the tags in this extension.
protected  Point2D BatikFlowTextElementBridge.getLocation(BridgeContext ctx, Element e)
          Returns the text node location In this case the text node may have serveral effective locations (one for each flow region).
protected  AttributedString BatikFlowTextElementBridge.buildAttributedString(BridgeContext ctx, Element element)
          Creates the attributed string which represents the given text element children.
protected  void BatikFlowTextElementBridge.addGlyphPositionAttributes(AttributedString as, Element element, BridgeContext ctx)
          Adds glyph position attributes to an AttributedString.
protected  void BatikFlowTextElementBridge.addChildGlyphPositionAttributes(AttributedString as, Element element, BridgeContext ctx)
           
protected  void BatikFlowTextElementBridge.addNullPaintAttributes(AttributedString as, Element element, BridgeContext ctx)
           
protected  void BatikFlowTextElementBridge.addChildNullPaintAttributes(AttributedString as, Element element, BridgeContext ctx)
           
protected  void BatikFlowTextElementBridge.addPaintAttributes(AttributedString as, Element element, TextNode node, TextPaintInfo parentPI, BridgeContext ctx)
          Adds painting attributes to an AttributedString.
protected  void BatikFlowTextElementBridge.addChildPaintAttributes(AttributedString as, Element element, TextNode node, TextPaintInfo parentPI, BridgeContext ctx)
           
protected  AttributedString BatikFlowTextElementBridge.getFlowDiv(BridgeContext ctx, Element element)
           
protected  AttributedString BatikFlowTextElementBridge.gatherFlowPara(BridgeContext ctx, Element div)
           
protected  List BatikFlowTextElementBridge.getRegions(BridgeContext ctx, Element element)
           
protected  void BatikFlowTextElementBridge.gatherRegionInfo(BridgeContext ctx, Element rgn, float verticalAlign, List regions)
           
protected  void BatikFlowTextElementBridge.fillAttributedStringBuffer(BridgeContext ctx, Element element, boolean top, Integer bidiLevel, SVGTextElementBridge.AttributedStringBuffer asb, List lnLocs)
          Fills the given AttributedStringBuffer.
protected  Map BatikFlowTextElementBridge.getAttributeMap(BridgeContext ctx, Element element, TextPath textPath, Integer bidiLevel)
          Returns the map to pass to the current characters.
 Filter BatikHistogramNormalizationElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap)
          Creates a Filter primitive according to the specified parameters.
protected  void BatikRegularPolygonElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode)
          Constructs a regular polygone according to the specified parameters.
protected  void BatikStarElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode)
          Constructs a star polygone according to the specified parameters.
 Paint ColorSwitchBridge.createPaint(BridgeContext ctx, Element paintElement, Element paintedElement, GraphicsNode paintedNode, float opacity)
          Creates a Paint according to the specified parameters.
 

Uses of BridgeContext in org.apache.batik.gvt.svg12
 

Constructors in org.apache.batik.gvt.svg12 with parameters of type BridgeContext
MultiResGraphicsNode(Element multiImgElem, Rectangle2D bounds, Element[] srcElems, Dimension[] minSz, Dimension[] maxSz, BridgeContext ctx)
           
 

Uses of BridgeContext in org.apache.batik.script
 

Methods in org.apache.batik.script that return BridgeContext
 BridgeContext Window.getBridgeContext()
          Returns the current BridgeContext.
 

Uses of BridgeContext in org.apache.batik.swing.svg
 

Fields in org.apache.batik.swing.svg declared as BridgeContext
protected  BridgeContext GVTTreeBuilder.bridgeContext
          The bridge context to use.
protected  BridgeContext SVGLoadEventDispatcher.bridgeContext
          The bridge context to use.
protected  BridgeContext JSVGComponent.bridgeContext
          The current bridge context.
 

Methods in org.apache.batik.swing.svg that return BridgeContext
protected  BridgeContext JSVGComponent.createBridgeContext()
          Creates a new bridge context.
 

Constructors in org.apache.batik.swing.svg with parameters of type BridgeContext
GVTTreeBuilder(SVGDocument doc, BridgeContext bc)
          Creates a new GVTTreeBuilder.
SVGLoadEventDispatcher(GraphicsNode gn, SVGDocument doc, BridgeContext bc, UpdateManager um)
          Creates a new SVGLoadEventDispatcher.
 

Uses of BridgeContext in org.apache.batik.transcoder
 

Fields in org.apache.batik.transcoder declared as BridgeContext
protected  BridgeContext SVGAbstractTranscoder.ctx
          Current bridge context
 

Methods in org.apache.batik.transcoder that return BridgeContext
protected  BridgeContext SVGAbstractTranscoder.createBridgeContext()
          Factory method for constructing an configuring a BridgeContext so subclasses can insert new/modified bridges in the context.
 



Copyright ? 2005 Apache Software Foundation. All Rights Reserved.