Package org.opencypher.railroad
Class SVGShapes.DOMFactory
- java.lang.Object
-
- org.opencypher.railroad.SVGShapes.DOMFactory
-
- All Implemented Interfaces:
Function<SVGShapes,Document>,Diagram.CanvasProvider<SVGShapes,XMLStreamException>
- Enclosing class:
- SVGShapes
public static final class SVGShapes.DOMFactory extends Object implements Diagram.CanvasProvider<SVGShapes,XMLStreamException>, Function<SVGShapes,Document>
-
-
Constructor Summary
Constructors Constructor Description DOMFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Documentapply(SVGShapes svg)SVGShapesnewCanvas(String name, double width, double height)
-
-
-
Method Detail
-
newCanvas
public final SVGShapes newCanvas(String name, double width, double height) throws XMLStreamException
- Specified by:
newCanvasin interfaceDiagram.CanvasProvider<SVGShapes,XMLStreamException>- Throws:
XMLStreamException
-
-