Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 696c0322 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- changed Extensions

parent aa5a502c
No related branches found
No related tags found
No related merge requests found
/* /*
* $Id$ * $Id$
* *
* Copyright (C) INRIA Rhne-Alpes, 2007. * Copyright (C) INRIA Rhne-Alpes, 2007-2008.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License * modify it under the terms of the GNU Lesser General Public License
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
package fr.inrialpes.exmo.align.service; package fr.inrialpes.exmo.align.service;
import fr.inrialpes.exmo.align.impl.BasicParameters; import fr.inrialpes.exmo.align.impl.BasicParameters;
import fr.inrialpes.exmo.align.impl.BasicAlignment;
import org.semanticweb.owl.align.Alignment; import org.semanticweb.owl.align.Alignment;
import org.semanticweb.owl.align.Parameters; import org.semanticweb.owl.align.Parameters;
...@@ -218,7 +219,7 @@ public class WSAServProfile implements AlignmentServiceProfile { ...@@ -218,7 +219,7 @@ public class WSAServProfile implements AlignmentServiceProfile {
} else if ( method.equals("listalignmentsRequest") ) { } else if ( method.equals("listalignmentsRequest") ) {
msg += "<listalignmentsResponse><alignmentList>"; msg += "<listalignmentsResponse><alignmentList>";
for( Enumeration e = manager.alignments(); e.hasMoreElements(); ){ for( Enumeration e = manager.alignments(); e.hasMoreElements(); ){
String id = ((Alignment)e.nextElement()).getExtension("id"); String id = ((Alignment)e.nextElement()).getExtension(BasicAlignment.ALIGNNS, BasicAlignment.ID);
msg += "<alid>"+id+"</alid>"; msg += "<alid>"+id+"</alid>";
} }
msg += "</alignmentList></listalignmentsResponse>"; msg += "</alignmentList></listalignmentsResponse>";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment