Package | Description |
---|---|
org.apache.batik.anim.dom | |
org.apache.batik.apps.svgbrowser | |
org.apache.batik.bridge |
Provides an API for mapping and maintaining consistency between
the SVG DOM tree and the GVT tree.
|
org.apache.batik.css.engine | |
org.apache.batik.css.engine.value | |
org.apache.batik.ext.awt.image |
Contains extensions to the
java.awt.image package. |
org.apache.batik.ext.awt.image.codec.imageio | |
org.apache.batik.ext.awt.image.codec.png | |
org.apache.batik.ext.awt.image.spi | |
org.apache.batik.extension |
This package contains Batik's extensions to standard SVG (custom elements,
additional bridges...).
|
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.
|
org.apache.batik.util |
Provides some useful classes.
|
Modifier and Type | Field and Description |
---|---|
protected ParsedURL |
SVGOMDocument.url
The URL of the document.
|
Modifier and Type | Method and Description |
---|---|
ParsedURL |
SVGStylableElement.getCSSBase()
Returns the CSS base URL of this element.
|
ParsedURL |
SVGOMDocument.getParsedURL()
Returns the URI of the document.
|
Modifier and Type | Method and Description |
---|---|
void |
SVGOMDocument.setParsedURL(ParsedURL url)
Sets the URI of the document.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SVGInputHandler.accept(ParsedURL purl)
Returns true if the input URI can be handled by the handler
|
boolean |
SquiggleInputHandler.accept(ParsedURL purl)
Returns true if the input URI can be handled by the handler
|
boolean |
XMLInputHandler.accept(ParsedURL purl)
Returns true if the input URI can be handled by the handler
|
void |
JSVGViewerFrame.UserAgent.checkLoadExternalResource(ParsedURL resourceURL,
ParsedURL docURL)
This method throws a SecurityException if the resource
found at url and referenced from docURL
should not be loaded.
|
void |
JSVGViewerFrame.UserAgent.checkLoadScript(java.lang.String scriptType,
ParsedURL scriptURL,
ParsedURL docURL)
This method throws a SecurityException if the script
of given type, found at url and referenced from docURL
should not be loaded.
|
ExternalResourceSecurity |
JSVGViewerFrame.UserAgent.getExternalResourceSecurity(ParsedURL resourceURL,
ParsedURL docURL)
Returns the security settings for the given
resource url and document url
|
SquiggleInputHandler |
JSVGViewerFrame.getInputHandler(ParsedURL purl)
Returns the input handler for the given URI
|
ScriptSecurity |
JSVGViewerFrame.UserAgent.getScriptSecurity(java.lang.String scriptType,
ParsedURL scriptURL,
ParsedURL docURL)
Returns the security settings for the given script
type, script url and document url
|
void |
SVGInputHandler.handle(ParsedURL purl,
JSVGViewerFrame svgViewerFrame)
Handles the given input for the given JSVGViewerFrame
|
void |
SquiggleInputHandler.handle(ParsedURL purl,
JSVGViewerFrame svgFrame)
Handles the given input for the given JSVGViewerFrame
|
void |
XMLInputHandler.handle(ParsedURL purl,
JSVGViewerFrame svgViewerFrame)
Handles the given input for the given JSVGViewerFrame
|
Modifier and Type | Field and Description |
---|---|
protected ParsedURL |
BaseScriptingEnvironment.docPURL
The URL of the document ot manage
|
Modifier and Type | Method and Description |
---|---|
protected void |
BaseScriptingEnvironment.checkCompatibleScriptURL(java.lang.String scriptType,
ParsedURL scriptPURL)
Checks that the script URLs and the document url are
compatible.
|
void |
UserAgentAdapter.checkLoadExternalResource(ParsedURL resourceURL,
ParsedURL docURL)
This method throws a SecurityException if the resource
found at url and referenced from docURL
should not be loaded.
|
void |
BridgeContext.checkLoadExternalResource(ParsedURL resourceURL,
ParsedURL docURL)
This method throws a SecurityException if the resource
found at url and referenced from docURL
should not be loaded.
|
void |
UserAgent.checkLoadExternalResource(ParsedURL resourceURL,
ParsedURL docURL)
This method throws a SecurityException if the resource
found at url and referenced from docURL
should not be loaded.
|
void |
UserAgentAdapter.checkLoadScript(java.lang.String scriptType,
ParsedURL scriptURL,
ParsedURL docURL)
This method throws a SecurityException if the script
of given type, found at url and referenced from docURL
should not be loaded.
|
void |
UserAgent.checkLoadScript(java.lang.String scriptType,
ParsedURL scriptURL,
ParsedURL docURL)
This method throws a SecurityException if the script
of given type, found at url and referenced from docURL
should not be loaded.
|
protected GraphicsNode |
SVGImageElementBridge.createImageGraphicsNode(BridgeContext ctx,
Element e,
ParsedURL purl) |
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 Filter |
CursorManager.cursorHrefToFilter(Element cursorElement,
ParsedURL purl,
java.awt.geom.Point2D hotSpot)
Converts the input ParsedURL into a Filter and transforms the
input hotSpot point (in image space) to cursor space
|
ExternalResourceSecurity |
UserAgentAdapter.getExternalResourceSecurity(ParsedURL resourceURL,
ParsedURL docURL)
Returns the security settings for the given resource
url and document url
|
ExternalResourceSecurity |
UserAgent.getExternalResourceSecurity(ParsedURL resourceURL,
ParsedURL docURL)
Returns the security settings for the given resource
url and document url
|
protected GVTFontFamily |
FontFace.getFontFamily(BridgeContext ctx,
ParsedURL purl)
Tries to build a GVTFontFamily from a URL reference
|
ScriptSecurity |
UserAgentAdapter.getScriptSecurity(java.lang.String scriptType,
ParsedURL scriptURL,
ParsedURL docURL)
Returns the security settings for the given script
type, script url and document url
|
ScriptSecurity |
UserAgent.getScriptSecurity(java.lang.String scriptType,
ParsedURL scriptURL,
ParsedURL docURL)
Returns the security settings for the given script
type, script url and document url
|
static java.lang.Object |
CSSFontFace.getSrcValue(Value v,
ParsedURL base) |
protected SVGImageElementBridge.ProtectedStream |
SVGImageElementBridge.openStream(Element e,
ParsedURL purl) |
Constructor and Description |
---|
DefaultExternalResourceSecurity(ParsedURL externalResourceURL,
ParsedURL docURL) |
DefaultScriptSecurity(java.lang.String scriptType,
ParsedURL scriptURL,
ParsedURL docURL) |
EmbededExternalResourceSecurity(ParsedURL externalResourceURL) |
EmbededScriptSecurity(java.lang.String scriptType,
ParsedURL scriptURL,
ParsedURL docURL) |
RelaxedExternalResourceSecurity(ParsedURL externalResourceURL,
ParsedURL docURL) |
RelaxedScriptSecurity(java.lang.String scriptType,
ParsedURL scriptURL,
ParsedURL docURL) |
Modifier and Type | Field and Description |
---|---|
protected ParsedURL |
CSSEngine.cssBaseURI
The current base URI.
|
protected ParsedURL |
CSSEngine.documentURI
The document URI.
|
protected ParsedURL |
ImportRule.uri
The URI of the imported stylesheet.
|
Modifier and Type | Method and Description |
---|---|
ParsedURL |
CSSStylableElement.getCSSBase()
Returns the CSS base URL of this element.
|
ParsedURL |
CSSEngine.getCSSBaseURI()
Returns the current base-url.
|
ParsedURL |
ImportRule.getURI()
Returns the URI of the imported stylesheet.
|
ParsedURL |
FontFaceRule.getURL()
Returns the URI of the @font-face rule.
|
Modifier and Type | Method and Description |
---|---|
void |
CSSContext.checkLoadExternalResource(ParsedURL resourceURL,
ParsedURL docURL)
This method should throw a SecurityException if the resource
found at url and referenced from docURL should not be loaded.
|
StyleSheet |
CSSEngine.parseStyleSheet(org.w3c.css.sac.InputSource is,
ParsedURL uri,
java.lang.String media)
Parses and creates a new style-sheet.
|
StyleSheet |
CSSEngine.parseStyleSheet(ParsedURL uri,
java.lang.String media)
Parses and creates a new style-sheet.
|
StyleSheet |
CSSEngine.parseStyleSheet(java.lang.String rules,
ParsedURL uri,
java.lang.String media)
Parses and creates a new style-sheet.
|
protected void |
CSSEngine.parseStyleSheet(StyleSheet ss,
org.w3c.css.sac.InputSource is,
ParsedURL uri)
Parses and fills the given style-sheet.
|
void |
CSSEngine.parseStyleSheet(StyleSheet ss,
ParsedURL uri)
Parses and fills the given style-sheet.
|
void |
CSSEngine.parseStyleSheet(StyleSheet ss,
java.lang.String rules,
ParsedURL uri)
Parses and fills the given style-sheet.
|
void |
ImportRule.setURI(ParsedURL u)
Sets the URI of the imported stylesheet.
|
Constructor and Description |
---|
CSSEngine(Document doc,
ParsedURL uri,
ExtendedParser p,
ValueManager[] vm,
ShorthandManager[] sm,
java.lang.String[] pe,
java.lang.String sns,
java.lang.String sln,
java.lang.String cns,
java.lang.String cln,
boolean hints,
java.lang.String hintsNS,
CSSContext ctx)
Creates a new CSSEngine.
|
FontFaceRule(StyleMap sm,
ParsedURL purl) |
SVG12CSSEngine(Document doc,
ParsedURL uri,
ExtendedParser p,
CSSContext ctx)
Creates a new SVG12CSSEngine.
|
SVG12CSSEngine(Document doc,
ParsedURL uri,
ExtendedParser p,
ValueManager[] vms,
ShorthandManager[] sms,
CSSContext ctx)
Creates a new SVG12CSSEngine.
|
SVGCSSEngine(Document doc,
ParsedURL uri,
ExtendedParser p,
CSSContext ctx)
Creates a new SVGCSSEngine.
|
SVGCSSEngine(Document doc,
ParsedURL uri,
ExtendedParser p,
ValueManager[] vms,
ShorthandManager[] sms,
CSSContext ctx)
Creates a new SVGCSSEngine.
|
SVGCSSEngine(Document doc,
ParsedURL uri,
ExtendedParser p,
ValueManager[] vms,
ShorthandManager[] sms,
java.lang.String[] pe,
java.lang.String sns,
java.lang.String sln,
java.lang.String cns,
java.lang.String cln,
boolean hints,
java.lang.String hintsNS,
CSSContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
AbstractValueFactory.resolveURI(ParsedURL base,
java.lang.String value)
Resolves an URI.
|
Modifier and Type | Method and Description |
---|---|
void |
URLImageCache.clear(ParsedURL purl)
Clear the entry for ParsedURL.
|
boolean |
URLImageCache.isDone(ParsedURL purl)
Check if
request(url) will return immediately with the
Filter. |
boolean |
URLImageCache.isPresent(ParsedURL purl)
Check if
request(url) will return with a Filter
(not putting you on the hook for it). |
void |
URLImageCache.put(ParsedURL purl,
Filter filt)
Associate bi with purl.
|
Filter |
URLImageCache.request(ParsedURL purl)
If this returns null then you are now 'on the hook'.
|
Modifier and Type | Method and Description |
---|---|
Filter |
AbstractImageIORegistryEntry.handleStream(java.io.InputStream inIS,
ParsedURL origURL,
boolean needRawData)
Decode the Stream into a RenderableImage
|
Modifier and Type | Method and Description |
---|---|
Filter |
PNGRegistryEntry.handleStream(java.io.InputStream inIS,
ParsedURL origURL,
boolean needRawData)
Decode the Stream into a RenderableImage
|
Modifier and Type | Method and Description |
---|---|
Filter |
ImageTagRegistry.checkCache(ParsedURL purl,
org.apache.xmlgraphics.java2d.color.ICCColorSpaceWithIntent colorSpace) |
void |
ImageTagRegistry.flushImage(ParsedURL purl)
Removes the given URL from the cache.
|
Filter |
StreamRegistryEntry.handleStream(java.io.InputStream is,
ParsedURL origURL,
boolean needRawData)
Decode the Stream into a Filter.
|
Filter |
URLRegistryEntry.handleURL(ParsedURL url,
boolean needRawData)
Decode the URL into a RenderableImage, here you should feel
free to open the URL yourself.
|
Filter |
JDKRegistryEntry.handleURL(ParsedURL purl,
boolean needRawData)
Decode the URL into a RenderableImage
|
boolean |
URLRegistryEntry.isCompatibleURL(ParsedURL url)
Check if the URL references an image that can be
handled by this format handler.
|
boolean |
JDKRegistryEntry.isCompatibleURL(ParsedURL purl)
Check if the Stream references an image that can be handled by
this format handler.
|
Filter |
ImageTagRegistry.readURL(java.io.InputStream is,
ParsedURL purl,
org.apache.xmlgraphics.java2d.color.ICCColorSpaceWithIntent colorSpace,
boolean allowOpenStream,
boolean returnBrokenLink) |
Filter |
ImageTagRegistry.readURL(ParsedURL purl) |
Filter |
ImageTagRegistry.readURL(ParsedURL purl,
org.apache.xmlgraphics.java2d.color.ICCColorSpaceWithIntent colorSpace) |
Modifier and Type | Field and Description |
---|---|
protected ParsedURL |
StylableExtensionElement.cssBase
The base URL.
|
Modifier and Type | Method and Description |
---|---|
ParsedURL |
StylableExtensionElement.getCSSBase()
Returns the CSS base URL of this element.
|
Modifier and Type | Method and Description |
---|---|
void |
SVGUserAgent.checkLoadExternalResource(ParsedURL resourceURL,
ParsedURL docURL)
This method throws a SecurityException if the resource
found at url and referenced from docURL
should not be loaded.
|
void |
SVGUserAgentAdapter.checkLoadExternalResource(ParsedURL resourceURL,
ParsedURL docURL)
This method throws a SecurityException if the resource
found at url and referenced from docURL
should not be loaded.
|
void |
JSVGComponent.BridgeUserAgentWrapper.checkLoadExternalResource(ParsedURL resourceURL,
ParsedURL docURL)
This method throws a SecurityException if the resource
found at url and referenced from docURL
should not be loaded.
|
void |
JSVGComponent.BridgeUserAgent.checkLoadExternalResource(ParsedURL resourceURL,
ParsedURL docURL)
This method throws a SecurityException if the resource
found at url and referenced from docURL
should not be loaded.
|
void |
SVGUserAgent.checkLoadScript(java.lang.String scriptType,
ParsedURL scriptURL,
ParsedURL docURL)
This method throws a SecurityException if the script
of given type, found at url and referenced from docURL
should not be loaded.
|
void |
SVGUserAgentAdapter.checkLoadScript(java.lang.String scriptType,
ParsedURL scriptURL,
ParsedURL docURL)
This method throws a SecurityException if the script
of given type, found at url and referenced from docURL
should not be loaded.
|
void |
JSVGComponent.BridgeUserAgentWrapper.checkLoadScript(java.lang.String scriptType,
ParsedURL scriptPURL,
ParsedURL docPURL)
This method throws a SecurityException if the script
of given type, found at url and referenced from docURL
should not be loaded.
|
void |
JSVGComponent.BridgeUserAgent.checkLoadScript(java.lang.String scriptType,
ParsedURL scriptURL,
ParsedURL docURL)
This method throws a SecurityException if the script
of given type, found at url and referenced from docURL
should not be loaded.
|
ExternalResourceSecurity |
SVGUserAgent.getExternalResourceSecurity(ParsedURL resourceURL,
ParsedURL docURL)
Returns the security settings for the given
resource url and document url
|
ExternalResourceSecurity |
SVGUserAgentAdapter.getExternalResourceSecurity(ParsedURL resourceURL,
ParsedURL docURL)
Returns the security settings for the given
resource url and document url
|
ExternalResourceSecurity |
JSVGComponent.BridgeUserAgentWrapper.getExternalResourceSecurity(ParsedURL resourcePURL,
ParsedURL docPURL)
Returns the security settings for the given resource
url and document url
|
ExternalResourceSecurity |
JSVGComponent.BridgeUserAgent.getExternalResourceSecurity(ParsedURL resourceURL,
ParsedURL docURL)
Returns the security settings for the given
resource url and document url
|
ScriptSecurity |
SVGUserAgent.getScriptSecurity(java.lang.String scriptType,
ParsedURL scriptURL,
ParsedURL docURL)
Returns the security settings for the given script
type, script url and document url
|
ScriptSecurity |
SVGUserAgentAdapter.getScriptSecurity(java.lang.String scriptType,
ParsedURL scriptURL,
ParsedURL docURL)
Returns the security settings for the given script
type, script url and document url
|
ScriptSecurity |
JSVGComponent.BridgeUserAgentWrapper.getScriptSecurity(java.lang.String scriptType,
ParsedURL scriptPURL,
ParsedURL docPURL)
Returns the security settings for the given script
type, script url and document url
|
ScriptSecurity |
JSVGComponent.BridgeUserAgent.getScriptSecurity(java.lang.String scriptType,
ParsedURL scriptURL,
ParsedURL docURL)
Returns the security settings for the given script
type, script url and document url
|
Modifier and Type | Method and Description |
---|---|
ExternalResourceSecurity |
SVGAbstractTranscoder.SVGAbstractTranscoderUserAgent.getExternalResourceSecurity(ParsedURL resourceURL,
ParsedURL docURL) |
ScriptSecurity |
SVGAbstractTranscoder.SVGAbstractTranscoderUserAgent.getScriptSecurity(java.lang.String scriptType,
ParsedURL scriptPURL,
ParsedURL docPURL)
Returns the security settings for the given script
type, script url and document url
|
Modifier and Type | Method and Description |
---|---|
ParsedURLData |
ParsedURLProtocolHandler.parseURL(ParsedURL basepurl,
java.lang.String urlStr)
Parse a relative url string of this protocol.
|
static ParsedURLData |
ParsedURL.parseURL(ParsedURL baseURL,
java.lang.String urlStr)
Factory method to construct an appropriate subclass of ParsedURLData,
for a sub url.
|
ParsedURLData |
ParsedURLDefaultProtocolHandler.parseURL(ParsedURL baseURL,
java.lang.String urlStr)
Parses the string as a sub URL of baseURL, and returns the
results of parsing in the ParsedURLData object.
|
ParsedURLData |
ParsedURLDataProtocolHandler.parseURL(ParsedURL baseURL,
java.lang.String urlStr) |
ParsedURLData |
ParsedURLJarProtocolHandler.parseURL(ParsedURL baseURL,
java.lang.String urlStr) |
boolean |
ParsedURL.sameFile(ParsedURL other) |
Constructor and Description |
---|
ParsedURL(ParsedURL baseURL,
java.lang.String urlStr)
Construct a sub URL from a base ParsedURL and a string for the sub url.
|
Copyright © 2022 Apache Software Foundation. All Rights Reserved.