org.apache.batik.bridge

Class SVGFontFaceElementBridge

public class SVGFontFaceElementBridge extends AbstractSVGBridge implements ErrorConstants

Bridge class for the <font-face> element.
Constructor Summary
SVGFontFaceElementBridge()
Constructs a new bridge for the <font-face> element.
Method Summary
SVGFontFacecreateFontFace(BridgeContext ctx, Element fontFaceElement)
Creates an SVGFontFace that repesents the specified <font-face> element.
ListgetFontFaceSrcs(Element fontFaceElement)
the returned list may contain Strings and ParsedURLs
StringgetLocalName()
Returns 'font-face'.

Constructor Detail

SVGFontFaceElementBridge

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

Method Detail

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

getLocalName

public String getLocalName()
Returns 'font-face'.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.