Class SVGFontFaceElementBridge

java.lang.Object
org.apache.batik.bridge.AbstractSVGBridge
org.apache.batik.bridge.SVGFontFaceElementBridge
All Implemented Interfaces:
Bridge, ErrorConstants, XMLConstants, CSSConstants, SVGConstants

public class SVGFontFaceElementBridge extends AbstractSVGBridge implements ErrorConstants
Bridge class for the <font-face> element.
Version:
$Id: SVGFontFaceElementBridge.java 1805408 2017-08-18 12:21:52Z ssteiner $
  • Constructor Details

    • SVGFontFaceElementBridge

      public SVGFontFaceElementBridge()
      Constructs a new bridge for the <font-face> element.
  • Method Details

    • getLocalName

      public String getLocalName()
      Returns 'font-face'.
      Specified by:
      getLocalName in interface Bridge
    • createFontFace

      public SVGFontFace createFontFace(BridgeContext ctx, Element fontFaceElement)
      Creates an SVGFontFace that repesents the specified <font-face> element.
      Parameters:
      ctx - The current bridge context.
      fontFaceElement - The <font-face> element.
      Returns:
      A new SVGFontFace.
    • getFontFaceSrcs

      public List getFontFaceSrcs(Element fontFaceElement)
      the returned list may contain Strings and ParsedURLs