Uses of Class
org.apache.batik.util.ParsedURL
-
Packages that use ParsedURL Package Description org.apache.batik.anim.dom org.apache.batik.apps.rasterizer 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 thejava.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. -
-
Uses of ParsedURL in org.apache.batik.anim.dom
Fields in org.apache.batik.anim.dom declared as ParsedURL Modifier and Type Field Description protected ParsedURL
SVGOMDocument. url
The URL of the document.Methods in org.apache.batik.anim.dom that return ParsedURL Modifier and Type Method Description ParsedURL
SVGStylableElement. getCSSBase()
Returns the CSS base URL of this element.ParsedURL
SVGOMDocument. getParsedURL()
Returns the URI of the document.Methods in org.apache.batik.anim.dom with parameters of type ParsedURL Modifier and Type Method Description void
SVGOMDocument. setParsedURL(ParsedURL url)
Sets the URI of the document. -
Uses of ParsedURL in org.apache.batik.apps.rasterizer
Fields in org.apache.batik.apps.rasterizer declared as ParsedURL Modifier and Type Field Description (package private) ParsedURL
SVGConverterURLSource. purl
-
Uses of ParsedURL in org.apache.batik.apps.svgbrowser
Methods in org.apache.batik.apps.svgbrowser with parameters of type ParsedURL Modifier and Type Method Description boolean
SquiggleInputHandler. accept(ParsedURL purl)
Returns true if the input URI can be handled by the handlerboolean
SVGInputHandler. accept(ParsedURL purl)
Returns true if the input URI can be handled by the handlerboolean
XMLInputHandler. accept(ParsedURL purl)
Returns true if the input URI can be handled by the handlervoid
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 urlSquiggleInputHandler
JSVGViewerFrame. getInputHandler(ParsedURL purl)
Returns the input handler for the given URIScriptSecurity
JSVGViewerFrame.UserAgent. getScriptSecurity(java.lang.String scriptType, ParsedURL scriptURL, ParsedURL docURL)
Returns the security settings for the given script type, script url and document urlvoid
SquiggleInputHandler. handle(ParsedURL purl, JSVGViewerFrame svgFrame)
Handles the given input for the given JSVGViewerFramevoid
SVGInputHandler. handle(ParsedURL purl, JSVGViewerFrame svgViewerFrame)
Handles the given input for the given JSVGViewerFramevoid
XMLInputHandler. handle(ParsedURL purl, JSVGViewerFrame svgViewerFrame)
Handles the given input for the given JSVGViewerFrame -
Uses of ParsedURL in org.apache.batik.bridge
Fields in org.apache.batik.bridge declared as ParsedURL Modifier and Type Field Description protected ParsedURL
BaseScriptingEnvironment. docPURL
The URL of the document ot manage(package private) ParsedURL
CursorManager.CursorDescriptor. purl
Methods in org.apache.batik.bridge with parameters of type ParsedURL Modifier and Type Method Description protected void
BaseScriptingEnvironment. checkCompatibleScriptURL(java.lang.String scriptType, ParsedURL scriptPURL)
Checks that the script URLs and the document url are compatible.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. 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. 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
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.private static boolean
AbstractSVGGradientElementBridge. contains(java.util.List urls, ParsedURL key)
Returns true if the specified list of URLs contains the specified url.private static boolean
SVGPatternElementBridge. contains(java.util.List urls, ParsedURL key)
Returns true if the specified list of ParsedURLs contains the specified url.protected GraphicsNode
SVGImageElementBridge. createImageGraphicsNode(BridgeContext ctx, org.w3c.dom.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, org.w3c.dom.Element e, Filter img, ParsedURL purl)
Returns a GraphicsNode that represents an raster image in JPEG or PNG format.protected Filter
CursorManager. cursorHrefToFilter(org.w3c.dom.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 spaceExternalResourceSecurity
UserAgent. getExternalResourceSecurity(ParsedURL resourceURL, ParsedURL docURL)
Returns the security settings for the given resource url and document urlExternalResourceSecurity
UserAgentAdapter. getExternalResourceSecurity(ParsedURL resourceURL, ParsedURL docURL)
Returns the security settings for the given resource url and document urlprotected GVTFontFamily
FontFace. getFontFamily(BridgeContext ctx, ParsedURL purl)
Tries to build a GVTFontFamily from a URL referenceScriptSecurity
UserAgent. getScriptSecurity(java.lang.String scriptType, ParsedURL scriptURL, ParsedURL docURL)
Returns the security settings for the given script type, script url and document urlScriptSecurity
UserAgentAdapter. getScriptSecurity(java.lang.String scriptType, ParsedURL scriptURL, ParsedURL docURL)
Returns the security settings for the given script type, script url and document urlstatic java.lang.Object
CSSFontFace. getSrcValue(Value v, ParsedURL base)
protected SVGImageElementBridge.ProtectedStream
SVGImageElementBridge. openStream(org.w3c.dom.Element e, ParsedURL purl)
Constructors in org.apache.batik.bridge with parameters of type ParsedURL Constructor Description CursorDescriptor(ParsedURL purl, float x, float y)
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)
-
Uses of ParsedURL in org.apache.batik.css.engine
Fields in org.apache.batik.css.engine declared as ParsedURL Modifier and Type Field Description protected ParsedURL
CSSEngine. cssBaseURI
The current base URI.protected ParsedURL
CSSEngine. documentURI
The document URI.(package private) ParsedURL
FontFaceRule. purl
protected ParsedURL
ImportRule. uri
The URI of the imported stylesheet.Methods in org.apache.batik.css.engine that return ParsedURL Modifier and Type Method 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.Methods in org.apache.batik.css.engine with parameters of type ParsedURL Modifier and Type Method 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(java.lang.String rules, ParsedURL uri, java.lang.String media)
Parses and creates a new style-sheet.void
CSSEngine. parseStyleSheet(StyleSheet ss, java.lang.String rules, ParsedURL uri)
Parses and fills the given style-sheet.void
CSSEngine. parseStyleSheet(StyleSheet ss, ParsedURL uri)
Parses and fills the given style-sheet.protected void
CSSEngine. parseStyleSheet(StyleSheet ss, org.w3c.css.sac.InputSource is, ParsedURL uri)
Parses and fills the given style-sheet.StyleSheet
CSSEngine. parseStyleSheet(ParsedURL uri, java.lang.String media)
Parses and creates a new style-sheet.StyleSheet
CSSEngine. parseStyleSheet(org.w3c.css.sac.InputSource is, ParsedURL uri, java.lang.String media)
Parses and creates a new style-sheet.void
ImportRule. setURI(ParsedURL u)
Sets the URI of the imported stylesheet.Constructors in org.apache.batik.css.engine with parameters of type ParsedURL Constructor Description CSSEngine(org.w3c.dom.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(org.w3c.dom.Document doc, ParsedURL uri, ExtendedParser p, CSSContext ctx)
Creates a new SVG12CSSEngine.SVG12CSSEngine(org.w3c.dom.Document doc, ParsedURL uri, ExtendedParser p, ValueManager[] vms, ShorthandManager[] sms, CSSContext ctx)
Creates a new SVG12CSSEngine.SVGCSSEngine(org.w3c.dom.Document doc, ParsedURL uri, ExtendedParser p, CSSContext ctx)
Creates a new SVGCSSEngine.SVGCSSEngine(org.w3c.dom.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)
SVGCSSEngine(org.w3c.dom.Document doc, ParsedURL uri, ExtendedParser p, ValueManager[] vms, ShorthandManager[] sms, CSSContext ctx)
Creates a new SVGCSSEngine. -
Uses of ParsedURL in org.apache.batik.css.engine.value
Methods in org.apache.batik.css.engine.value with parameters of type ParsedURL Modifier and Type Method Description protected static java.lang.String
AbstractValueFactory. resolveURI(ParsedURL base, java.lang.String value)
Resolves an URI. -
Uses of ParsedURL in org.apache.batik.ext.awt.image
Methods in org.apache.batik.ext.awt.image with parameters of type ParsedURL Modifier and Type Method Description void
URLImageCache. clear(ParsedURL purl)
Clear the entry for ParsedURL.boolean
URLImageCache. isDone(ParsedURL purl)
Check ifrequest(url)
will return immediately with the Filter.boolean
URLImageCache. isPresent(ParsedURL purl)
Check ifrequest(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'. -
Uses of ParsedURL in org.apache.batik.ext.awt.image.codec.imageio
Methods in org.apache.batik.ext.awt.image.codec.imageio with parameters of type ParsedURL Modifier and Type Method Description Filter
AbstractImageIORegistryEntry. handleStream(java.io.InputStream inIS, ParsedURL origURL, boolean needRawData)
Decode the Stream into a RenderableImage -
Uses of ParsedURL in org.apache.batik.ext.awt.image.codec.png
Methods in org.apache.batik.ext.awt.image.codec.png with parameters of type ParsedURL Modifier and Type Method Description Filter
PNGRegistryEntry. handleStream(java.io.InputStream inIS, ParsedURL origURL, boolean needRawData)
Decode the Stream into a RenderableImage -
Uses of ParsedURL in org.apache.batik.ext.awt.image.spi
Methods in org.apache.batik.ext.awt.image.spi with parameters of type ParsedURL Modifier and Type Method 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
JDKRegistryEntry. handleURL(ParsedURL purl, boolean needRawData)
Decode the URL into a RenderableImageFilter
URLRegistryEntry. handleURL(ParsedURL url, boolean needRawData)
Decode the URL into a RenderableImage, here you should feel free to open the URL yourself.boolean
JDKRegistryEntry. isCompatibleURL(ParsedURL purl)
Check if the Stream references an image that can be handled by this format handler.boolean
URLRegistryEntry. isCompatibleURL(ParsedURL url)
Check if the URL 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)
-
Uses of ParsedURL in org.apache.batik.extension
Fields in org.apache.batik.extension declared as ParsedURL Modifier and Type Field Description protected ParsedURL
StylableExtensionElement. cssBase
The base URL.Methods in org.apache.batik.extension that return ParsedURL Modifier and Type Method Description ParsedURL
StylableExtensionElement. getCSSBase()
Returns the CSS base URL of this element. -
Uses of ParsedURL in org.apache.batik.swing.svg
Methods in org.apache.batik.swing.svg with parameters of type ParsedURL Modifier and Type Method Description 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
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
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.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.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
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.ExternalResourceSecurity
JSVGComponent.BridgeUserAgent. getExternalResourceSecurity(ParsedURL resourceURL, ParsedURL docURL)
Returns the security settings for the given resource url and document urlExternalResourceSecurity
JSVGComponent.BridgeUserAgentWrapper. getExternalResourceSecurity(ParsedURL resourcePURL, ParsedURL docPURL)
Returns the security settings for the given resource url and document urlExternalResourceSecurity
SVGUserAgent. getExternalResourceSecurity(ParsedURL resourceURL, ParsedURL docURL)
Returns the security settings for the given resource url and document urlExternalResourceSecurity
SVGUserAgentAdapter. getExternalResourceSecurity(ParsedURL resourceURL, ParsedURL docURL)
Returns the security settings for the given resource url and document urlScriptSecurity
JSVGComponent.BridgeUserAgent. getScriptSecurity(java.lang.String scriptType, ParsedURL scriptURL, ParsedURL docURL)
Returns the security settings for the given script type, script url and document urlScriptSecurity
JSVGComponent.BridgeUserAgentWrapper. getScriptSecurity(java.lang.String scriptType, ParsedURL scriptPURL, ParsedURL docPURL)
Returns the security settings for the given script type, script url and document urlScriptSecurity
SVGUserAgent. getScriptSecurity(java.lang.String scriptType, ParsedURL scriptURL, ParsedURL docURL)
Returns the security settings for the given script type, script url and document urlScriptSecurity
SVGUserAgentAdapter. getScriptSecurity(java.lang.String scriptType, ParsedURL scriptURL, ParsedURL docURL)
Returns the security settings for the given script type, script url and document url -
Uses of ParsedURL in org.apache.batik.transcoder
Methods in org.apache.batik.transcoder with parameters of type ParsedURL Modifier and Type Method Description 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 -
Uses of ParsedURL in org.apache.batik.util
Methods in org.apache.batik.util with parameters of type ParsedURL Modifier and Type Method Description static ParsedURLData
ParsedURL. parseURL(ParsedURL baseURL, java.lang.String urlStr)
Factory method to construct an appropriate subclass of ParsedURLData, for a sub url.ParsedURLData
ParsedURLDataProtocolHandler. parseURL(ParsedURL baseURL, java.lang.String urlStr)
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
ParsedURLJarProtocolHandler. parseURL(ParsedURL baseURL, java.lang.String urlStr)
ParsedURLData
ParsedURLProtocolHandler. parseURL(ParsedURL basepurl, java.lang.String urlStr)
Parse a relative url string of this protocol.boolean
ParsedURL. sameFile(ParsedURL other)
Constructors in org.apache.batik.util with parameters of type ParsedURL Constructor Description ParsedURL(ParsedURL baseURL, java.lang.String urlStr)
Construct a sub URL from a base ParsedURL and a string for the sub url.
-