blob: 4d51fc507a35cf0d9f07a5eaa2f5a00c9644263a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/*
* SVGWriter.java
*
* Created on April 12, 2007, 7:17 AM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package com.kitfox.salamander.writer;
import com.kitfox.salamander.SVGConstants;
import java.io.PrintWriter;
/**
*
* @author kitfox
*/
public class SVGWriter implements SVGConstants
{
final PrintWriter pw;
/** Creates a new instance of SVGWriter */
public SVGWriter(PrintWriter pw)
{
this.pw = pw;
}
private void writeHeader()
{
pw.printf("<!DOCTYPE svg %s \"%s\"\n", PUBLIC_IDENTIFIER_SVG, SYSTEM_IDENTIFIER_SVG);
}
}
|