Debian Codegraph @

cds/savot/sax/SavotSAXConsumer.java

raw symbols SCIP
1 package cds.savot.sax;
2
3 //Copyright 2002-2014 - UDS/CNRS
4 //The SAVOT library is distributed under the terms
5 //of the GNU General Public License version 3.
6 //
7 //This file is part of SAVOT.
8 //
9 //SAVOT is free software: you can redistribute it and/or modify
10 //it under the terms of the GNU General Public License as published by
11 //the Free Software Foundation, version 3 of the License.
12 //
13 //SAVOT is distributed in the hope that it will be useful,
14 //but WITHOUT ANY WARRANTY; without even the implied warranty of
15 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 //GNU General Public License for more details.
17 //
18 //The GNU General Public License is available in COPYING file
19 //along with SAVOT.
20 //
21 //SAVOT - Simple Access to VOTable - Parser
22 //
23 //Author, Co-Author: Andre Schaaff (CDS), Laurent Bourges (JMMC)
24 import java.util.ArrayList;
25
26 import cds.savot.model.SavotCoosys;
27 import cds.savot.model.SavotField;
28 import cds.savot.model.SavotFieldRef;
29 import cds.savot.model.SavotFits;
30 import cds.savot.model.SavotGroup;
31 import cds.savot.model.SavotInfo;
32 import cds.savot.model.SavotLink;
33 import cds.savot.model.SavotMax;
34 import cds.savot.model.SavotMin;
35 import cds.savot.model.SavotOption;
36 import cds.savot.model.SavotParam;
37 import cds.savot.model.SavotParamRef;
38 import cds.savot.model.SavotResource;
39 import cds.savot.model.SavotStream;
40 import cds.savot.model.SavotTD;
41 import cds.savot.model.SavotTable;
42 import cds.savot.model.SavotVOTable;
43 import cds.savot.model.SavotValues;
44
45 /**
46 * <p>
47 * This interface must be implemented to use the Savot SAX parser
48 * </p>
49 *
50 * @author Andre Schaaff
51 */
52 @SuppressWarnings("deprecation")
53 public interface SavotSAXConsumer {
54
55 // start elements
56 public abstract void startVotable(ArrayList<SavotVOTable> attributes);
57
58 public abstract void startDescription();
59
60 public abstract void startResource(ArrayList<SavotResource> attributes);
61
62 public abstract void startTable(ArrayList<SavotTable> attributes);
63
64 public abstract void startField(ArrayList<SavotField> attributes);
65
66 public abstract void startFieldref(ArrayList<SavotFieldRef> attributes);
67
68 public abstract void startValues(ArrayList<SavotValues> attributes);
69
70 public abstract void startStream(ArrayList<SavotStream> attributes);
71
72 public abstract void startTR();
73
74 public abstract void startTD(ArrayList<SavotTD> attributes);
75
76 public abstract void startData();
77
78 public abstract void startBinary();
79
80 public abstract void startFits(ArrayList<SavotFits> attributes);
81
82 public abstract void startTableData();
83
84 public abstract void startParam(ArrayList<SavotParam> attributes);
85
86 public abstract void startParamRef(ArrayList<SavotParamRef> attributes);
87
88 public abstract void startLink(ArrayList<SavotLink> attributes);
89
90 public abstract void startInfo(ArrayList<SavotInfo> attributes);
91
92 public abstract void startMin(ArrayList<SavotMin> attributes);
93
94 public abstract void startMax(ArrayList<SavotMax> attributes);
95
96 public abstract void startOption(ArrayList<SavotOption> attributes);
97
98 public abstract void startGroup(ArrayList<SavotGroup> attributes);
99
100 /**
101 * @deprecated since VOTable 1.2
102 * @param attributes
103 */
104 public abstract void startCoosys(ArrayList<SavotCoosys> attributes);
105
106 /**
107 * @deprecated since VOTable 1.1
108 */
109 public abstract void startDefinitions();
110
111 // end elements
112 public abstract void endVotable();
113
114 public abstract void endDescription();
115
116 public abstract void endResource();
117
118 public abstract void endTable();
119
120 public abstract void endField();
121
122 public abstract void endFieldref();
123
124 public abstract void endValues();
125
126 public abstract void endStream();
127
128 public abstract void endTR();
129
130 public abstract void endTD();
131
132 public abstract void endData();
133
134 public abstract void endBinary();
135
136 public abstract void endFits();
137
138 public abstract void endTableData();
139
140 public abstract void endParam();
141
142 public abstract void endParamRef();
143
144 public abstract void endLink();
145
146 public abstract void endInfo();
147
148 public abstract void endMin();
149
150 public abstract void endMax();
151
152 public abstract void endOption();
153
154 public abstract void endGroup();
155
156 /**
157 * @deprecated since VOTable 1.2
158 */
159 public abstract void endCoosys();
160
161 /**
162 * @deprecated since VOTable 1.1
163 */
164 public abstract void endDefinitions();
165
166 // TEXT
167 public abstract void textTD(String text);
168
169 public abstract void textMin(String text);
170
171 public abstract void textMax(String text);
172
173 /**
174 * @deprecated since VOTable 1.2
175 * @param text
176 */
177 public abstract void textCoosys(String text);
178
179 public abstract void textLink(String text);
180
181 public abstract void textOption(String text);
182
183 public abstract void textGroup(String text);
184
185 public abstract void textInfo(String text);
186
187 public abstract void textDescription(String text);
188
189 public abstract void textStream(String text);
190
191 // document
192 public abstract void startDocument();
193
194 public abstract void endDocument();
195 }