Uses of Class
org.apache.batik.bridge.BridgeContext
Packages that use BridgeContext
Package
Description
Provides an API for mapping and maintaining consistency between
the SVG DOM tree and the GVT tree.
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 BridgeContextModifier and TypeFieldDescriptionprotected BridgeContextBaseScriptingEnvironment.bridgeContextThe bridge context.protected BridgeContextUpdateManager.bridgeContextThe bridge context.protected BridgeContextBridgeEventSupport.Listener.contextprotected BridgeContextAnimatableSVGBridge.ctxThe bridge context to use for dynamic updates.protected BridgeContextCursorManager.ctxBridgeContext associated with this CursorManagerprotected BridgeContextSVGAnimationElementBridge.ctxThe BridgeContext to be used.protected BridgeContextSVGAnimationEngine.ctxThe BridgeContext to use for value parsing.protected BridgeContextSVGDocumentBridge.ctxThe bridge context.protected BridgeContextSVGFontFamily.ctxprotected BridgeContextSVGUseElementBridge.CursorMouseOverListener.ctxprotected BridgeContextUnitProcessor.DefaultContext.ctxThe bridge context.protected BridgeContextUserAgentAdapter.ctxThe BridgeContext to use for error information.protected BridgeContextBridgeContext.primaryContextThe bridge context for the primary document, if this is a bridge context for a resource document.protected BridgeContext[]UpdateManager.secondaryBridgeContextsArray of resource documents' BridgeContexts.protected BridgeContextSVGImageElementBridge.subCtxprotected BridgeContextSVGUseElementBridge.subCtxThe bridge context for the referenced document.Methods in org.apache.batik.bridge that return BridgeContextModifier and TypeMethodDescriptionBridgeContext.createBridgeContext(SVGOMDocument doc) This function creates a new BridgeContext, it mostly exists so subclasses can provide an instance of themselves when a sub BridgeContext is needed.BridgeContext.createSubBridgeContext(SVGOMDocument newDoc) This function creates a new 'sub' BridgeContext to associated with 'newDoc' if one currently doesn't exist, otherwise it returns the BridgeContext currently associated with the document.BaseScriptingEnvironment.Window.getBridgeContext()Returns the current BridgeContext.ScriptingEnvironment.Window.getBridgeContext()Returns the current BridgeContext.protected static BridgeContextUnitProcessor.getBridgeContext(UnitProcessor.Context ctx) Returns theBridgeContextfrom the givenUnitProcessor.Contextif it is aUnitProcessor.DefaultContext, or null otherwise.UpdateManager.getBridgeContext()Returns the bridge context.Window.getBridgeContext()Returns the current BridgeContext.BridgeContext.getChildContexts()Returns an array of the child contexts.BridgeContext.getPrimaryBridgeContext()Returns the primary bridge context.Methods in org.apache.batik.bridge with parameters of type BridgeContextModifier and TypeMethodDescriptionprotected voidSVGTextElementBridge.addChildGlyphPositionAttributes(AttributedString as, Element element, BridgeContext ctx) protected voidSVGTextElementBridge.addChildPaintAttributes(AttributedString as, Element element, TextNode node, TextPaintInfo parentPI, BridgeContext ctx) protected voidSVGTextElementBridge.addContextToChild(BridgeContext ctx, Element e) Add to the element children of the node, anSVGContextto support dynamic update.protected voidSVGTextElementBridge.addGlyphPositionAttributes(AttributedString as, Element element, BridgeContext ctx) Adds glyph position attributes to an AttributedString.static voidBridgeEventSupport.addGVTListener(BridgeContext ctx, Document doc) Is called only for the root element in order to dispatch GVT events to the DOM.protected voidSVGTextElementBridge.addPaintAttributes(AttributedString as, Element element, TextNode node, TextPaintInfo pi, BridgeContext ctx) Adds painting attributes to an AttributedString.protected voidSVGTextElementBridge.addTextEventListeners(BridgeContext ctx, NodeEventTarget e) Adds the DOM listeners for this text bridge.protected voidAbstractGraphicsNodeBridge.associateSVGContext(BridgeContext ctx, Element e, GraphicsNode node) Associates theSVGContextwith the element.GVTBuilder.build(BridgeContext ctx, Document document) Builds using the specified bridge context the specified SVG document.GVTBuilder.build(BridgeContext ctx, Element e) Builds using the specified bridge context the specified Element.protected AttributedStringSVGTextElementBridge.buildAttributedString(BridgeContext ctx, Element element) Creates the attributed string which represents the given text element children.protected voidGVTBuilder.buildComposite(BridgeContext ctx, Element e, CompositeGraphicsNode parentNode) Builds a composite Element.SVGUseElementBridge.buildCompositeGraphicsNode(BridgeContext ctx, Element e, CompositeGraphicsNode gn) Creates aGraphicsNodefrom the input element and populates the inputCompositeGraphicsNodeprotected static FilterSVGFilterElementBridge.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 abstract PaintAbstractSVGGradientElementBridge.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 PaintSVGLinearGradientElementBridge.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.protected PaintSVGRadialGradientElementBridge.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.voidAbstractGraphicsNodeBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node) Builds using the specified BridgeContext and element, the specified graphics node.voidDocumentBridge.buildGraphicsNode(BridgeContext ctx, Document doc, RootGraphicsNode node) Builds using the specified BridgeContext and element, the specified graphics node.voidGraphicsNodeBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node) Builds using the specified BridgeContext and element, the specified graphics node.protected voidGVTBuilder.buildGraphicsNode(BridgeContext ctx, Element e, CompositeGraphicsNode parentNode) Builds a 'leaf' Element.voidSVGAElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node) Builds using the specified BridgeContext and element, the specified graphics node.voidSVGDocumentBridge.buildGraphicsNode(BridgeContext ctx, Document doc, RootGraphicsNode node) Builds using the specified BridgeContext and element, the specified graphics node.voidSVGShapeElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node) Builds using the specified BridgeContext and element, the specified graphics node.voidSVGSVGElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node) Builds using the specified BridgeContext and element, the specified graphics node.voidSVGTextElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node) Builds using the specified BridgeContext and element, the specified graphics node.voidSVGUseElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node) Builds using the specified BridgeContext and element, the specified graphics node.protected GraphicsNodeSVGImageElementBridge.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 static FilterSVGFilterElementBridge.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.protected voidSVGCircleElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode) Constructs a circle according to the specified parameters.protected voidSVGEllipseElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode) Constructs an ellipse according to the specified parameters.protected voidSVGLineElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode) Constructs a line according to the specified parameters.protected voidSVGPathElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode) Constructs a path according to the specified parameters.protected voidSVGPolygonElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode) Constructs a polygon according to the specified parameters.protected voidSVGPolylineElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode) Constructs a polyline according to the specified parameters.protected voidSVGRectElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode) Constructs a rectangle according to the specified parameters.protected abstract voidSVGShapeElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode node) Initializes the specified ShapeNode's shape defined by the specified Element and using the specified bridge context.protected voidSVGTextElementBridge.computeLaidoutText(BridgeContext ctx, Element e, GraphicsNode node) Recompute the layout of the <text> node.protected AffineTransformAbstractGraphicsNodeBridge.computeTransform(org.w3c.dom.svg.SVGTransformable te, BridgeContext ctx) Returns anAffineTransformthat is the transformation to be applied to the node.protected AffineTransformSVGUseElementBridge.computeTransform(org.w3c.dom.svg.SVGTransformable e, BridgeContext ctx) Returns anAffineTransformthat is the transformation to be applied to the node.protected static float[]SVGFeTurbulenceElementBridge.convertBaseFrenquency(Element e, BridgeContext ctx) Converts the 'baseFrequency' attribute of the specified feTurbulence element.protected static ARGBChannelSVGFeDisplacementMapElementBridge.convertChannelSelector(Element filterElement, String attrName, ARGBChannel defaultChannel, BridgeContext ctx) Returns the channel for the specified feDisplacementMap filter primitive attribute, considering the specified attribute name.static ColorPaintServer.convertCIELabColor(Element e, CIELabColor c, float opacity, BridgeContext ctx) Returns a Color object that corresponds to the input Paint's CIE Lab color value.static ClipRableCSSUtilities.convertClipPath(Element clippedElement, GraphicsNode clippedNode, BridgeContext ctx) Returns aClipreferenced by the specified element and which applies on the specified graphics node.static CursorCSSUtilities.convertCursor(Element e, BridgeContext ctx) Returns the Cursor corresponding to the input element's cursor propertystatic ColorPaintServer.convertDeviceColor(Element e, Value srgb, DeviceColor c, float opacity, BridgeContext ctx) Returns a Color object that corresponds to the input Paint's device-specific color value.protected static floatSVGFeConvolveMatrixElementBridge.convertDivisor(Element filterElement, float[] kernelMatrix, BridgeContext ctx) Convert the 'divisor' attribute of the specified feConvolveMatrix filter primitive element.protected static PadModeSVGFeConvolveMatrixElementBridge.convertEdgeMode(Element filterElement, BridgeContext ctx) Convert the 'edgeMode' attribute of the specified feConvolveMatrix filter primitive element.static ShapePainterPaintServer.convertFillAndStroke(Element e, ShapeNode node, BridgeContext ctx) Returns aShapePainterdefined on the specified element and for the specified shape node, and using the specified bridge context.static PaintPaintServer.convertFillPaint(Element filledElement, GraphicsNode filledNode, BridgeContext ctx) Converts for the specified element, its fill paint properties to a Paint object.static FilterCSSUtilities.convertFilter(Element filteredElement, GraphicsNode filteredNode, BridgeContext ctx) Returns aFilterreferenced by the specified element and which applies on the specified graphics node.static Rectangle2DSVGUtilities.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 Rectangle2DSVGUtilities.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.static Rectangle2DSVGUtilities.convertFilterPrimitiveRegion(Element filterPrimitiveElement, Element filterElement, 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.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 ColorCSSUtilities.convertFloodColor(Element e, BridgeContext ctx) Converts the color defined on the specified <feFlood> element to aColor.static ColorPaintServer.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.static ColorPaintServer.convertICCNamedColor(Element e, ICCNamedColor c, float opacity, BridgeContext ctx) Returns a Color object that corresponds to the input Paint's ICC named color value or null if the related color profile could not be used or loaded for any reason.protected static intAbstractSVGFilterPrimitiveElementBridge.convertInteger(Element filterElement, String attrName, int defaultValue, BridgeContext ctx) Converts on the specified filter primitive element, the specified attribute that represents an integer and with the specified default value.protected static float[]SVGFeConvolveMatrixElementBridge.convertKernelMatrix(Element filterElement, int[] orderXY, BridgeContext ctx) Convert the 'kernelMatrix' attribute of the specified feConvolveMatrix filter primitive element.protected static double[]AbstractSVGLightingElementBridge.convertKernelUnitLength(Element filterElement, BridgeContext ctx) Convert the 'kernelUnitLength' attribute of the specified feDiffuseLighting or feSpecularLighting filter primitive element.protected static double[]SVGFeConvolveMatrixElementBridge.convertKernelUnitLength(Element filterElement, BridgeContext ctx) Convert the 'kernelUnitLength' attribute of the specified feConvolveMatrix filter primitive element.static ColorCSSUtilities.convertLightingColor(Element e, BridgeContext ctx) Converts the color defined on the specified lighting filter element to aColor.static MarkerPaintServer.convertMarker(Element e, Value v, BridgeContext ctx) Returns aMarkerdefined on the specified element by the specified value, and for the specified shape node.static ShapePainterPaintServer.convertMarkers(Element e, ShapeNode node, BridgeContext ctx) Returns aShapePainterdefined on the specified element and for the specified shape node.static MaskCSSUtilities.convertMask(Element maskedElement, GraphicsNode maskedNode, BridgeContext ctx) Returns aMaskreferenced by the specified element and which applies on the specified graphics node.static Rectangle2DSVGUtilities.convertMaskRegion(Element maskElement, Element maskedElement, GraphicsNode maskedNode, BridgeContext ctx) Returns the mask region according to the x, y, width, height, and maskUnits attributes.protected static CompositeRuleSVGFeBlendElementBridge.convertMode(Element filterElement, BridgeContext ctx) Converts the 'mode' of the specified feBlend filter primitive.protected static floatAbstractSVGFilterPrimitiveElementBridge.convertNumber(Element filterElement, String attrName, float defaultValue, BridgeContext ctx) Converts on the specified filter primitive element, the specified attribute that represents a float and with the specified default value.protected static CompositeRuleSVGFeCompositeElementBridge.convertOperator(Element filterElement, BridgeContext ctx) Converts the 'operator' attribute of the specified feComposite filter primitive element.protected static booleanSVGFeMorphologyElementBridge.convertOperator(Element filterElement, BridgeContext ctx) Returns the 'operator' of the specified feMorphology filter primitive.protected static int[]SVGFeConvolveMatrixElementBridge.convertOrder(Element filterElement, BridgeContext ctx) Convert the 'order' attribute of the specified feConvolveMatrix filter primitive element.static PaintPaintServer.convertPaint(Element paintedElement, GraphicsNode paintedNode, Value paintDef, float opacity, BridgeContext ctx) Converts a Paint definition to a concretejava.awt.Paintinstance according to the specified parameters.static Rectangle2DSVGUtilities.convertPatternRegion(Element patternElement, Element paintedElement, GraphicsNode paintedNode, BridgeContext ctx) Returns the pattern region according to the x, y, width, height, and patternUnits attributes.protected static booleanSVGFeConvolveMatrixElementBridge.convertPreserveAlpha(Element filterElement, BridgeContext ctx) Convert the 'preserveAlpha' attribute of the specified feConvolveMatrix filter primitive element.protected static float[]SVGFeMorphologyElementBridge.convertRadius(Element filterElement, BridgeContext ctx) Returns the radius (or radii) of the specified feMorphology filter primitive.static ColorPaintServer.convertRGBICCColor(Element paintedElement, Value colorDef, Value 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 floatSVGUtilities.convertSnapshotTime(Element e, BridgeContext ctx) Returns the value of the 'snapshotTime' attribute on the specified element as a float, or0fif the attribute is missing or given as"none".protected static floatSVGFeSpecularLightingElementBridge.convertSpecularExponent(Element filterElement, BridgeContext ctx) Returns the specular exponent of the specular feSpecularLighting filter primitive element.protected static MultipleGradientPaint.CycleMethodEnumAbstractSVGGradientElementBridge.convertSpreadMethod(Element paintElement, String s, BridgeContext ctx) Converts the spreadMethod attribute.protected static float[]SVGFeGaussianBlurElementBridge.convertStdDeviation(Element filterElement, BridgeContext ctx) Returns the standard deviation of the specified feGaussianBlur filter primitive element.protected static booleanSVGFeTurbulenceElementBridge.convertStitchTiles(Element e, BridgeContext ctx) Converts the 'stitchTiles' attribute of the specified feTurbulence element.static ColorCSSUtilities.convertStopColor(Element e, float opacity, BridgeContext ctx) Converts the color defined on the specified <stop> element to aColor.static PaintPaintServer.convertStrokePaint(Element strokedElement, GraphicsNode strokedNode, BridgeContext ctx) Converts for the specified element, its stroke paint properties to a Paint object.static ShapePainterPaintServer.convertStrokePainter(Element e, ShapeNode node, BridgeContext ctx) static Float[]SVGUtilities.convertSVGNumberOptionalNumber(Element elem, String attrName, String attrValue, BridgeContext ctx) This function parses attrValue for a number followed by an optional second Number.protected static float[]SVGFeComponentTransferElementBridge.SVGFeFuncElementBridge.convertTableValues(Element e, BridgeContext ctx) Converts the 'tableValues' attribute of the specified component transfer function element.protected static int[]SVGFeConvolveMatrixElementBridge.convertTarget(Element filterElement, int[] orderXY, BridgeContext ctx) Convert the 'targetX' and 'targetY' attributes of the specified feConvolveMatrix filter primitive element.static AffineTransformSVGUtilities.convertTransform(Element e, String attr, String transform, BridgeContext ctx) Returns an AffineTransform according to the specified parameters.protected static intSVGFeColorMatrixElementBridge.convertType(Element filterElement, BridgeContext ctx) Converts the type of the specified color matrix filter primitive.protected static intSVGFeComponentTransferElementBridge.SVGFeFuncElementBridge.convertType(Element e, BridgeContext ctx) Converts the type of the specified component transfert function element.protected static booleanSVGFeTurbulenceElementBridge.convertType(Element e, BridgeContext ctx) Converts the 'type' attribute of the specified feTurbulence element.static PaintPaintServer.convertURIPaint(Element paintedElement, GraphicsNode paintedNode, Value paintDef, float opacity, BridgeContext ctx) Converts a Paint specified as a URI.protected static floatSVGFeColorMatrixElementBridge.convertValuesToHueRotate(Element filterElement, BridgeContext ctx) Converts the 'values' attribute of the specified feColorMatrix filter primitive element for the 'hueRotate' type.protected static float[][]SVGFeColorMatrixElementBridge.convertValuesToMatrix(Element filterElement, BridgeContext ctx) Converts the 'values' attribute of the specified feColorMatrix filter primitive element for the 'matrix' type.protected static floatSVGFeColorMatrixElementBridge.convertValuesToSaturate(Element filterElement, BridgeContext ctx) Converts the 'values' attribute of the specified feColorMatrix filter primitive element for the 'saturate' type.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.ClipBridge.createClip(BridgeContext ctx, Element clipElement, Element clipedElement, GraphicsNode clipedNode) Creates aClipaccording to the specified parameters.SVGClipPathElementBridge.createClip(BridgeContext ctx, Element clipElement, Element clipedElement, GraphicsNode clipedNode) Creates aClipaccording to the specified parameters.static UnitProcessor.ContextUnitProcessor.createContext(BridgeContext ctx, Element e) Creates a context for the specified element.protected static FilterSVGFilterElementBridge.createEmptyFilter(Element filterElement, Rectangle2D filterRegion, Element filteredElement, GraphicsNode filteredNode, BridgeContext ctx) Creates a new returns a new filter that fills its output with transparent black.protected ShapePainterSVGLineElementBridge.createFillStrokePainter(BridgeContext ctx, Element e, ShapeNode shapeNode) Creates the shape painter associated to the specified element.FilterBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode) Creates aFilteraccording to the specified parameters.FilterPrimitiveBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter in, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFeBlendElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFeColorMatrixElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFeComponentTransferElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFeCompositeElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFeConvolveMatrixElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFeDiffuseLightingElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFeDisplacementMapElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFeFloodElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFeGaussianBlurElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFeImageElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFeMergeElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFeMergeElementBridge.SVGFeMergeNodeElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Map filterMap) Creates aFilteraccording to the specified parameters.SVGFeMorphologyElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFeOffsetElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFeSpecularLightingElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFeTileElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFeTurbulenceElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.SVGFilterElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode) Creates aFilteraccording to the specified parameters.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.SVGFontFaceElementBridge.createFontFace(BridgeContext ctx, Element fontFaceElement) Creates an SVGFontFace that repesents the specified <font-face> element.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.AbstractGraphicsNodeBridge.createGraphicsNode(BridgeContext ctx, Element e) Creates aGraphicsNodeaccording to the specified parameters.DocumentBridge.createGraphicsNode(BridgeContext ctx, Document doc) Creates aGraphicsNodeaccording to the specified parameters.GraphicsNodeBridge.createGraphicsNode(BridgeContext ctx, Element e) Creates aGraphicsNodeaccording to the specified parameters.SVGDocumentBridge.createGraphicsNode(BridgeContext ctx, Document doc) Creates aGraphicsNodeaccording to the specified parameters.SVGGElementBridge.createGraphicsNode(BridgeContext ctx, Element e) Creates aGraphicsNodeaccording to the specified parameters.SVGImageElementBridge.createGraphicsNode(BridgeContext ctx, Element e) Creates a graphics node using the specified BridgeContext and for the specified element.SVGShapeElementBridge.createGraphicsNode(BridgeContext ctx, Element e) Creates a graphics node using the specified BridgeContext and for the specified element.SVGSVGElementBridge.createGraphicsNode(BridgeContext ctx, Element e) Creates aGraphicsNodeaccording to the specified parameters.SVGSwitchElementBridge.createGraphicsNode(BridgeContext ctx, Element e) Creates aGraphicsNodeaccording to the specified parameters.SVGTextElementBridge.createGraphicsNode(BridgeContext ctx, Element e) Creates aGraphicsNodeaccording to the specified parameters.SVGUseElementBridge.createGraphicsNode(BridgeContext ctx, Element e) Creates aGraphicsNodeaccording to the specified parameters.org.apache.xmlgraphics.java2d.color.ICCColorSpaceWithIntentSVGColorProfileElementBridge.createICCColorSpaceWithIntent(BridgeContext ctx, Element paintedElement, String iccProfileName) Creates an ICC_ColorSpace according to the specified parameters.protected GraphicsNodeSVGImageElementBridge.createImageGraphicsNode(BridgeContext ctx, Element e, ParsedURL purl) SVGKernElementBridge.createKern(BridgeContext ctx, Element kernElement, SVGGVTFont font) Creates a Kern object that repesents the specified kerning element.abstract LightAbstractSVGLightingElementBridge.AbstractSVGLightElementBridge.createLight(BridgeContext ctx, Element filterElement, Element lightElement, Color color) Creates aLightaccording to the specified parameters.AbstractSVGLightingElementBridge.SVGFeDistantLightElementBridge.createLight(BridgeContext ctx, Element filterElement, Element lightElement, Color color) Creates aLightaccording to the specified parameters.AbstractSVGLightingElementBridge.SVGFePointLightElementBridge.createLight(BridgeContext ctx, Element filterElement, Element lightElement, Color color) Creates aLightaccording to the specified parameters.AbstractSVGLightingElementBridge.SVGFeSpotLightElementBridge.createLight(BridgeContext ctx, Element filterElement, Element lightElement, Color color) Creates aLightaccording to the specified parameters.MarkerBridge.createMarker(BridgeContext ctx, Element markerElement, Element paintedElement) Creates aMarkeraccording to the specified parameters.SVGMarkerElementBridge.createMarker(BridgeContext ctx, Element markerElement, Element paintedElement) Creates aMarkeraccording to the specified parameters.MaskBridge.createMask(BridgeContext ctx, Element maskElement, Element maskedElement, GraphicsNode maskedNode) Creates aMaskaccording to the specified parameters.SVGMaskElementBridge.createMask(BridgeContext ctx, Element maskElement, Element maskedElement, GraphicsNode maskedNode) Creates aMaskaccording to the specified parameters.AbstractSVGGradientElementBridge.createPaint(BridgeContext ctx, Element paintElement, Element paintedElement, GraphicsNode paintedNode, float opacity) Creates aPaintaccording to the specified parameters.PaintBridge.createPaint(BridgeContext ctx, Element paintElement, Element paintedElement, GraphicsNode paintedNode, float opacity) Creates aPaintaccording to the specified parameters.SVGPatternElementBridge.createPaint(BridgeContext ctx, Element patternElement, Element paintedElement, GraphicsNode paintedNode, float opacity) Creates aPaintaccording to the specified parameters.protected static FilterSVGFeImageElementBridge.createRasterFeImage(BridgeContext ctx, Rectangle2D primitiveRegion, ParsedURL purl) Returns a Filter that represents an raster image (JPG or PNG).protected GraphicsNodeSVGImageElementBridge.createRasterImageNode(BridgeContext ctx, Element e, Filter img, ParsedURL purl) Returns a GraphicsNode that represents an raster image in JPEG or PNG format.protected ShapePainterSVGCircleElementBridge.createShapePainter(BridgeContext ctx, Element e, ShapeNode shapeNode) protected ShapePainterSVGDecoratedShapeElementBridge.createShapePainter(BridgeContext ctx, Element e, ShapeNode shapeNode) Creates the shape painter associated to the specified element.protected ShapePainterSVGEllipseElementBridge.createShapePainter(BridgeContext ctx, Element e, ShapeNode shapeNode) protected ShapePainterSVGRectElementBridge.createShapePainter(BridgeContext ctx, Element e, ShapeNode shapeNode) protected ShapePainterSVGShapeElementBridge.createShapePainter(BridgeContext ctx, Element e, ShapeNode shapeNode) Creates the shape painter associated to the specified element.AbstractSVGGradientElementBridge.SVGStopElementBridge.createStop(BridgeContext ctx, Element gradientElement, Element stopElement, float opacity) Creates aStopaccording to the specified parameters.protected static FilterSVGFeImageElementBridge.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 GraphicsNodeSVGImageElementBridge.createSVGImageNode(BridgeContext ctx, Element e, org.w3c.dom.svg.SVGDocument imgDocument) Returns a GraphicsNode that represents a svg document as an image.SVGTextPathElementBridge.createTextPath(BridgeContext ctx, Element textPathElement) Creates a TextPath object that represents the path along which the text is to be rendered.protected voidUpdateManager.dispatchSVGLoadEvent(BridgeContext ctx, ScriptingEnvironment se) Dispatches an 'SVGLoad' event to the document.protected static org.apache.xmlgraphics.java2d.color.ICCColorSpaceWithIntentSVGImageElementBridge.extractColorSpace(Element element, BridgeContext ctx) Analyzes the color-profile property and builds an ICCColorSpaceExt object from it.protected static ListSVGFeMergeElementBridge.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.protected static LightAbstractSVGLightingElementBridge.extractLight(Element filterElement, BridgeContext ctx) Returns the light from the specified lighting filter primitive element or null if anyprotected static RootGraphicsNodeSVGPatternElementBridge.extractLocalPatternContent(Element e, BridgeContext ctx) Returns the content of the specified pattern element or null if any.protected static ListAbstractSVGGradientElementBridge.extractLocalStop(Element gradientElement, float opacity, BridgeContext ctx) Returns a list ofStopelements, children of the specified paintElement can have or null if any.protected static RootGraphicsNodeSVGPatternElementBridge.extractPatternContent(Element patternElement, BridgeContext ctx) Returns the content of the specified pattern element.protected static ListAbstractSVGGradientElementBridge.extractStop(Element paintElement, float opacity, BridgeContext ctx) Returns the stops elements of the specified gradient element.protected voidSVGTextElementBridge.fillAttributedStringBuffer(BridgeContext ctx, Element element, boolean top, TextPath textPath, Integer bidiLevel, Map initialAttributes, SVGTextElementBridge.AttributedStringBuffer asb) Fills the given AttributedStringBuffer.protected MapSVGTextElementBridge.getAttributeMap(BridgeContext ctx, Element element, TextPath textPath, Integer bidiLevel, Map result) Returns the map to pass to the current characters.protected ElementFontFace.getBaseElement(BridgeContext ctx) Default implementation uses the root element of the document associated with BridgeContext.protected ElementSVGFontFace.getBaseElement(BridgeContext ctx) Default implementation uses the root element of the document associated with BridgeContext.static Rectangle2DSVGUtilities.getBaseFilterPrimitiveRegion(Element filterPrimitiveElement, Element filteredElement, GraphicsNode filteredNode, Rectangle2D defaultRegion, BridgeContext ctx) static StringSVGUtilities.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 ListSVGFontUtilities.getFontFaces(Document doc, BridgeContext ctx) CSSFontFace.getFontFamily(BridgeContext ctx) Returns the font associated with this rule or element.FontFace.getFontFamily(BridgeContext ctx) Returns the font associated with this rule or element.protected GVTFontFamilyFontFace.getFontFamily(BridgeContext ctx, ParsedURL purl) Tries to build a GVTFontFamily from a URL referenceSVGFontFace.getFontFamily(BridgeContext ctx) Returns the font associated with this rule or element.static GVTFontFamilySVGFontUtilities.getFontFamily(Element textElement, BridgeContext ctx, String fontFamilyName, String fontWeight, String fontStyle) Given a font family name tries to find a matching SVG font object.protected ListSVGTextElementBridge.getFontList(BridgeContext ctx, Element element, Map result) This method adds all the font related properties toresultIt also builds a List of the GVTFonts and returns it.protected static Rectangle2DSVGImageElementBridge.getImageBounds(BridgeContext ctx, Element element) Returns the bounds of the specified image element.protected static FilterAbstractSVGFilterPrimitiveElementBridge.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 FilterAbstractSVGFilterPrimitiveElementBridge.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.protected Point2DSVGTextElementBridge.getLocation(BridgeContext ctx, Element e) Returns the text node location according to the 'x' and 'y' attributes of the specified text element.static AffineTransformViewBox.getPreserveAspectRatioTransform(Element e, float[] vb, float w, float h, BridgeContext ctx) Returns the transformation matrix to apply to initalize a viewport or null if the specified viewBox disables the rendering of the element.static AffineTransformViewBox.getPreserveAspectRatioTransform(Element e, float[] vb, float w, float h, org.w3c.dom.svg.SVGAnimatedPreserveAspectRatio aPAR, BridgeContext ctx) Returns the transformation matrix to apply to initalize a viewport or null if the specified viewBox disables the rendering of the element.static AffineTransformViewBox.getPreserveAspectRatioTransform(Element e, float w, float h, BridgeContext ctx) Returns the transformation matrix to apply to initalize a viewport or null if the specified viewBox disables the rendering of the element.static AffineTransformViewBox.getPreserveAspectRatioTransform(Element e, String viewBox, String aspectRatio, float w, float h, BridgeContext ctx) Returns the transformation matrix to apply to initalize a viewport or null if the specified viewBox disables the rendering of the element.static AffineTransformViewBox.getPreserveAspectRatioTransform(Element e, org.w3c.dom.svg.SVGAnimatedRect aViewBox, org.w3c.dom.svg.SVGAnimatedPreserveAspectRatio aPAR, float w, float h, BridgeContext ctx) Returns the transformation matrix to apply to initialize a viewport or null if the specified viewBox disables the rendering of the element.static Rectangle2DSVGTextElementBridge.getTextBounds(BridgeContext ctx, Element elem, boolean checkSensitivity) static booleanSVGTextElementBridge.getTextIntersection(BridgeContext ctx, Element elem, AffineTransform ati, Rectangle2D rect, boolean checkSensitivity) protected TextPaintInfoSVGTextElementBridge.getTextPaintInfo(Element element, GraphicsNode node, TextPaintInfo parentTPI, BridgeContext ctx) Constructs a TextDecoration object for the specified element.static AffineTransformViewBox.getViewTransform(String ref, Element e, float w, float h, BridgeContext ctx) Parses the specified reference (from a URI) and returns the appropriate transform.voidAnimatableGenericSVGBridge.handleElement(BridgeContext ctx, Element e) Invoked to handle anElementfor a givenBridgeContext.voidGenericBridge.handleElement(BridgeContext ctx, Element e) Invoked to handle anElementfor a givenBridgeContext.voidSVGAnimationElementBridge.handleElement(BridgeContext ctx, Element e) Handles this animation element.voidSVGDescriptiveElementBridge.handleElement(BridgeContext ctx, Element e) Invoked to handle anElementfor a givenBridgeContext.voidSVGTextPathElementBridge.handleElement(BridgeContext ctx, Element e) protected voidGVTBuilder.handleGenericBridges(BridgeContext ctx, Element e) Handles any GenericBridge elements which are children of the specified element.protected voidAbstractGraphicsNodeBridge.initializeDynamicSupport(BridgeContext ctx, Element e, GraphicsNode node) This method is invoked during the build phase if the document is dynamic.protected voidSVGImageElementBridge.initializeDynamicSupport(BridgeContext ctx, Element e, GraphicsNode node) This method is invoked during the build phase if the document is dynamic.protected voidSVGTextElementBridge.initializeDynamicSupport(BridgeContext ctx, Element e, GraphicsNode node) This method ensures that any modification to a text element and its children is going to be reflected into the GVT tree.protected ScriptingEnvironmentUpdateManager.initializeScriptingEnvironment(BridgeContext ctx) Creates an appropriate ScriptingEnvironment and XBL manager for the given document.protected static voidSVGImageElementBridge.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.static booleanSVGFontFamily.isComplex(Element fontElement, BridgeContext ctx) static booleanBaseScriptingEnvironment.isDynamicDocument(BridgeContext ctx, Document doc) Tells whether the given SVG document is dynamic.static booleanBaseScriptingEnvironment.isDynamicElement(BridgeContext ctx, Element elt) static booleanBaseScriptingEnvironment.isDynamicElement(Element elt, BridgeContext ctx, List bridgeExtensions) Tells whether the given SVG element is dynamic.static shortSVGUtilities.parseCoordinateSystem(Element e, String attr, String coordinateSystem, BridgeContext ctx) Parses the specified coordinate system defined by the specified element.static shortSVGUtilities.parseMarkerCoordinateSystem(Element e, String attr, String coordinateSystem, BridgeContext ctx) Parses the specified coordinate system defined by the specified marker element.static float[]ViewBox.parseViewBoxAttribute(Element e, String value, BridgeContext ctx) Parses a viewBox attribute.voidBridgeExtension.registerTags(BridgeContext ctx) This method should update the BridgeContext with support for the tags in this extension.voidSVGBridgeExtension.registerTags(BridgeContext ctx) This method should update the BridgeContext with support for the tags in this extension.protected voidSVGTextElementBridge.removeContextFromChild(BridgeContext ctx, Element e) From theSVGContextfrom the element children of the node.protected voidSVGTextElementBridge.removeTextEventListeners(BridgeContext ctx, NodeEventTarget e) Removes the DOM listeners for this text bridge.voidSVGTextElementBridge.setBaseTextPaintInfo(TextPaintInfo pi, Element element, GraphicsNode node, BridgeContext ctx) voidUserAgentAdapter.setBridgeContext(BridgeContext ctx) Sets the BridgeContext to be used for error information.protected voidAbstractGraphicsNodeBridge.setTransform(GraphicsNode n, Element e, BridgeContext ctx) Sets the graphics node's transform to the current animated transform value.protected voidBridgeContext.setUpdateManager(BridgeContext ctx, UpdateManager um) Sets the update manager on the given BridgeContext.protected voidBridgeContext.setXBLManager(BridgeContext ctx, XBLManager xm) Sets the xblManager variable of the given BridgeContext.static PaintPaintServer.silentConvertURIPaint(Element paintedElement, GraphicsNode paintedNode, Value paintDef, float opacity, BridgeContext ctx) Converts a Paint specified by URI without sending any error.protected static voidBridgeEventSupport.storeEventListener(BridgeContext ctx, EventTarget e, String t, EventListener l, boolean c) Calls storeEventListener on the given BridgeContext.protected static voidBridgeEventSupport.storeEventListenerNS(BridgeContext ctx, EventTarget e, String n, String t, EventListener l, boolean c) Calls storeEventListenerNS on the given BridgeContext.static ArrayListTextUtilities.svgHorizontalCoordinateArrayToUserSpace(Element element, String attrName, String valueStr, BridgeContext ctx) Returns the float list that represents a set of horizontal values or percentage.static ArrayListTextUtilities.svgRotateArrayToFloats(Element element, String attrName, String valueStr, BridgeContext ctx) static ArrayListTextUtilities.svgVerticalCoordinateArrayToUserSpace(Element element, String attrName, String valueStr, BridgeContext ctx) Returns the float list that represents a set of values or percentage.Constructors in org.apache.batik.bridge with parameters of type BridgeContextModifierConstructorDescriptionprotectedAbstractTextChildBridgeUpdateHandler(BridgeContext ctx, SVGTextElementBridge parent, Element e) Initialize the BridgeUpdateHandler implementation.AbstractTextChildSVGContext(BridgeContext ctx, SVGTextElementBridge parent, Element e) Initialize theSVGContextimplementation with the bridgeContext, the parent bridge, and the element supervised by this contextprotectedAbstractTextChildTextContent(BridgeContext ctx, SVGTextElementBridge parent, Element e) Initialize the AbstractTextChildBridgeUpdateHandler implementation.Creates a new BaseScriptingEnvironment.Constructs a newBridgeExceptionbased on the specifiedLiveAttributeException.BridgeException(BridgeContext ctx, Element e, Exception ex, String code, Object[] params) Constructs a newBridgeExceptionwith the specified parameters.BridgeException(BridgeContext ctx, Element e, String message) Constructs a newBridgeExceptionwith the specified parameters.BridgeException(BridgeContext ctx, Element e, String code, Object[] params) Constructs a newBridgeExceptionwith the specified parameters.Creates a new CursorManager object.DefaultContext(BridgeContext ctx, Element e) Creates a new DefaultContext.EventListenerMememto(EventTarget t, String n, String s, EventListener l, boolean b, BridgeContext ctx) EventListenerMememto(EventTarget t, String s, EventListener l, boolean b, BridgeContext ctx) Listener(BridgeContext ctx, UserAgent u) Location(BridgeContext ctx) Creates a new Location.MultiResGraphicsNode(Element multiImgElem, Rectangle2D bounds, Element[] srcElems, Dimension[] minSz, Dimension[] maxSz, BridgeContext ctx) Creates a new ScriptingEnvironment.SVGAltGlyphHandler(BridgeContext ctx, Element textElement) Constructs an SVGAltGlyphHandler.SVGAnimationEngine(Document doc, BridgeContext ctx) Creates a new SVGAnimationEngine.SVGFontFamily(GVTFontFace fontFace, Element fontElement, BridgeContext ctx) Constructs an SVGFontFamily.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.protectedTextPathBridge(BridgeContext ctx, SVGTextElementBridge parent, Element e) protectedTRefBridge(BridgeContext ctx, SVGTextElementBridge parent, Element e) protectedTspanBridge(BridgeContext ctx, SVGTextElementBridge parent, Element e) UpdateManager(BridgeContext ctx, GraphicsNode gn, Document doc) Creates a new update manager. -
Uses of BridgeContext in org.apache.batik.bridge.svg12
Subclasses of BridgeContext in org.apache.batik.bridge.svg12Fields in org.apache.batik.bridge.svg12 declared as BridgeContextModifier and TypeFieldDescriptionprotected BridgeContextDefaultXBLManager.ctxThe BridgeContext.Methods in org.apache.batik.bridge.svg12 that return BridgeContextModifier and TypeMethodDescriptionSVG12BridgeContext.createSubBridgeContext(SVGOMDocument newDoc) Methods in org.apache.batik.bridge.svg12 with parameters of type BridgeContextModifier and TypeMethodDescriptionprotected voidSVGFlowRootElementBridge.addContextToChild(BridgeContext ctx, Element e) Add to the element children of the node, aSVGContextto support dynamic update.static voidSVG12BridgeEventSupport.addGVTListener(BridgeContext ctx, Document doc) Is called only for the root element in order to dispatch GVT events to the DOM.protected voidSVG12TextElementBridge.addTextEventListeners(BridgeContext ctx, NodeEventTarget e) Adds the DOM listeners for this text bridge.protected AttributedStringSVGFlowRootElementBridge.buildAttributedString(BridgeContext ctx, Element element) Creates the attributed string which represents the given text element children.BindableElementBridge.buildCompositeGraphicsNode(BridgeContext ctx, Element e, CompositeGraphicsNode gn) Creates aGraphicsNodefrom the input element and populates the inputCompositeGraphicsNodeXBLContentElementBridge.buildCompositeGraphicsNode(BridgeContext ctx, Element e, CompositeGraphicsNode cgn) Creates aGraphicsNodefrom the input element and populates the inputCompositeGraphicsNodevoidBindableElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node) Builds using the specified BridgeContext and element, the specified graphics node.voidSVGFlowRootElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node) Builds using the specified BridgeContext and element, the specified graphics node.voidSVGMultiImageElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node) voidXBLContentElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node) Builds using the specified BridgeContext and element, the specified graphics node.voidXBLShadowTreeElementBridge.buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node) Builds using the specified BridgeContext and element, the specified graphics node.protected voidSVGFlowRootElementBridge.computeLaidoutText(BridgeContext ctx, Element e, GraphicsNode node) BindableElementBridge.createGraphicsNode(BridgeContext ctx, Element e) Creates aGraphicsNodeaccording to the specified parameters.SVGFlowRootElementBridge.createGraphicsNode(BridgeContext ctx, Element e) Creates aGraphicsNodeaccording to the specified parameters.SVGMultiImageElementBridge.createGraphicsNode(BridgeContext ctx, Element e) Creates a graphics node using the specified BridgeContext and for the specified element.XBLContentElementBridge.createGraphicsNode(BridgeContext ctx, Element e) Creates aGraphicsNodeaccording to the specified parameters.XBLShadowTreeElementBridge.createGraphicsNode(BridgeContext ctx, Element e) Creates aGraphicsNodeaccording to the specified parameters.SVGSolidColorElementBridge.createPaint(BridgeContext ctx, Element paintElement, Element paintedElement, GraphicsNode paintedNode, float opacity) Creates aPaintaccording to the specified parameters.protected static ColorSVGSolidColorElementBridge.extractColor(Element paintElement, float opacity, BridgeContext ctx) protected static floatSVGSolidColorElementBridge.extractOpacity(Element paintElement, float opacity, BridgeContext ctx) protected voidSVGFlowRootElementBridge.fillAttributedStringBuffer(BridgeContext ctx, Element element, boolean top, Integer bidiLevel, Map initialAttributes, SVGTextElementBridge.AttributedStringBuffer asb, List lnLocs) Fills the given AttributedStringBuffer.protected AttributedStringSVGFlowRootElementBridge.gatherFlowPara(BridgeContext ctx, Element div) protected voidSVGFlowRootElementBridge.gatherRegionInfo(BridgeContext ctx, Element rgn, float verticalAlign, List regions) protected MapSVGFlowRootElementBridge.getAttributeMap(BridgeContext ctx, Element element, TextPath textPath, Integer bidiLevel, Map result) protected AttributedStringSVGFlowRootElementBridge.getFlowDiv(BridgeContext ctx, Element element) protected static Rectangle2DSVGMultiImageElementBridge.getImageBounds(BridgeContext ctx, Element element) Returns the bounds of the specified image element.protected floatSVGFlowRootElementBridge.getLineHeight(BridgeContext ctx, Element element, float fontSize) protected Point2DSVGFlowRootElementBridge.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 ListSVGFlowRootElementBridge.getRegions(BridgeContext ctx, Element element) Returns a list of Shapes that define the flow regions.protected voidSVGMultiImageElementBridge.initializeDynamicSupport(BridgeContext ctx, Element e, GraphicsNode node) This method is invoked during the build phase if the document is dynamic.SVGFlowRootElementBridge.makeBlockInfo(BridgeContext ctx, Element element) voidSVG12BridgeExtension.registerTags(BridgeContext ctx) This method should update the BridgeContext with support for the tags in this extension.protected voidSVGFlowRootElementBridge.removeContextFromChild(BridgeContext ctx, Element e) From theSVGContextfrom the element children of the node.protected voidSVG12TextElementBridge.removeTextEventListeners(BridgeContext ctx, NodeEventTarget e) Removes the DOM listeners for this text bridge.Constructors in org.apache.batik.bridge.svg12 with parameters of type BridgeContextModifierConstructorDescriptionDefaultXBLManager(Document doc, BridgeContext ctx) Creates a new DefaultXBLManager for the given document.FlowContentBridge(BridgeContext ctx, SVGTextElementBridge parent, Element e) Creates a new FlowContentBridge.ImplementationEventListenerMememto(EventTarget t, String n, String s, EventListener l, boolean b, BridgeContext c) Creates a new ImplementationEventListenerMememto.ImplementationEventListenerMememto(EventTarget t, String s, EventListener l, boolean b, BridgeContext c) Creates a new ImplementationEventListenerMememto.Listener(BridgeContext ctx, UserAgent u) Creates a new SVG12ScriptingEnvironment. -
Uses of BridgeContext in org.apache.batik.extension.svg
Methods in org.apache.batik.extension.svg with parameters of type BridgeContextModifier and TypeMethodDescriptionprotected voidBatikFlowTextElementBridge.addChildGlyphPositionAttributes(AttributedString as, Element element, BridgeContext ctx) protected voidBatikFlowTextElementBridge.addChildPaintAttributes(AttributedString as, Element element, TextNode node, TextPaintInfo parentPI, BridgeContext ctx) protected voidBatikFlowTextElementBridge.addContextToChild(BridgeContext ctx, Element e) protected voidBatikFlowTextElementBridge.addGlyphPositionAttributes(AttributedString as, Element element, BridgeContext ctx) Adds glyph position attributes to an AttributedString.protected voidBatikFlowTextElementBridge.addPaintAttributes(AttributedString as, Element element, TextNode node, TextPaintInfo parentPI, BridgeContext ctx) Adds painting attributes to an AttributedString.protected AttributedStringBatikFlowTextElementBridge.buildAttributedString(BridgeContext ctx, Element element) Creates the attributed string which represents the given text element children.protected voidBatikRegularPolygonElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode) Constructs a regular polygone according to the specified parameters.protected voidBatikStarElementBridge.buildShape(BridgeContext ctx, Element e, ShapeNode shapeNode) Constructs a star polygone according to the specified parameters.protected static intBatikHistogramNormalizationElementBridge.convertSides(Element filterElement, String attrName, int defaultValue, BridgeContext ctx) Stolen from AbstractSVGFilterPrimitiveElementBridge.protected static intBatikRegularPolygonElementBridge.convertSides(Element filterElement, String attrName, int defaultValue, BridgeContext ctx) Stolen from AbstractSVGFilterPrimitiveElementBridge.protected static intBatikStarElementBridge.convertSides(Element filterElement, String attrName, int defaultValue, BridgeContext ctx) Stolen from AbstractSVGFilterPrimitiveElementBridge.BatikHistogramNormalizationElementBridge.createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) Creates aFilterprimitive according to the specified parameters.ColorSwitchBridge.createPaint(BridgeContext ctx, Element paintElement, Element paintedElement, GraphicsNode paintedNode, float opacity) Creates aPaintaccording to the specified parameters.protected voidBatikFlowTextElementBridge.fillAttributedStringBuffer(BridgeContext ctx, Element element, boolean top, Integer bidiLevel, Map initialAttributes, SVGTextElementBridge.AttributedStringBuffer asb, List lnLocs) Fills the given AttributedStringBuffer.protected AttributedStringBatikFlowTextElementBridge.gatherFlowPara(BridgeContext ctx, Element div) protected voidBatikFlowTextElementBridge.gatherRegionInfo(BridgeContext ctx, Element rgn, float verticalAlign, List regions) protected MapBatikFlowTextElementBridge.getAttributeMap(BridgeContext ctx, Element element, TextPath textPath, Integer bidiLevel, Map result) protected AttributedStringBatikFlowTextElementBridge.getFlowDiv(BridgeContext ctx, Element element) protected Point2DBatikFlowTextElementBridge.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 ListBatikFlowTextElementBridge.getRegions(BridgeContext ctx, Element element) voidBatikBridgeExtension.registerTags(BridgeContext ctx) This method should update the BridgeContext with support for the tags in this extension.Constructors in org.apache.batik.extension.svg with parameters of type BridgeContextModifierConstructorDescriptionBatikFlowContentBridge(BridgeContext ctx, SVGTextElementBridge parent, Element e) Creates a new FlowContentBridge. -
Uses of BridgeContext in org.apache.batik.swing.svg
Fields in org.apache.batik.swing.svg declared as BridgeContextModifier and TypeFieldDescriptionprotected BridgeContextGVTTreeBuilder.bridgeContextThe bridge context to use.protected BridgeContextJSVGComponent.bridgeContextThe current bridge context.protected BridgeContextSVGLoadEventDispatcher.bridgeContextThe bridge context to use.Methods in org.apache.batik.swing.svg that return BridgeContextModifier and TypeMethodDescriptionprotected BridgeContextJSVGComponent.createBridgeContext(SVGOMDocument doc) Creates a new bridge context.Constructors in org.apache.batik.swing.svg with parameters of type BridgeContextModifierConstructorDescriptionGVTTreeBuilder(org.w3c.dom.svg.SVGDocument doc, BridgeContext bc) Creates a new GVTTreeBuilder.SVGLoadEventDispatcher(GraphicsNode gn, org.w3c.dom.svg.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 BridgeContextModifier and TypeFieldDescriptionprotected BridgeContextSVGAbstractTranscoder.ctxCurrent bridge contextMethods in org.apache.batik.transcoder that return BridgeContextModifier and TypeMethodDescriptionprotected BridgeContextSVGAbstractTranscoder.createBridgeContext()Creates the default SVG 1.0/1.1 BridgeContext.protected BridgeContextSVGAbstractTranscoder.createBridgeContext(String svgVersion) Creates the BridgeContext.protected BridgeContextSVGAbstractTranscoder.createBridgeContext(SVGOMDocument doc) Factory method for constructing an configuring a BridgeContext so subclasses can insert new/modified bridges in the context.