Package | Description |
---|---|
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.swing.svg | |
org.apache.batik.transcoder |
Contains all of the interfaces for transcoding an input stream or
a document to a particular ouput format.
|
Modifier and Type | Field and Description |
---|---|
protected BridgeContext |
UpdateManager.bridgeContext
The bridge context.
|
protected BridgeContext |
BaseScriptingEnvironment.bridgeContext
The bridge context.
|
protected BridgeContext |
BridgeEventSupport.Listener.context |
protected BridgeContext |
AnimatableSVGBridge.ctx
The bridge context to use for dynamic updates.
|
protected BridgeContext |
UserAgentAdapter.ctx
The BridgeContext to use for error information.
|
protected BridgeContext |
UnitProcessor.DefaultContext.ctx
The bridge context.
|
protected BridgeContext |
CursorManager.ctx
BridgeContext associated with this CursorManager
|
protected BridgeContext |
SVGAnimationElementBridge.ctx
The BridgeContext to be used.
|
protected BridgeContext |
SVGDocumentBridge.ctx
The bridge context.
|
protected BridgeContext |
SVGFontFamily.ctx |
protected BridgeContext |
SVGAnimationEngine.ctx
The BridgeContext to use for value parsing.
|
protected BridgeContext |
SVGUseElementBridge.CursorMouseOverListener.ctx |
protected BridgeContext |
BridgeContext.primaryContext
The bridge context for the primary document, if this is a bridge
context for a resource document.
|
protected BridgeContext[] |
UpdateManager.secondaryBridgeContexts
Array of resource documents' BridgeContexts.
|
protected BridgeContext |
SVGImageElementBridge.subCtx |
protected BridgeContext |
SVGUseElementBridge.subCtx
The bridge context for the referenced document.
|
Modifier and Type | Method and Description |
---|---|
BridgeContext |
BridgeContext.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 |
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.
|
BridgeContext |
Window.getBridgeContext()
Returns the current BridgeContext.
|
BridgeContext |
ScriptingEnvironment.Window.getBridgeContext()
Returns the current BridgeContext.
|
BridgeContext |
UpdateManager.getBridgeContext()
Returns the bridge context.
|
BridgeContext |
BaseScriptingEnvironment.Window.getBridgeContext()
Returns the current BridgeContext.
|
protected static BridgeContext |
UnitProcessor.getBridgeContext(UnitProcessor.Context ctx)
Returns the
BridgeContext from the given Context
if it is a UnitProcessor.DefaultContext , or null otherwise. |
BridgeContext[] |
BridgeContext.getChildContexts()
Returns an array of the child contexts.
|
BridgeContext |
BridgeContext.getPrimaryBridgeContext()
Returns the primary bridge context.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SVGTextElementBridge.addChildGlyphPositionAttributes(java.text.AttributedString as,
Element element,
BridgeContext ctx) |
protected void |
SVGTextElementBridge.addChildPaintAttributes(java.text.AttributedString as,
Element element,
TextNode node,
TextPaintInfo parentPI,
BridgeContext ctx) |
protected void |
SVGTextElementBridge.addContextToChild(BridgeContext ctx,
Element e)
Add to the element children of the node, an
SVGContext to support dynamic update. |
protected void |
SVGTextElementBridge.addGlyphPositionAttributes(java.text.AttributedString as,
Element element,
BridgeContext ctx)
Adds glyph position attributes to an AttributedString.
|
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 |
SVGTextElementBridge.addPaintAttributes(java.text.AttributedString as,
Element element,
TextNode node,
TextPaintInfo pi,
BridgeContext ctx)
Adds painting attributes to an AttributedString.
|
protected void |
SVGTextElementBridge.addTextEventListeners(BridgeContext ctx,
NodeEventTarget e)
Adds the DOM listeners for this text bridge.
|
protected void |
AbstractGraphicsNodeBridge.associateSVGContext(BridgeContext ctx,
Element e,
GraphicsNode node)
Associates the
SVGContext with the element. |
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 java.text.AttributedString |
SVGTextElementBridge.buildAttributedString(BridgeContext ctx,
Element element)
Creates the attributed string which represents the given text
element children.
|
protected void |
GVTBuilder.buildComposite(BridgeContext ctx,
Element e,
CompositeGraphicsNode parentNode)
Builds a composite Element.
|
CompositeGraphicsNode |
SVGUseElementBridge.buildCompositeGraphicsNode(BridgeContext ctx,
Element e,
CompositeGraphicsNode gn)
Creates a
GraphicsNode from the input element and
populates the input CompositeGraphicsNode |
protected static Filter |
SVGFilterElementBridge.buildFilterPrimitives(Element filterElement,
java.awt.geom.Rectangle2D filterRegion,
Element filteredElement,
GraphicsNode filteredNode,
Filter in,
java.util.Map filterNodeMap,
BridgeContext ctx)
Builds the filter primitives of filter chain of the specified
filter element and returns the last filter primitive
created.
|
protected java.awt.Paint |
SVGLinearGradientElementBridge.buildGradient(Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
MultipleGradientPaint.CycleMethodEnum spreadMethod,
MultipleGradientPaint.ColorSpaceEnum colorSpace,
java.awt.geom.AffineTransform transform,
java.awt.Color[] colors,
float[] offsets,
BridgeContext ctx)
Builds a linear gradient according to the specified parameters.
|
protected abstract java.awt.Paint |
AbstractSVGGradientElementBridge.buildGradient(Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
MultipleGradientPaint.CycleMethodEnum spreadMethod,
MultipleGradientPaint.ColorSpaceEnum colorSpace,
java.awt.geom.AffineTransform transform,
java.awt.Color[] colors,
float[] offsets,
BridgeContext ctx)
Builds a concrete gradient according to the specified parameters.
|
protected java.awt.Paint |
SVGRadialGradientElementBridge.buildGradient(Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
MultipleGradientPaint.CycleMethodEnum spreadMethod,
MultipleGradientPaint.ColorSpaceEnum colorSpace,
java.awt.geom.AffineTransform transform,
java.awt.Color[] colors,
float[] offsets,
BridgeContext ctx)
Builds a radial gradient according to the specified parameters.
|
void |
DocumentBridge.buildGraphicsNode(BridgeContext ctx,
Document doc,
RootGraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
SVGDocumentBridge.buildGraphicsNode(BridgeContext ctx,
Document doc,
RootGraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
protected void |
GVTBuilder.buildGraphicsNode(BridgeContext ctx,
Element e,
CompositeGraphicsNode parentNode)
Builds a 'leaf' Element.
|
void |
AbstractGraphicsNodeBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
SVGShapeElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
GraphicsNodeBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
SVGAElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
SVGUseElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
SVGTextElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
SVGSVGElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
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 static Filter |
SVGFilterElementBridge.buildLocalFilterPrimitives(Element filterElement,
java.awt.geom.Rectangle2D filterRegion,
Element filteredElement,
GraphicsNode filteredNode,
Filter in,
java.util.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 void |
SVGEllipseElementBridge.buildShape(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Constructs an ellipse according to the specified parameters.
|
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.
|
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.
|
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 void |
SVGCircleElementBridge.buildShape(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Constructs a circle according to the specified parameters.
|
protected void |
SVGRectElementBridge.buildShape(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Constructs a rectangle according to the specified parameters.
|
protected void |
SVGTextElementBridge.computeLaidoutText(BridgeContext ctx,
Element e,
GraphicsNode node)
Recompute the layout of the <text> node.
|
protected java.awt.geom.AffineTransform |
AbstractGraphicsNodeBridge.computeTransform(org.w3c.dom.svg.SVGTransformable te,
BridgeContext ctx)
Returns an
AffineTransform that is the transformation to
be applied to the node. |
protected java.awt.geom.AffineTransform |
SVGUseElementBridge.computeTransform(org.w3c.dom.svg.SVGTransformable e,
BridgeContext ctx)
Returns an
AffineTransform that 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 ARGBChannel |
SVGFeDisplacementMapElementBridge.convertChannelSelector(Element filterElement,
java.lang.String attrName,
ARGBChannel defaultChannel,
BridgeContext ctx)
Returns the channel for the specified feDisplacementMap filter
primitive attribute, considering the specified attribute name.
|
static java.awt.Color |
PaintServer.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 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 java.awt.Cursor |
CSSUtilities.convertCursor(Element e,
BridgeContext ctx)
Returns the Cursor corresponding to the input element's
cursor property
|
static java.awt.Color |
PaintServer.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 float |
SVGFeConvolveMatrixElementBridge.convertDivisor(Element filterElement,
float[] kernelMatrix,
BridgeContext ctx)
Convert the 'divisor' attribute of the specified feConvolveMatrix
filter primitive element.
|
protected static PadMode |
SVGFeConvolveMatrixElementBridge.convertEdgeMode(Element filterElement,
BridgeContext ctx)
Convert the 'edgeMode' attribute of the specified feConvolveMatrix
filter primitive element.
|
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 java.awt.Paint |
PaintServer.convertFillPaint(Element filledElement,
GraphicsNode filledNode,
BridgeContext ctx)
Converts for the specified element, its fill paint properties
to a Paint object.
|
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 java.awt.geom.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 java.awt.geom.Rectangle2D |
SVGUtilities.convertFilterPrimitiveRegion(Element filterPrimitiveElement,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
java.awt.geom.Rectangle2D defaultRegion,
java.awt.geom.Rectangle2D filterRegion,
BridgeContext ctx)
Returns the filter primitive region according to the x, y,
width, height, and filterUnits attributes.
|
static java.awt.geom.Rectangle2D |
SVGUtilities.convertFilterPrimitiveRegion(Element filterPrimitiveElement,
Element filteredElement,
GraphicsNode filteredNode,
java.awt.geom.Rectangle2D defaultRegion,
java.awt.geom.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 java.awt.Color |
CSSUtilities.convertFloodColor(Element e,
BridgeContext ctx)
Converts the color defined on the specified <feFlood>
element to a
Color . |
static java.awt.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.
|
static java.awt.Color |
PaintServer.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 int |
AbstractSVGFilterPrimitiveElementBridge.convertInteger(Element filterElement,
java.lang.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 java.awt.Color |
CSSUtilities.convertLightingColor(Element e,
BridgeContext ctx)
Converts the color defined on the specified lighting filter element
to a
Color . |
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.convertMarkers(Element e,
ShapeNode node,
BridgeContext ctx)
Returns a
ShapePainter defined on the specified
element and for the specified shape 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 java.awt.geom.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.
|
protected static CompositeRule |
SVGFeBlendElementBridge.convertMode(Element filterElement,
BridgeContext ctx)
Converts the 'mode' of the specified feBlend filter primitive.
|
protected static float |
AbstractSVGFilterPrimitiveElementBridge.convertNumber(Element filterElement,
java.lang.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 CompositeRule |
SVGFeCompositeElementBridge.convertOperator(Element filterElement,
BridgeContext ctx)
Converts the 'operator' attribute of the specified feComposite
filter primitive element.
|
protected static boolean |
SVGFeMorphologyElementBridge.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 java.awt.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 java.awt.geom.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.
|
protected static boolean |
SVGFeConvolveMatrixElementBridge.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 java.awt.Color |
PaintServer.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 float |
SVGUtilities.convertSnapshotTime(Element e,
BridgeContext ctx)
Returns the value of the 'snapshotTime' attribute on the specified
element as a float, or
0f if the attribute is missing
or given as "none" . |
protected static float |
SVGFeSpecularLightingElementBridge.convertSpecularExponent(Element filterElement,
BridgeContext ctx)
Returns the specular exponent of the specular feSpecularLighting
filter primitive element.
|
protected static MultipleGradientPaint.CycleMethodEnum |
AbstractSVGGradientElementBridge.convertSpreadMethod(Element paintElement,
java.lang.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 boolean |
SVGFeTurbulenceElementBridge.convertStitchTiles(Element e,
BridgeContext ctx)
Converts the 'stitchTiles' attribute of the specified
feTurbulence element.
|
static java.awt.Color |
CSSUtilities.convertStopColor(Element e,
float opacity,
BridgeContext ctx)
Converts the color defined on the specified <stop> element
to a
Color . |
static java.awt.Paint |
PaintServer.convertStrokePaint(Element strokedElement,
GraphicsNode strokedNode,
BridgeContext ctx)
Converts for the specified element, its stroke paint properties
to a Paint object.
|
static ShapePainter |
PaintServer.convertStrokePainter(Element e,
ShapeNode node,
BridgeContext ctx) |
static java.lang.Float[] |
SVGUtilities.convertSVGNumberOptionalNumber(Element elem,
java.lang.String attrName,
java.lang.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 java.awt.geom.AffineTransform |
SVGUtilities.convertTransform(Element e,
java.lang.String attr,
java.lang.String transform,
BridgeContext ctx)
Returns an AffineTransform according to the specified parameters.
|
protected static int |
SVGFeColorMatrixElementBridge.convertType(Element filterElement,
BridgeContext ctx)
Converts the type of the specified color matrix filter primitive.
|
protected static int |
SVGFeComponentTransferElementBridge.SVGFeFuncElementBridge.convertType(Element e,
BridgeContext ctx)
Converts the type of the specified component transfert
function element.
|
protected static boolean |
SVGFeTurbulenceElementBridge.convertType(Element e,
BridgeContext ctx)
Converts the 'type' attribute of the specified feTurbulence element.
|
static java.awt.Paint |
PaintServer.convertURIPaint(Element paintedElement,
GraphicsNode paintedNode,
Value paintDef,
float opacity,
BridgeContext ctx)
Converts a Paint specified as a URI.
|
protected static float |
SVGFeColorMatrixElementBridge.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 float |
SVGFeColorMatrixElementBridge.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,
java.text.AttributedCharacterIterator aci)
Constructs an array of Glyphs that represents the specified
<altGlyph> element at the requested size.
|
ClipRable |
SVGClipPathElementBridge.createClip(BridgeContext ctx,
Element clipElement,
Element clipedElement,
GraphicsNode clipedNode)
Creates a
Clip according to the specified parameters. |
ClipRable |
ClipBridge.createClip(BridgeContext ctx,
Element clipElement,
Element clipedElement,
GraphicsNode clipedNode)
Creates a
Clip according to the specified parameters. |
static UnitProcessor.Context |
UnitProcessor.createContext(BridgeContext ctx,
Element e)
Creates a context for the specified element.
|
protected static Filter |
SVGFilterElementBridge.createEmptyFilter(Element filterElement,
java.awt.geom.Rectangle2D filterRegion,
Element filteredElement,
GraphicsNode filteredNode,
BridgeContext ctx)
Creates a new returns a new filter that fills its output with
transparent black.
|
protected ShapePainter |
SVGLineElementBridge.createFillStrokePainter(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Creates the shape painter associated to the specified element.
|
Filter |
FilterBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode)
Creates a
Filter according to the specified parameters. |
Filter |
SVGFilterElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode)
Creates a
Filter according to the specified parameters. |
Filter |
SVGFeMergeElementBridge.SVGFeMergeNodeElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.util.Map filterMap)
Creates a
Filter according to the specified parameters. |
Filter |
FilterPrimitiveBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter in,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeCompositeElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeOffsetElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeDiffuseLightingElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeTileElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeMergeElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeGaussianBlurElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeDisplacementMapElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeColorMatrixElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeComponentTransferElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeMorphologyElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeImageElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeSpecularLightingElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeTurbulenceElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeConvolveMatrixElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeBlendElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
Filter |
SVGFeFloodElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
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.
|
SVGFontFace |
SVGFontFaceElementBridge.createFontFace(BridgeContext ctx,
Element fontFaceElement)
Creates an SVGFontFace that repesents the specified
<font-face> element.
|
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.
|
RootGraphicsNode |
DocumentBridge.createGraphicsNode(BridgeContext ctx,
Document doc)
Creates a
GraphicsNode according to the specified parameters. |
RootGraphicsNode |
SVGDocumentBridge.createGraphicsNode(BridgeContext ctx,
Document doc)
Creates a
GraphicsNode 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.
|
GraphicsNode |
AbstractGraphicsNodeBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
SVGShapeElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a graphics node using the specified BridgeContext and
for the specified element.
|
GraphicsNode |
GraphicsNodeBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
SVGSwitchElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
SVGGElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
SVGUseElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
SVGTextElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
SVGSVGElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
org.apache.xmlgraphics.java2d.color.ICCColorSpaceWithIntent |
SVGColorProfileElementBridge.createICCColorSpaceWithIntent(BridgeContext ctx,
Element paintedElement,
java.lang.String iccProfileName)
Creates an ICC_ColorSpace according to the specified parameters.
|
protected GraphicsNode |
SVGImageElementBridge.createImageGraphicsNode(BridgeContext ctx,
Element e,
ParsedURL purl) |
Kern |
SVGKernElementBridge.createKern(BridgeContext ctx,
Element kernElement,
SVGGVTFont font)
Creates a Kern object that repesents the specified kerning element.
|
abstract Light |
AbstractSVGLightingElementBridge.AbstractSVGLightElementBridge.createLight(BridgeContext ctx,
Element filterElement,
Element lightElement,
java.awt.Color color)
Creates a
Light according to the specified parameters. |
Light |
AbstractSVGLightingElementBridge.SVGFeSpotLightElementBridge.createLight(BridgeContext ctx,
Element filterElement,
Element lightElement,
java.awt.Color color)
Creates a
Light according to the specified parameters. |
Light |
AbstractSVGLightingElementBridge.SVGFeDistantLightElementBridge.createLight(BridgeContext ctx,
Element filterElement,
Element lightElement,
java.awt.Color color)
Creates a
Light according to the specified parameters. |
Light |
AbstractSVGLightingElementBridge.SVGFePointLightElementBridge.createLight(BridgeContext ctx,
Element filterElement,
Element lightElement,
java.awt.Color color)
Creates a
Light according to the specified parameters. |
Marker |
MarkerBridge.createMarker(BridgeContext ctx,
Element markerElement,
Element paintedElement)
Creates a
Marker according to the specified parameters. |
Marker |
SVGMarkerElementBridge.createMarker(BridgeContext ctx,
Element markerElement,
Element paintedElement)
Creates a
Marker according to the specified parameters. |
Mask |
SVGMaskElementBridge.createMask(BridgeContext ctx,
Element maskElement,
Element maskedElement,
GraphicsNode maskedNode)
Creates a
Mask according to the specified parameters. |
Mask |
MaskBridge.createMask(BridgeContext ctx,
Element maskElement,
Element maskedElement,
GraphicsNode maskedNode)
Creates a
Mask according to the specified parameters. |
java.awt.Paint |
PaintBridge.createPaint(BridgeContext ctx,
Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
float opacity)
Creates a
Paint according to the specified parameters. |
java.awt.Paint |
AbstractSVGGradientElementBridge.createPaint(BridgeContext ctx,
Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
float opacity)
Creates a
Paint according to the specified parameters. |
java.awt.Paint |
SVGPatternElementBridge.createPaint(BridgeContext ctx,
Element patternElement,
Element paintedElement,
GraphicsNode paintedNode,
float opacity)
Creates a
Paint according to the specified parameters. |
protected static Filter |
SVGFeImageElementBridge.createRasterFeImage(BridgeContext ctx,
java.awt.geom.Rectangle2D primitiveRegion,
ParsedURL purl)
Returns a Filter that represents an raster image (JPG or PNG).
|
protected GraphicsNode |
SVGImageElementBridge.createRasterImageNode(BridgeContext ctx,
Element e,
Filter img,
ParsedURL purl)
Returns a GraphicsNode that represents an raster image in JPEG or PNG
format.
|
protected ShapePainter |
SVGEllipseElementBridge.createShapePainter(BridgeContext ctx,
Element e,
ShapeNode shapeNode) |
protected ShapePainter |
SVGShapeElementBridge.createShapePainter(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Creates the shape painter associated to the specified element.
|
protected ShapePainter |
SVGCircleElementBridge.createShapePainter(BridgeContext ctx,
Element e,
ShapeNode shapeNode) |
protected ShapePainter |
SVGDecoratedShapeElementBridge.createShapePainter(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Creates the shape painter associated to the specified element.
|
protected ShapePainter |
SVGRectElementBridge.createShapePainter(BridgeContext ctx,
Element e,
ShapeNode shapeNode) |
AbstractSVGGradientElementBridge.Stop |
AbstractSVGGradientElementBridge.SVGStopElementBridge.createStop(BridgeContext ctx,
Element gradientElement,
Element stopElement,
float opacity)
Creates a
Stop according to the specified parameters. |
protected static Filter |
SVGFeImageElementBridge.createSVGFeImage(BridgeContext ctx,
java.awt.geom.Rectangle2D primitiveRegion,
Element refElement,
boolean toBBoxNeeded,
Element filterElement,
GraphicsNode filteredNode)
Returns a Filter that represents a svg document or element as an image.
|
protected GraphicsNode |
SVGImageElementBridge.createSVGImageNode(BridgeContext ctx,
Element e,
org.w3c.dom.svg.SVGDocument imgDocument)
Returns a GraphicsNode that represents a svg document as an image.
|
TextPath |
SVGTextPathElementBridge.createTextPath(BridgeContext ctx,
Element textPathElement)
Creates a TextPath object that represents the path along which the text
is to be rendered.
|
protected void |
UpdateManager.dispatchSVGLoadEvent(BridgeContext ctx,
ScriptingEnvironment se)
Dispatches an 'SVGLoad' event to the document.
|
protected static org.apache.xmlgraphics.java2d.color.ICCColorSpaceWithIntent |
SVGImageElementBridge.extractColorSpace(Element element,
BridgeContext ctx)
Analyzes the color-profile property and builds an ICCColorSpaceExt
object from it.
|
protected static java.util.List |
SVGFeMergeElementBridge.extractFeMergeNode(Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.util.Map filterMap,
BridgeContext ctx)
Returns a list of Filter objects that represents the feMergeNode of
the specified feMerge filter element.
|
protected static Light |
AbstractSVGLightingElementBridge.extractLight(Element filterElement,
BridgeContext ctx)
Returns the light from the specified lighting filter primitive
element or null if any
|
protected static RootGraphicsNode |
SVGPatternElementBridge.extractLocalPatternContent(Element e,
BridgeContext ctx)
Returns the content of the specified pattern element or null if any.
|
protected static java.util.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. |
protected static RootGraphicsNode |
SVGPatternElementBridge.extractPatternContent(Element patternElement,
BridgeContext ctx)
Returns the content of the specified pattern element.
|
protected static java.util.List |
AbstractSVGGradientElementBridge.extractStop(Element paintElement,
float opacity,
BridgeContext ctx)
Returns the stops elements of the specified gradient
element.
|
protected void |
SVGTextElementBridge.fillAttributedStringBuffer(BridgeContext ctx,
Element element,
boolean top,
TextPath textPath,
java.lang.Integer bidiLevel,
java.util.Map initialAttributes,
SVGTextElementBridge.AttributedStringBuffer asb)
Fills the given AttributedStringBuffer.
|
protected java.util.Map |
SVGTextElementBridge.getAttributeMap(BridgeContext ctx,
Element element,
TextPath textPath,
java.lang.Integer bidiLevel,
java.util.Map result)
Returns the map to pass to the current characters.
|
protected Element |
FontFace.getBaseElement(BridgeContext ctx)
Default implementation uses the root element of the document
associated with BridgeContext.
|
protected Element |
SVGFontFace.getBaseElement(BridgeContext ctx)
Default implementation uses the root element of the document
associated with BridgeContext.
|
static java.awt.geom.Rectangle2D |
SVGUtilities.getBaseFilterPrimitiveRegion(Element filterPrimitiveElement,
Element filteredElement,
GraphicsNode filteredNode,
java.awt.geom.Rectangle2D defaultRegion,
BridgeContext ctx) |
static java.lang.String |
SVGUtilities.getChainableAttributeNS(Element element,
java.lang.String namespaceURI,
java.lang.String attrName,
BridgeContext ctx)
Returns the value of the specified attribute specified on the
specified element or one of its ancestor.
|
static java.util.List |
SVGFontUtilities.getFontFaces(Document doc,
BridgeContext ctx) |
GVTFontFamily |
CSSFontFace.getFontFamily(BridgeContext ctx)
Returns the font associated with this rule or element.
|
GVTFontFamily |
FontFace.getFontFamily(BridgeContext ctx)
Returns the font associated with this rule or element.
|
GVTFontFamily |
SVGFontFace.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
|
static GVTFontFamily |
SVGFontUtilities.getFontFamily(Element textElement,
BridgeContext ctx,
java.lang.String fontFamilyName,
java.lang.String fontWeight,
java.lang.String fontStyle)
Given a font family name tries to find a matching SVG font
object.
|
protected java.util.List |
SVGTextElementBridge.getFontList(BridgeContext ctx,
Element element,
java.util.Map result)
This method adds all the font related properties to
result
It also builds a List of the GVTFonts and returns it. |
protected static java.awt.geom.Rectangle2D |
SVGImageElementBridge.getImageBounds(BridgeContext ctx,
Element element)
Returns the bounds of the specified image element.
|
protected static Filter |
AbstractSVGFilterPrimitiveElementBridge.getIn(Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.util.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,
java.util.Map filterMap,
BridgeContext ctx)
Returns the input source of the specified filter primitive
element defined by its 'in2' attribute.
|
protected java.awt.geom.Point2D |
SVGTextElementBridge.getLocation(BridgeContext ctx,
Element e)
Returns the text node location according to the 'x' and 'y'
attributes of the specified text element.
|
static java.awt.geom.AffineTransform |
ViewBox.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 java.awt.geom.AffineTransform |
ViewBox.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 java.awt.geom.AffineTransform |
ViewBox.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 java.awt.geom.AffineTransform |
ViewBox.getPreserveAspectRatioTransform(Element e,
java.lang.String viewBox,
java.lang.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 java.awt.geom.AffineTransform |
ViewBox.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 java.awt.geom.Rectangle2D |
SVGTextElementBridge.getTextBounds(BridgeContext ctx,
Element elem,
boolean checkSensitivity) |
static boolean |
SVGTextElementBridge.getTextIntersection(BridgeContext ctx,
Element elem,
java.awt.geom.AffineTransform ati,
java.awt.geom.Rectangle2D rect,
boolean checkSensitivity) |
protected TextPaintInfo |
SVGTextElementBridge.getTextPaintInfo(Element element,
GraphicsNode node,
TextPaintInfo parentTPI,
BridgeContext ctx)
Constructs a TextDecoration object for the specified element.
|
static java.awt.geom.AffineTransform |
ViewBox.getViewTransform(java.lang.String ref,
Element e,
float w,
float h,
BridgeContext ctx)
Parses the specified reference (from a URI) and returns the appropriate
transform.
|
void |
AnimatableGenericSVGBridge.handleElement(BridgeContext ctx,
Element e)
Invoked to handle an
Element for a given BridgeContext . |
void |
SVGAnimationElementBridge.handleElement(BridgeContext ctx,
Element e)
Handles this animation element.
|
void |
SVGDescriptiveElementBridge.handleElement(BridgeContext ctx,
Element e)
Invoked to handle an
Element for a given
BridgeContext . |
void |
SVGTextPathElementBridge.handleElement(BridgeContext ctx,
Element e) |
void |
GenericBridge.handleElement(BridgeContext ctx,
Element e)
Invoked to handle an
Element for a given BridgeContext . |
protected void |
GVTBuilder.handleGenericBridges(BridgeContext ctx,
Element e)
Handles any GenericBridge elements which are children of the
specified element.
|
protected void |
SVGImageElementBridge.initializeDynamicSupport(BridgeContext ctx,
Element e,
GraphicsNode node)
This method is invoked during the build phase if the document
is dynamic.
|
protected void |
AbstractGraphicsNodeBridge.initializeDynamicSupport(BridgeContext ctx,
Element e,
GraphicsNode node)
This method is invoked during the build phase if the document
is dynamic.
|
protected void |
SVGTextElementBridge.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 ScriptingEnvironment |
UpdateManager.initializeScriptingEnvironment(BridgeContext ctx)
Creates an appropriate ScriptingEnvironment and XBL manager for
the given document.
|
protected static void |
SVGImageElementBridge.initializeViewport(BridgeContext ctx,
Element e,
GraphicsNode node,
float[] vb,
java.awt.geom.Rectangle2D bounds)
Initializes according to the specified element, the specified graphics
node with the specified bounds.
|
static boolean |
SVGFontFamily.isComplex(Element fontElement,
BridgeContext ctx) |
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,
java.util.List bridgeExtensions)
Tells whether the given SVG element is dynamic.
|
static short |
SVGUtilities.parseCoordinateSystem(Element e,
java.lang.String attr,
java.lang.String coordinateSystem,
BridgeContext ctx)
Parses the specified coordinate system defined by the specified element.
|
static short |
SVGUtilities.parseMarkerCoordinateSystem(Element e,
java.lang.String attr,
java.lang.String coordinateSystem,
BridgeContext ctx)
Parses the specified coordinate system defined by the specified
marker element.
|
static float[] |
ViewBox.parseViewBoxAttribute(Element e,
java.lang.String value,
BridgeContext ctx)
Parses a viewBox attribute.
|
void |
BridgeExtension.registerTags(BridgeContext ctx)
This method should update the BridgeContext with support
for the tags in this extension.
|
void |
SVGBridgeExtension.registerTags(BridgeContext ctx)
This method should update the BridgeContext with support
for the tags in this extension.
|
protected void |
SVGTextElementBridge.removeContextFromChild(BridgeContext ctx,
Element e)
From the
SVGContext from the element children of the node. |
protected void |
SVGTextElementBridge.removeTextEventListeners(BridgeContext ctx,
NodeEventTarget e)
Removes the DOM listeners for this text bridge.
|
void |
SVGTextElementBridge.setBaseTextPaintInfo(TextPaintInfo pi,
Element element,
GraphicsNode node,
BridgeContext ctx) |
void |
UserAgentAdapter.setBridgeContext(BridgeContext ctx)
Sets the BridgeContext to be used for error information.
|
protected void |
AbstractGraphicsNodeBridge.setTransform(GraphicsNode n,
Element e,
BridgeContext ctx)
Sets the graphics node's transform to the current animated transform
value.
|
protected void |
BridgeContext.setUpdateManager(BridgeContext ctx,
UpdateManager um)
Sets the update manager on the given BridgeContext.
|
protected void |
BridgeContext.setXBLManager(BridgeContext ctx,
XBLManager xm)
Sets the xblManager variable of the given BridgeContext.
|
static java.awt.Paint |
PaintServer.silentConvertURIPaint(Element paintedElement,
GraphicsNode paintedNode,
Value paintDef,
float opacity,
BridgeContext ctx)
Converts a Paint specified by URI without sending any error.
|
protected static void |
BridgeEventSupport.storeEventListener(BridgeContext ctx,
EventTarget e,
java.lang.String t,
EventListener l,
boolean c)
Calls storeEventListener on the given BridgeContext.
|
protected static void |
BridgeEventSupport.storeEventListenerNS(BridgeContext ctx,
EventTarget e,
java.lang.String n,
java.lang.String t,
EventListener l,
boolean c)
Calls storeEventListenerNS on the given BridgeContext.
|
static java.util.ArrayList |
TextUtilities.svgHorizontalCoordinateArrayToUserSpace(Element element,
java.lang.String attrName,
java.lang.String valueStr,
BridgeContext ctx)
Returns the float list that represents a set of horizontal
values or percentage.
|
static java.util.ArrayList |
TextUtilities.svgRotateArrayToFloats(Element element,
java.lang.String attrName,
java.lang.String valueStr,
BridgeContext ctx) |
static java.util.ArrayList |
TextUtilities.svgVerticalCoordinateArrayToUserSpace(Element element,
java.lang.String attrName,
java.lang.String valueStr,
BridgeContext ctx)
Returns the float list that represents a set of values or percentage.
|
Constructor and Description |
---|
AbstractTextChildBridgeUpdateHandler(BridgeContext ctx,
SVGTextElementBridge parent,
Element e)
Initialize the BridgeUpdateHandler implementation.
|
AbstractTextChildSVGContext(BridgeContext ctx,
SVGTextElementBridge parent,
Element e)
Initialize the
SVGContext implementation
with the bridgeContext, the parent bridge, and the
element supervised by this context |
AbstractTextChildTextContent(BridgeContext ctx,
SVGTextElementBridge parent,
Element e)
Initialize the AbstractTextChildBridgeUpdateHandler implementation.
|
BaseScriptingEnvironment(BridgeContext ctx)
Creates a new BaseScriptingEnvironment.
|
BridgeException(BridgeContext ctx,
Element e,
java.lang.Exception ex,
java.lang.String code,
java.lang.Object[] params)
Constructs a new
BridgeException with the specified parameters. |
BridgeException(BridgeContext ctx,
Element e,
java.lang.String message)
Constructs a new
BridgeException with the specified parameters. |
BridgeException(BridgeContext ctx,
Element e,
java.lang.String code,
java.lang.Object[] params)
Constructs a new
BridgeException with the specified parameters. |
BridgeException(BridgeContext ctx,
LiveAttributeException ex)
Constructs a new
BridgeException based on the specified
LiveAttributeException . |
CursorManager(BridgeContext ctx)
Creates a new CursorManager object.
|
CursorMouseOverListener(BridgeContext ctx) |
DefaultContext(BridgeContext ctx,
Element e)
Creates a new DefaultContext.
|
EventListenerMememto(EventTarget t,
java.lang.String s,
EventListener l,
boolean b,
BridgeContext ctx) |
EventListenerMememto(EventTarget t,
java.lang.String n,
java.lang.String s,
EventListener l,
boolean b,
BridgeContext ctx) |
Listener(BridgeContext ctx,
UserAgent u) |
Location(BridgeContext ctx)
Creates a new Location.
|
MultiResGraphicsNode(Element multiImgElem,
java.awt.geom.Rectangle2D bounds,
Element[] srcElems,
java.awt.Dimension[] minSz,
java.awt.Dimension[] maxSz,
BridgeContext ctx) |
ScriptingEnvironment(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,
java.lang.String[] glyphUnicodes,
java.lang.String[] glyphNames,
java.lang.String[] glyphLangs,
java.lang.String[] glyphOrientations,
java.lang.String[] glyphForms,
BridgeContext ctx,
Element[] glyphElements,
Element missingGlyphElement,
Element[] hkernElements,
Element[] vkernElements,
Element textElement)
Constructs a new SVGGVTFont of the specified size.
|
TextPathBridge(BridgeContext ctx,
SVGTextElementBridge parent,
Element e) |
TRefBridge(BridgeContext ctx,
SVGTextElementBridge parent,
Element e) |
TspanBridge(BridgeContext ctx,
SVGTextElementBridge parent,
Element e) |
UpdateManager(BridgeContext ctx,
GraphicsNode gn,
Document doc)
Creates a new update manager.
|
Modifier and Type | Class and Description |
---|---|
class |
SVG12BridgeContext
Bridge context for SVG 1.2 documents.
|
Modifier and Type | Field and Description |
---|---|
protected BridgeContext |
DefaultXBLManager.ctx
The BridgeContext.
|
Modifier and Type | Method and Description |
---|---|
BridgeContext |
SVG12BridgeContext.createSubBridgeContext(SVGOMDocument newDoc) |
Modifier and Type | Method and Description |
---|---|
protected void |
SVGFlowRootElementBridge.addContextToChild(BridgeContext ctx,
Element e)
Add to the element children of the node, a
SVGContext to support dynamic update. |
static void |
SVG12BridgeEventSupport.addGVTListener(BridgeContext ctx,
Document doc)
Is called only for the root element in order to dispatch GVT
events to the DOM.
|
protected void |
SVG12TextElementBridge.addTextEventListeners(BridgeContext ctx,
NodeEventTarget e)
Adds the DOM listeners for this text bridge.
|
protected java.text.AttributedString |
SVGFlowRootElementBridge.buildAttributedString(BridgeContext ctx,
Element element)
Creates the attributed string which represents the given text
element children.
|
CompositeGraphicsNode |
BindableElementBridge.buildCompositeGraphicsNode(BridgeContext ctx,
Element e,
CompositeGraphicsNode gn)
Creates a
GraphicsNode from the input element and
populates the input CompositeGraphicsNode |
CompositeGraphicsNode |
XBLContentElementBridge.buildCompositeGraphicsNode(BridgeContext ctx,
Element e,
CompositeGraphicsNode cgn)
Creates a
GraphicsNode from the input element and
populates the input CompositeGraphicsNode |
void |
SVGMultiImageElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node) |
void |
SVGFlowRootElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
XBLShadowTreeElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
BindableElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
void |
XBLContentElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the
specified graphics node.
|
protected void |
SVGFlowRootElementBridge.computeLaidoutText(BridgeContext ctx,
Element e,
GraphicsNode node) |
GraphicsNode |
SVGMultiImageElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a graphics node using the specified BridgeContext and for the
specified element.
|
GraphicsNode |
SVGFlowRootElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
XBLShadowTreeElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
BindableElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
GraphicsNode |
XBLContentElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a
GraphicsNode according to the specified parameters. |
java.awt.Paint |
SVGSolidColorElementBridge.createPaint(BridgeContext ctx,
Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
float opacity)
Creates a
Paint according to the specified parameters. |
protected static java.awt.Color |
SVGSolidColorElementBridge.extractColor(Element paintElement,
float opacity,
BridgeContext ctx) |
protected static float |
SVGSolidColorElementBridge.extractOpacity(Element paintElement,
float opacity,
BridgeContext ctx) |
protected void |
SVGFlowRootElementBridge.fillAttributedStringBuffer(BridgeContext ctx,
Element element,
boolean top,
java.lang.Integer bidiLevel,
java.util.Map initialAttributes,
SVGTextElementBridge.AttributedStringBuffer asb,
java.util.List lnLocs)
Fills the given AttributedStringBuffer.
|
protected java.text.AttributedString |
SVGFlowRootElementBridge.gatherFlowPara(BridgeContext ctx,
Element div) |
protected void |
SVGFlowRootElementBridge.gatherRegionInfo(BridgeContext ctx,
Element rgn,
float verticalAlign,
java.util.List regions) |
protected java.util.Map |
SVGFlowRootElementBridge.getAttributeMap(BridgeContext ctx,
Element element,
TextPath textPath,
java.lang.Integer bidiLevel,
java.util.Map result) |
protected java.text.AttributedString |
SVGFlowRootElementBridge.getFlowDiv(BridgeContext ctx,
Element element) |
protected static java.awt.geom.Rectangle2D |
SVGMultiImageElementBridge.getImageBounds(BridgeContext ctx,
Element element)
Returns the bounds of the specified image element.
|
protected float |
SVGFlowRootElementBridge.getLineHeight(BridgeContext ctx,
Element element,
float fontSize) |
protected java.awt.geom.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 java.util.List |
SVGFlowRootElementBridge.getRegions(BridgeContext ctx,
Element element)
Returns a list of Shapes that define the flow regions.
|
protected void |
SVGMultiImageElementBridge.initializeDynamicSupport(BridgeContext ctx,
Element e,
GraphicsNode node)
This method is invoked during the build phase if the document
is dynamic.
|
BlockInfo |
SVGFlowRootElementBridge.makeBlockInfo(BridgeContext ctx,
Element element) |
void |
SVG12BridgeExtension.registerTags(BridgeContext ctx)
This method should update the BridgeContext with support
for the tags in this extension.
|
protected void |
SVGFlowRootElementBridge.removeContextFromChild(BridgeContext ctx,
Element e)
From the
SVGContext from the element children of the node. |
protected void |
SVG12TextElementBridge.removeTextEventListeners(BridgeContext ctx,
NodeEventTarget e)
Removes the DOM listeners for this text bridge.
|
Constructor and Description |
---|
DefaultXBLManager(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,
java.lang.String s,
EventListener l,
boolean b,
BridgeContext c)
Creates a new ImplementationEventListenerMememto.
|
ImplementationEventListenerMememto(EventTarget t,
java.lang.String n,
java.lang.String s,
EventListener l,
boolean b,
BridgeContext c)
Creates a new ImplementationEventListenerMememto.
|
Listener(BridgeContext ctx,
UserAgent u) |
SVG12ScriptingEnvironment(BridgeContext ctx)
Creates a new SVG12ScriptingEnvironment.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BatikFlowTextElementBridge.addChildGlyphPositionAttributes(java.text.AttributedString as,
Element element,
BridgeContext ctx) |
protected void |
BatikFlowTextElementBridge.addChildPaintAttributes(java.text.AttributedString as,
Element element,
TextNode node,
TextPaintInfo parentPI,
BridgeContext ctx) |
protected void |
BatikFlowTextElementBridge.addContextToChild(BridgeContext ctx,
Element e) |
protected void |
BatikFlowTextElementBridge.addGlyphPositionAttributes(java.text.AttributedString as,
Element element,
BridgeContext ctx)
Adds glyph position attributes to an AttributedString.
|
protected void |
BatikFlowTextElementBridge.addPaintAttributes(java.text.AttributedString as,
Element element,
TextNode node,
TextPaintInfo parentPI,
BridgeContext ctx)
Adds painting attributes to an AttributedString.
|
protected java.text.AttributedString |
BatikFlowTextElementBridge.buildAttributedString(BridgeContext ctx,
Element element)
Creates the attributed string which represents the given text
element children.
|
protected void |
BatikStarElementBridge.buildShape(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Constructs a star polygone 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 static int |
BatikHistogramNormalizationElementBridge.convertSides(Element filterElement,
java.lang.String attrName,
int defaultValue,
BridgeContext ctx)
Stolen from AbstractSVGFilterPrimitiveElementBridge.
|
protected static int |
BatikStarElementBridge.convertSides(Element filterElement,
java.lang.String attrName,
int defaultValue,
BridgeContext ctx)
Stolen from AbstractSVGFilterPrimitiveElementBridge.
|
protected static int |
BatikRegularPolygonElementBridge.convertSides(Element filterElement,
java.lang.String attrName,
int defaultValue,
BridgeContext ctx)
Stolen from AbstractSVGFilterPrimitiveElementBridge.
|
Filter |
BatikHistogramNormalizationElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a
Filter primitive according to the specified
parameters. |
java.awt.Paint |
ColorSwitchBridge.createPaint(BridgeContext ctx,
Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
float opacity)
Creates a
Paint according to the specified parameters. |
protected void |
BatikFlowTextElementBridge.fillAttributedStringBuffer(BridgeContext ctx,
Element element,
boolean top,
java.lang.Integer bidiLevel,
java.util.Map initialAttributes,
SVGTextElementBridge.AttributedStringBuffer asb,
java.util.List lnLocs)
Fills the given AttributedStringBuffer.
|
protected java.text.AttributedString |
BatikFlowTextElementBridge.gatherFlowPara(BridgeContext ctx,
Element div) |
protected void |
BatikFlowTextElementBridge.gatherRegionInfo(BridgeContext ctx,
Element rgn,
float verticalAlign,
java.util.List regions) |
protected java.util.Map |
BatikFlowTextElementBridge.getAttributeMap(BridgeContext ctx,
Element element,
TextPath textPath,
java.lang.Integer bidiLevel,
java.util.Map result) |
protected java.text.AttributedString |
BatikFlowTextElementBridge.getFlowDiv(BridgeContext ctx,
Element element) |
protected java.awt.geom.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 java.util.List |
BatikFlowTextElementBridge.getRegions(BridgeContext ctx,
Element element) |
void |
BatikBridgeExtension.registerTags(BridgeContext ctx)
This method should update the BridgeContext with support
for the tags in this extension.
|
Constructor and Description |
---|
BatikFlowContentBridge(BridgeContext ctx,
SVGTextElementBridge parent,
Element e)
Creates a new FlowContentBridge.
|
Modifier and Type | Field and Description |
---|---|
protected BridgeContext |
SVGLoadEventDispatcher.bridgeContext
The bridge context to use.
|
protected BridgeContext |
GVTTreeBuilder.bridgeContext
The bridge context to use.
|
protected BridgeContext |
JSVGComponent.bridgeContext
The current bridge context.
|
Modifier and Type | Method and Description |
---|---|
protected BridgeContext |
JSVGComponent.createBridgeContext(SVGOMDocument doc)
Creates a new bridge context.
|
Constructor and Description |
---|
GVTTreeBuilder(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.
|
Modifier and Type | Field and Description |
---|---|
protected BridgeContext |
SVGAbstractTranscoder.ctx
Current bridge context
|
Modifier and Type | Method and Description |
---|---|
protected BridgeContext |
SVGAbstractTranscoder.createBridgeContext()
Creates the default SVG 1.0/1.1 BridgeContext.
|
protected BridgeContext |
SVGAbstractTranscoder.createBridgeContext(java.lang.String svgVersion)
Creates the BridgeContext.
|
protected BridgeContext |
SVGAbstractTranscoder.createBridgeContext(SVGOMDocument doc)
Factory method for constructing an configuring a
BridgeContext so subclasses can insert new/modified
bridges in the context.
|
Copyright © 2022 Apache Software Foundation. All Rights Reserved.