org.apache.batik.svggen
Class DefaultStyleHandler

java.lang.Object
  |
  +--org.apache.batik.svggen.DefaultStyleHandler
All Implemented Interfaces:
StyleHandler

public class DefaultStyleHandler
extends java.lang.Object
implements StyleHandler

The DefaultStyleHandler class provides the default way to style an SVG Element.


Constructor Summary
DefaultStyleHandler()
           
 
Method Summary
 void setStyle(Element element, java.util.Map styleMap, SVGGeneratorContext generatorContext)
          Sets the style described by styleMap on the given element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStyleHandler

public DefaultStyleHandler()
Method Detail

setStyle

public void setStyle(Element element,
                     java.util.Map styleMap,
                     SVGGeneratorContext generatorContext)
Sets the style described by styleMap on the given element. That is sets the xml attributes with their styled value.
Specified by:
setStyle in interface StyleHandler
Parameters:
element - the SVG Element to be styled.
styleMap - the Map containing pairs of style property names, style values.


Copyright © 2002 Apache Software Foundation. All Rights Reserved.