View Javadoc

1   /*
2    wsmo4j - a WSMO API and Reference Implementation
3   
4    Copyright (c) 2006, University of Innsbruck, Austria
5   
6    This library is free software; you can redistribute it and/or modify it under
7    the terms of the GNU Lesser General Public License as published by the Free
8    Software Foundation; either version 2.1 of the License, or (at your option)
9    any later version.
10   This library is distributed in the hope that it will be useful, but WITHOUT
11   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12   FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13   details.
14   You should have received a copy of the GNU Lesser General Public License along
15   with this library; if not, write to the Free Software Foundation, Inc.,
16   59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17   */
18  package org.deri.wsmo4j.io.serializer.rdf;
19  
20  import org.omwg.ontology.*;
21  import org.wsmo.common.*;
22  import org.wsmo.mediator.*;
23  import org.wsmo.service.*;
24  
25  /**
26   * Helper type to serialize/deserialize xml element wsml
27   * 
28   * @author not attributable
29   */
30  public class NodeWsml {
31  
32      public static void serializeTopEntity(TopEntity[] entities, WsmlRdfSerializer serializer) {
33          for (int i = 0; i < entities.length; i++) { 
34              if (entities[i] instanceof Ontology) {
35                  NodeOntology.serialize((Ontology) entities[i], serializer);
36              }
37              else if (entities[i] instanceof Mediator) {
38              }
39              else if (entities[i] instanceof Goal) {
40              }
41              else if (entities[i] instanceof WebService) {
42              }
43          }
44      }
45  }
46  
47  /*
48   * $Log$
49   * Revision 1.1  2006/11/10 15:02:59  ohamano
50   * *** empty log message ***
51   *
52   * Revision 1.1  2006/11/10 10:08:42  ohamano
53   * *** empty log message ***
54   *
55   *
56  */