net.sf.latexdraw.parsers.svg
Class SVGElementsFactory

java.lang.Object
  extended by net.sf.latexdraw.parsers.svg.SVGElementsFactory

public final class SVGElementsFactory
extends java.lang.Object

This class must be used to create SVG elements.

This file is part of LaTeXDraw.
Copyright (c) 2005-2012 Arnaud BLOUIN

LaTeXDraw is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

LaTeXDraw is distributed without any warranty; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

09/11/07

Version:
3.0
Author:
Arnaud BLOUIN

Field Summary
static SVGElementsFactory INSTANCE
          The singleton.
 
Constructor Summary
private SVGElementsFactory()
           
 
Method Summary
 SVGElement createSVGElement(org.w3c.dom.Node src, SVGElement parent)
          This factory can be used in order to create an SVG element according to the given SVG node (tag).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final SVGElementsFactory INSTANCE
The singleton.

Constructor Detail

SVGElementsFactory

private SVGElementsFactory()
Method Detail

createSVGElement

public SVGElement createSVGElement(org.w3c.dom.Node src,
                                   SVGElement parent)
This factory can be used in order to create an SVG element according to the given SVG node (tag).

Parameters:
src - The node that will be used to create the SVG element.
parent - The parent of the element to create.
Returns:
The created SVG element.
Since:
0.1