17 */ |
17 */ |
18 package info.globalcode.sql.dk.formatting; |
18 package info.globalcode.sql.dk.formatting; |
19 |
19 |
20 import info.globalcode.sql.dk.configuration.Properties; |
20 import info.globalcode.sql.dk.configuration.Properties; |
21 import java.io.OutputStream; |
21 import java.io.OutputStream; |
|
22 import java.util.List; |
22 |
23 |
23 /** |
24 /** |
24 * To be passed from the SQL-DK core to the formatter. |
25 * To be passed from the SQL-DK core to the formatter. |
25 * |
26 * |
26 * @author Ing. František Kučera (frantovo.cz) |
27 * @author Ing. František Kučera (frantovo.cz) |
27 */ |
28 */ |
28 public class FormatterContext { |
29 public class FormatterContext { |
29 |
30 |
30 private OutputStream outputStream; |
31 private OutputStream outputStream; |
31 private Properties properties; |
32 private Properties properties; |
|
33 private List<String> relationNames; |
32 |
34 |
33 public FormatterContext(OutputStream outputStream, Properties properties) { |
35 public FormatterContext(OutputStream outputStream, Properties properties, List<String> relationNames) { |
34 this.outputStream = outputStream; |
36 this.outputStream = outputStream; |
35 this.properties = properties; |
37 this.properties = properties; |
|
38 this.relationNames = relationNames; |
36 } |
39 } |
37 |
40 |
38 public OutputStream getOutputStream() { |
41 public OutputStream getOutputStream() { |
39 return outputStream; |
42 return outputStream; |
40 } |
43 } |