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.SVGCSSStyler
All Implemented Interfaces:
SVGSyntax, CSSConstants, SVGConstants, XMLConstants

public class SVGCSSStyler
extends java.lang.Object
implements SVGSyntax

This utility class converts a standard SVG document that uses attribute into one that uses the CSS style attribute instead.


Constructor Detail

SVGCSSStyler

public SVGCSSStyler()
Method Detail

style

public static void style(org.w3c.dom.Node node)
Invoking this method removes all the styling attributes (such as 'fill' or 'fill-opacity') from the input element and its descendant and replaces them with their CSS2 property counterparts.

Parameters:
node - SVG Node to be converted to use style

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