primaryContext
The bridge context for the primary document, if this is a bridge
context for a resource document.
ErrorConstants, CSSContextSVG12BridgeContextGraphicsNodeRenderContext,
and the different objects required by the GVT builder to interpret
a SVG DOM tree such as the current viewport or the user agent.protected class static class protected class protected class protected class protected class protected class protected class protected class protected static class static class protected AnimatedAttributeListenerprotected SVGAnimationEngineprotected floatprotected intprotected HashSetprotected CSSEngineListenerprotected CursorManagerprotected Bridgeprotected Documentprotected DocumentLoaderprotected Dimension2Dprotected EventListenerprotected EventListenerprotected EventListenerprotected EventListenerstatic final intprotected intprotected Mapprotected Mapprotected Setprotected Listprotected FocusManagerprotected static Listprotected GVTBuilderstatic final intprotected Mapprotected InterpreterPoolprotected booleanprotected Mapprotected Mapprotected BridgeContextprotected Setstatic final intprotected TextPainterprotected UpdateManagerprotected UserAgentprotected Mapprotected Listprotected XBLManagerERR_ATTRIBUTE_MISSING, ERR_ATTRIBUTE_VALUE_MALFORMED, ERR_CSS_LENGTH_NEGATIVE, ERR_CSS_URI_BAD_TARGET, ERR_LENGTH_NEGATIVE, ERR_URI_BAD_TARGET, ERR_URI_IMAGE_BROKEN, ERR_URI_IMAGE_INVALID, ERR_URI_IO, ERR_URI_MALFORMED, ERR_URI_REFERENCE_A_DOCUMENT, ERR_URI_UNSECURE, ERR_XLINK_HREF_CIRCULAR_DEPENDENCIES, URI_IMAGE_ERRORprotected BridgeContext(UserAgent userAgent) BridgeContext(UserAgent userAgent,
DocumentLoader loader) BridgeContext(UserAgent userAgent,
InterpreterPool interpreterPool,
DocumentLoader documentLoader) voidvoidaddGVTListener(Document doc) voidvoidbind(Node node,
GraphicsNode gn) booleanbooleancheckInteractiveElement(org.w3c.dom.svg.SVGDocument doc,
Element e) voidcheckLoadExternalResource(ParsedURL resourceURL,
ParsedURL docURL) protected voidvoidcreateSubBridgeContext(SVGOMDocument newDoc) createURIResolver(org.w3c.dom.svg.SVGDocument doc,
DocumentLoader dl) voiddispose()protected voidfinalize()floatgetBlockHeight(Element elt) floatgetBlockWidth(Element elt) floatgetBolderFontWeight(float f) protected static BridgeUpdateHandlergetBridgeUpdateHandler(Node node) final FontFamilyResolverstatic ListgetGraphicsNode(Node node) getInterpreter(String language) floatgetLighterFontWeight(float f) floatfloatfloatgetReferencedElement(Element e,
String uri) getReferencedNode(Element e,
String uri) protected static SVGContextgetSVGContext(Node node) getSystemColor(String ident) booleanhasGraphicsNodeBridge(Element element) protected voidinitializeDocument(Document document) booleanbooleanbooleanbooleanbooleanisSVG12()voidopenViewport(Element e,
Viewport viewport) voidBridge object with the specified
namespace URI and local name.voidBridge object with it's
namespace URI and local name.voidputReservedNamespaceURI(String namespaceURI) voidvoidremoveBridge(String namespaceURI,
String localName) Bridge object associated to the specified
namespace URI and local name.protected voidvoidremoveReservedNamespaceURI(String namespaceURI) voidvoidvoidsetAnimationLimitingCPU(float pc) voidsetAnimationLimitingFPS(float fps) protected voidvoidvoidsetDefaultBridge(Bridge bridge) Bridge object to be used for foreign
namespace elements.protected voidsetDocument(Document document) protected voidsetDocumentLoader(DocumentLoader newDocumentLoader) protected voidvoidsetDynamic(boolean dynamic) dynamic is true
STATIC otherwise.voidsetDynamicState(int status) voidsetElementData(Node n,
Object data) protected voidsetFontFamilyMap(Map fontFamilyMap) protected voidsetGVTBuilder(GVTBuilder gvtBuilder) voidsetInteractive(boolean interactive) interactive is
true STATIC otherwise.protected voidsetInterpreterPool(InterpreterPool interpreterPool) voidsetTextPainter(TextPainter textPainter) protected voidsetUpdateManager(BridgeContext ctx,
UpdateManager um) protected voidprotected voidsetUserAgent(UserAgent userAgent) protected voidsetXBLManager(BridgeContext ctx,
XBLManager xm) protected voidstoreEventListener(EventTarget t,
String s,
EventListener l,
boolean b) protected voidstoreEventListenerNS(EventTarget t,
String n,
String s,
EventListener l,
boolean b) voiduserAgent - the user agentuserAgent - the user agentloader - document loaderuserAgent - the user agentinterpreterPool - the interpreter pooldocumentLoader - document loadernewDoc - The document to get/create a BridgeContext for.getCSSEngineForElement in interface CSSContexttextPainter - the text painter for text nodesdocument - the documentfontFamilyMap - the map of font familiesuserAgent - the user agentinterpreterPool - the interpreter poollanguage - the scripting languagenewDocumentLoader - the new document loaderd - the actual size of the SVG documentisDynamic in interface CSSContextisInteractive in interface CSSContextgvtBuilder.build(...))
otherwise, that will have no effect.status - the document dynamicStatusdynamic is true
STATIC otherwise.interactive is
true STATIC otherwise.e - the element that closes its viewportnode - the DOM Node to bind to the specified graphics nodegn - the graphics node to bind to the specified elementnode - the DOM Node to unbindnode - the DOM Node associated to the graphics node to returngn - the graphics node associated to the element to returnelement - the elementBridge object with it's
namespace URI and local name.bridge - the bridge that manages the elementBridge object to be used for foreign
namespace elements.bridge - the bridge that manages the elementgetSystemColor in interface CSSContextgetDefaultFontFamily in interface CSSContextgetLighterFontWeight in interface CSSContextgetBolderFontWeight in interface CSSContextgetPixelUnitToMillimeter in interface CSSContextgetPixelToMillimeter in interface CSSContextgetMediumFontSize in interface CSSContextgetBlockWidth in interface CSSContextgetBlockHeight in interface CSSContextcheckLoadExternalResource in interface CSSContextresourceURL - url for the script, as defined in
the resource's xlink:href attribute. If that
attribute was empty, then this parameter should
be nulldocURL - url for the document into which the
resource was found.SecurityExceptionpc - the maximum percentage of CPU to use (0 < pc ≤ 1)fps - the maximum number of frames per second (fps > 0)