Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    
SUMMARY: 
java.lang.Object
  extended by org.apache.batik.svggen.SVGFontDescriptor
All Implemented Interfaces:
SVGDescriptor, SVGSyntax, CSSConstants, SVGConstants, XMLConstants

public class SVGFontDescriptor
extends java.lang.Object
implements SVGDescriptor, SVGSyntax

Describes an SVG font

See Also:
SVGFont

Constructor Detail

SVGFontDescriptor

public SVGFontDescriptor(java.lang.String fontSize,
                         java.lang.String fontWeight,
                         java.lang.String fontStyle,
                         java.lang.String fontFamily,
                         org.w3c.dom.Element def)
Constructor

Method Detail

getAttributeMap

public java.util.Map getAttributeMap(java.util.Map attrMap)
Specified by:
getAttributeMap in interface SVGDescriptor
Parameters:
attrMap - if not null, attribute name/value pairs for this descriptor should be written in this Map. Otherwise, a new Map will be created and attribute name/value pairs will be written into it.
Returns:
a map containing the SVG attributes needed by the descriptor.

getDef

public org.w3c.dom.Element getDef()

getDefinitionSet

public java.util.List getDefinitionSet(java.util.List defSet)
Specified by:
getDefinitionSet in interface SVGDescriptor
Parameters:
defSet - if not null, definitions required to provide targets for the descriptor attribute values will be copied into defSet. If null, a new Set should be created and definitions copied into it. The set contains zero, one or more Elements.
Returns:
a set containing Elements that represent the definition of the descriptor's attribute values

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    
SUMMARY: