org.wsmo.wsml
Interface Serializer


public interface Serializer

Version:
$Revision: 581 $ $Date: 2005-07-22 15:29:53 +0300 (Fri, 22 Jul 2005) $
Author:
not attributable

Field Summary
static String SERIALIZER_LE_SERIALIZER
           
 
Method Summary
 void serialize(TopEntity[] item, StringBuffer target)
          serializes Ontology, Goal, Mediator or a Webservice
 void serialize(TopEntity[] item, StringBuffer target, Map options)
          serializes Ontology, Goal, Mediator or a Webservice
 void serialize(TopEntity[] item, Writer target)
          serializes Ontology, Goal, Mediator or a Webservice
 void serialize(TopEntity[] item, Writer target, Map options)
          serializes Ontology, Goal, Mediator or a Webservice
 

Field Detail

SERIALIZER_LE_SERIALIZER

static final String SERIALIZER_LE_SERIALIZER
See Also:
Constant Field Values
Method Detail

serialize

void serialize(TopEntity[] item,
               Writer target)
               throws IOException
serializes Ontology, Goal, Mediator or a Webservice

Parameters:
item - A top level WSMO item to serialize Note that since the parser expects an open stream it will not attempt to close the stream after writing to it. E.g. it is the responsibility of the user to open/close the stream.
target - The writer to write to
Throws:
IOException

serialize

void serialize(TopEntity[] item,
               Writer target,
               Map options)
               throws IOException
serializes Ontology, Goal, Mediator or a Webservice

Parameters:
item - A top level WSMO item to serialize Note that since the parser expects an open stream it will not attempt to close the stream after writing to it. E.g. it is the responsibility of the user to open/close the stream.
target - The writer to write to
options - an optional Map with user supplied options specific to this serialisation
Throws:
IOException

serialize

void serialize(TopEntity[] item,
               StringBuffer target)
serializes Ontology, Goal, Mediator or a Webservice

Parameters:
item - A top level WSMO item to serialize in the same string buffer
target - The buffer to write to

serialize

void serialize(TopEntity[] item,
               StringBuffer target,
               Map options)
serializes Ontology, Goal, Mediator or a Webservice

Parameters:
item - A top level WSMO item to serialize in the same string buffer
target - The buffer to write to
options - an optional Map with user supplied options specific to this serialization


Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.