| Home >> All >> org >> apache >> batik >> [ bridge Javadoc ] |
| | org.apache.batik.bridge.svg12.* (4) |
org.apache.batik.bridge: Javadoc index of package org.apache.batik.bridge.
Package Samples:
org.apache.batik.bridge.svg12: Provides an API for mapping and maintaining consistency between the SVG DOM tree and the GVT tree.
Classes:
ExternalResourcesTest: This test validates that SecurityExceptions are generated when the user is trying the access external resources and the UserAgent disallows that. In the following, 'unsecure' means an external resource coming from a different location than the file referencing it. This test works with an SVG file containing an unsecure stylesheet and a set of unsecure elements of all kinds, such as <image> <use> or <feImage>. All these elements are defined in a defs section. The test tries to load the document and validates that a SecurityException is thrown (because of the unsecure stylesheet). ...
SVGMultiImageElementBridge: Bridge class for the <multiImage> element. The 'multiImage' element is similar to the 'image' element (supports all the same attributes and properties) except. It can only be used to reference raster content (this is an implementation thing really) It has two addtional attributes: 'pixel-width' and 'pixel-height' which are the maximum width and height of the image referenced by the xlink:href attribute. It can contain a child element 'subImage' which has only three attributes, pixel-width, pixel-height and xlink:href. The image displayed is the smallest image such that pixel-width and pixel-height ...
AbstractGraphicsNodeBridge: The base bridge class for SVG graphics node. By default, the namespace URI is the SVG namespace. Override the getNamespaceURI if you want to add custom GraphicsNode with a custom namespace. This class handles various attributes that are defined on most of the SVG graphic elements as described in the SVG specification. clip-path filter mask opacity transform visibility
BridgeContext: This class represents a context used by the various bridges and the builder. A bridge context is associated to a particular document and cannot be reused. The context encapsulates the dynamic bindings between DOM elements and GVT nodes, graphic contexts such as a GraphicsNodeRenderContext , and the different objects required by the GVT builder to interpret a SVG DOM tree such as the current viewport or the user agent.
DocumentJarClassLoader: This ClassLoader implementation only grants permission to connect back to the server from where the document referencing the jar file was loaded. A URLClassLoader extension is needed in case the user allows linked jar files to come from a different origin than the document referencing them.
RelaxedScriptSecurity: This implementation for the ScriptSecurity interface. allows the script to be loaded and does not impose constraints on the urls. Note that this only means there is no check on the script's origin, not that it will run without security checks.
ScriptSecurity: An interface that allows UserAgents to describe the security constraints desired for scripting. Right now, this interface only has one method, but it may be extended in the future to add finer control over the security settings for scripts.
StyleReference: A style reference represents a graphics node, CSS property pair. It describes which GraphicsNode and which property of this GraphicsNode should be updated when a style element (for example a filter) changes due to a modification of the DOM.
PaintServer: A collection of utility methods to deliver java.awt.Paint , java.awt.Stroke objects that could be used to paint a shape. This class also provides additional methods the deliver SVG Paint using the ShapePainter interface.
EmbededScriptSecurity: This implementation of the ScriptSecurity interface only allows scripts embeded in the document, i.e., scripts whith either the same URL as the document (as for event attributes) or scripts embeded with the data protocol.
DefaultExternalResourceSecurity: Default implementation for the ExternalResourceSecurity interface. It allows all types of external resources to be loaded, but only if they come from the same server as the document they are referenced from.
DefaultScriptSecurity: Default implementation for the ScriptSecurity interface. It allows all types of scripts to be loaded, but only if they come from the same server as the document they are included into.
EmbededExternalResourceSecurity: This implementation of the ExternalResourceSecurity interface only allows external resources embeded in the document, i.e., externalResources embeded with the data protocol.
CSSUtilities: A collection of utility method involving CSS property. The listed methods bellow could be used as convenient methods to create concrete objects regarding to CSS properties.
Bridge: A tagging interface that all bridges must implement. A bridge is responsible on creating and maintaining an appropriate object according to an Element.
SVGBrokenLinkProvider: This interface is to be used to provide alternate ways of generating a placeholder image when the ImageTagRegistry fails to handle a given reference.
BridgeExtension: This is a Service interface for classes that want to extend the functionality of the Bridge, to support new tags in the rendering tree.
SVGBridgeExtension: This is a Service interface for classes that want to extend the functionality of the Bridge, to support new tags in the rendering tree.
SVG12BridgeExtension: This is a Service interface for classes that want to extend the functionality of the Bridge, to support new tags in the rendering tree.
BridgeEventSupport: This class is responsible of tracking GraphicsNodeMouseEvent and fowarding them to the DOM as regular DOM MouseEvent.
| Home | Contact Us | Privacy Policy | Terms of Service |