org.wsmo.wsml
Interface Parser


public interface Parser

Version:
$Revision: 1.8 $ $Date: 2005/09/16 12:31:13 $
Author:
not attributable

Field Summary
static java.lang.String PARSER_DATA_FACTORY
           
static java.lang.String PARSER_LE_FACTORY
           
static java.lang.String PARSER_WSMO_FACTORY
           
 
Method Summary
 TopEntity[] parse(java.io.Reader src)
          Parses the input data consisted of Ontology, Goal, Mediator or WebServices definitions.
 TopEntity[] parse(java.io.Reader src, java.util.Map options)
          Parses the input data consisted of Ontology, Goal, Mediator or WebServices definitions.
 TopEntity[] parse(java.lang.StringBuffer src)
          Parses the input data consisted of Ontology, Goal, Mediator or WebServices definitions.
 TopEntity[] parse(java.lang.StringBuffer src, java.util.Map options)
          Parses the input data consisted of Ontology, Goal, Mediator or WebServices definitions.
 

Field Detail

PARSER_WSMO_FACTORY

static final java.lang.String PARSER_WSMO_FACTORY
See Also:
Constant Field Values

PARSER_LE_FACTORY

static final java.lang.String PARSER_LE_FACTORY
See Also:
Constant Field Values

PARSER_DATA_FACTORY

static final java.lang.String PARSER_DATA_FACTORY
See Also:
Constant Field Values
Method Detail

parse

TopEntity[] parse(java.io.Reader src)
                  throws java.io.IOException,
                         ParserException,
                         InvalidModelException
Parses the input data consisted of Ontology, Goal, Mediator or WebServices definitions.

Parameters:
src - The reader to read from
Returns:
a top level WSMO entity found in the input
Throws:
java.io.IOException
ParserException
InvalidModelException

parse

TopEntity[] parse(java.io.Reader src,
                  java.util.Map options)
                  throws java.io.IOException,
                         ParserException,
                         InvalidModelException
Parses the input data consisted of Ontology, Goal, Mediator or WebServices definitions.

Parameters:
src - The reader to read from
options - an optional Map with user supplied options specific to this parse operation
Returns:
a top level WSMO entity found in the input
Throws:
java.io.IOException
ParserException
InvalidModelException

parse

TopEntity[] parse(java.lang.StringBuffer src)
                  throws ParserException,
                         InvalidModelException
Parses the input data consisted of Ontology, Goal, Mediator or WebServices definitions.

Parameters:
src - The string buffer to read from
Returns:
top level WSMO entity found in the input
Throws:
ParserException
InvalidModelException

parse

TopEntity[] parse(java.lang.StringBuffer src,
                  java.util.Map options)
                  throws ParserException,
                         InvalidModelException
Parses the input data consisted of Ontology, Goal, Mediator or WebServices definitions.

Parameters:
src - The string buffer to read from
options - an optional Map with user supplied options specific to this parse operation
Returns:
top level WSMO entity found in the input
Throws:
ParserException
InvalidModelException