| 1 | package cds.astrores.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 | /** |
| 27 | * @author Andre Schaaff |
| 28 | */ |
| 29 | public interface AstroresSAXConsumer { |
| 30 | |
| 31 | // start elements |
| 32 | public abstract void startAstrores(@SuppressWarnings("rawtypes") ArrayList attributes); |
| 33 | |
| 34 | /* |
| 35 | * public abstract void startDescription(); |
| 36 | * |
| 37 | * public abstract void startResource(ArrayList attributes); |
| 38 | * |
| 39 | * public abstract void startTable(ArrayList attributes); |
| 40 | * |
| 41 | * public abstract void startField(ArrayList attributes); |
| 42 | * |
| 43 | * public abstract void startFieldref(ArrayList attributes); |
| 44 | * |
| 45 | * public abstract void startValues(ArrayList attributes); |
| 46 | * |
| 47 | * public abstract void startStream(ArrayList attributes); |
| 48 | * |
| 49 | * public abstract void startTR(); |
| 50 | * |
| 51 | * public abstract void startTD(ArrayList attributes); |
| 52 | * |
| 53 | * public abstract void startData(); |
| 54 | * |
| 55 | * public abstract void startBinary(); |
| 56 | * |
| 57 | * public abstract void startFits(ArrayList attributes); |
| 58 | * |
| 59 | * public abstract void startTableData(); |
| 60 | * |
| 61 | * public abstract void startParam(ArrayList attributes); |
| 62 | * |
| 63 | * public abstract void startParamRef(ArrayList attributes); |
| 64 | * |
| 65 | * public abstract void startLink(ArrayList attributes); |
| 66 | * |
| 67 | * public abstract void startInfo(ArrayList attributes); |
| 68 | * |
| 69 | * public abstract void startMin(ArrayList attributes); |
| 70 | * |
| 71 | * public abstract void startMax(ArrayList attributes); |
| 72 | * |
| 73 | * public abstract void startOption(ArrayList attributes); |
| 74 | * |
| 75 | * public abstract void startGroup(ArrayList attributes); |
| 76 | * |
| 77 | * public abstract void startCoosys(ArrayList attributes); |
| 78 | * |
| 79 | * public abstract void startDefinitions(); |
| 80 | */ |
| 81 | // end elements |
| 82 | public abstract void endAstrores(); |
| 83 | |
| 84 | /* |
| 85 | * |
| 86 | * public abstract void endDescription(); |
| 87 | * |
| 88 | * public abstract void endResource(); |
| 89 | * |
| 90 | * public abstract void endTable(); |
| 91 | * |
| 92 | * public abstract void endField(); |
| 93 | * |
| 94 | * public abstract void endFieldref(); |
| 95 | * |
| 96 | * public abstract void endValues(); |
| 97 | * |
| 98 | * public abstract void endStream(); |
| 99 | * |
| 100 | * public abstract void endTR(); |
| 101 | * |
| 102 | * public abstract void endTD(); |
| 103 | * |
| 104 | * public abstract void endData(); |
| 105 | * |
| 106 | * public abstract void endBinary(); |
| 107 | * |
| 108 | * public abstract void endFits(); |
| 109 | * |
| 110 | * public abstract void endTableData(); |
| 111 | * |
| 112 | * public abstract void endParam(); |
| 113 | * |
| 114 | * public abstract void endParamRef(); |
| 115 | * |
| 116 | * public abstract void endLink(); |
| 117 | * |
| 118 | * public abstract void endInfo(); |
| 119 | * |
| 120 | * public abstract void endMin(); |
| 121 | * |
| 122 | * public abstract void endMax(); |
| 123 | * |
| 124 | * public abstract void endOption(); |
| 125 | * |
| 126 | * public abstract void endGroup(); |
| 127 | * |
| 128 | * public abstract void endCoosys(); |
| 129 | * |
| 130 | * public abstract void endDefinitions(); } |
| 131 | */ |
| 132 | // TEXT |
| 133 | /* |
| 134 | * public abstract void textTD(String text); |
| 135 | * |
| 136 | * public abstract void textMin(String text); |
| 137 | * |
| 138 | * public abstract void textMax(String text); |
| 139 | * |
| 140 | * public abstract void textCoosys(String text); |
| 141 | * |
| 142 | * public abstract void textLink(String text); |
| 143 | * |
| 144 | * public abstract void textOption(String text); |
| 145 | * |
| 146 | * public abstract void textGroup(String text); |
| 147 | * |
| 148 | * public abstract void textInfo(String text); |
| 149 | * |
| 150 | * public abstract void textDescription(String text); } |
| 151 | */ |
| 152 | // document |
| 153 | public abstract void startDocument(); |
| 154 | |
| 155 | public abstract void endDocument(); |
| 156 | } |