com.ontotext.ordi.rdf
Class WSMOTripleSerializer
java.lang.Object
com.ontotext.ordi.rdf.WSMOTripleSerializer
- All Implemented Interfaces:
- org.wsmo.wsml.Serializer
public class WSMOTripleSerializer
- extends java.lang.Object
- implements org.wsmo.wsml.Serializer
an implemetation of wsmo4j Serializer interface that writes a WSMO entities
to a WSML RDF/XML fromat
- Version:
- $Revision: 1.1 $ $Date: 2006/02/01 14:17:15 $
- Author:
- Damyan
| Fields inherited from interface org.wsmo.wsml.Serializer |
SERIALIZER_LE_SERIALIZER |
|
Method Summary |
void |
serialize(org.wsmo.common.TopEntity[] item,
java.lang.StringBuffer target)
|
void |
serialize(org.wsmo.common.TopEntity[] arg0,
java.lang.StringBuffer arg1,
java.util.Map arg2)
|
void |
serialize(org.wsmo.common.TopEntity[] item,
java.io.Writer target)
serializes all the entities in WSML RDF/XML format |
void |
serialize(org.wsmo.common.TopEntity[] arg0,
java.io.Writer arg1,
java.util.Map arg2)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSMOTripleSerializer
public WSMOTripleSerializer(java.util.Map map)
- initialize the serializer
- Parameters:
map -
serialize
public void serialize(org.wsmo.common.TopEntity[] item,
java.io.Writer target)
throws java.io.IOException
- serializes all the entities in WSML RDF/XML format
- Specified by:
serialize in interface org.wsmo.wsml.Serializer
- Parameters:
item - is an array of TopEntity to be serialized in WSML RDF/XMLtarget - the write used to persist the generated RDF
- Throws:
java.io.IOException - in case of problems
serialize
public void serialize(org.wsmo.common.TopEntity[] item,
java.lang.StringBuffer target)
- Specified by:
serialize in interface org.wsmo.wsml.Serializer
serialize
public void serialize(org.wsmo.common.TopEntity[] arg0,
java.lang.StringBuffer arg1,
java.util.Map arg2)
- Specified by:
serialize in interface org.wsmo.wsml.Serializer
serialize
public void serialize(org.wsmo.common.TopEntity[] arg0,
java.io.Writer arg1,
java.util.Map arg2)
throws java.io.IOException
- Specified by:
serialize in interface org.wsmo.wsml.Serializer
- Throws:
java.io.IOException
Copyright © 2005-2006 Ontotext Lab., GNU LGPL License applies.