2 * BioJava development code
4 * This code may be freely distributed and modified under the
5 * terms of the GNU Lesser General Public Licence. This should
6 * be distributed with the code. If you do not have a copy,
9 * http://www.gnu.org/copyleft/lesser.html
11 * Copyright for this code is held jointly by the individual
12 * authors. These should be listed in @author doc comments.
14 * For more information on the BioJava project and its aims,
15 * or to join the biojava-l mailing list, visit the home page
18 * http://www.biojava.org/
20 * Created on 19.03.2004
21 * @author Andreas Prlic
24 package org.biojava.dasobert.das ;
26 import org.xml.sax.helpers.DefaultHandler;
27 import org.xml.sax.Attributes;
30 /** a class to parse the reponse of a DAS - types request
32 public class DAS_Entry_Points_Handler extends DefaultHandler {
36 public DAS_Entry_Points_Handler() {
42 public void startElement (String uri, String name, String qName, Attributes atts){
43 if ( qName.equals("DASEP")) {
45 } else if ( qName.equals("ENTRY_POINTS")) {
47 String v = atts.getValue("version");
52 /** returns true if the server returns an entry points */
53 public String getVersion() {