Revision 3081 trunk/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/ui/ShowResultsPanel.java

View differences:

ShowResultsPanel.java
42 42

  
43 43
import es.gva.cit.catalogClient.metadataXML.XMLNode;
44 44
import es.gva.cit.catalogClient.parsers.AbstractTags;
45
import es.gva.cit.catalogClient.parsers.IndicioTags;
46
import es.gva.cit.catalogClient.parsers.LongTags;
47
import es.gva.cit.catalogClient.parsers.ShortTags;
45
import es.gva.cit.catalogClient.parsers.csw.CswRecordsParser;
46
import es.gva.cit.catalogClient.parsers.srw.SrwRecordsParser;
47
import es.gva.cit.catalogClient.parsers.z3950.Z3959RecordsParser;
48 48

  
49 49

  
50 50
import java.awt.AlphaComposite;
......
314 314

  
315 315
    public void loadTextNewRecord(XMLNode node, String protocol) {
316 316
        if (protocol.equals("Z3950")) {
317
            this.setTags(new ShortTags(node,serverURL));
317
            this.setTags(new Z3959RecordsParser(node,serverURL));
318 318
        } else if (protocol.equals("SRW")) {
319
            this.setTags(new LongTags(node));
319
            this.setTags(new SrwRecordsParser(node));
320 320
        } else {
321
            this.setTags(new IndicioTags(node));
321
            this.setTags(new CswRecordsParser(node));
322 322
        }
323 323

  
324 324
        descriptionArea.setText(this.getHtml());

Also available in: Unified diff