com.ontotext.wsmo4j.parser.owl
Class OWLParser

java.lang.Object
  extended by com.ontotext.wsmo4j.parser.owl.OWLParser
All Implemented Interfaces:
org.wsmo.wsml.Parser

public class OWLParser
extends Object
implements org.wsmo.wsml.Parser

Title: WSMO4J

Description: WSMO API and a Reference Implementation - OWL parser implementation

Copyright: Copyright (c) 2004-2005

Company: OntoText Lab. / SIRMA

Version:
1.0
Author:
not attributable

Field Summary
 
Fields inherited from interface org.wsmo.wsml.Parser
CACHE_LOGICALEXPRESSION_STRING, CLEAR_MODEL
 
Constructor Summary
OWLParser(Map params)
           
 
Method Summary
 List<Object> getErrors()
           
 List<Object> getWarnings()
           
 Set<String> listKeywords()
           
 org.wsmo.common.TopEntity[] parse(Reader src)
           
 org.wsmo.common.TopEntity[] parse(Reader src, Map options)
           
 org.wsmo.common.TopEntity[] parse(StringBuffer src)
           
 org.wsmo.common.TopEntity[] parse(StringBuffer src, Map options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLParser

public OWLParser(Map params)
Method Detail

parse

public org.wsmo.common.TopEntity[] parse(Reader src)
                                  throws IOException,
                                         org.wsmo.wsml.ParserException,
                                         org.wsmo.common.exception.InvalidModelException
Specified by:
parse in interface org.wsmo.wsml.Parser
Throws:
IOException
org.wsmo.wsml.ParserException
org.wsmo.common.exception.InvalidModelException

parse

public org.wsmo.common.TopEntity[] parse(StringBuffer src)
                                  throws org.wsmo.wsml.ParserException,
                                         org.wsmo.common.exception.InvalidModelException
Specified by:
parse in interface org.wsmo.wsml.Parser
Throws:
org.wsmo.wsml.ParserException
org.wsmo.common.exception.InvalidModelException

parse

public org.wsmo.common.TopEntity[] parse(Reader src,
                                         Map options)
                                  throws IOException,
                                         org.wsmo.wsml.ParserException,
                                         org.wsmo.common.exception.InvalidModelException
Specified by:
parse in interface org.wsmo.wsml.Parser
Throws:
IOException
org.wsmo.wsml.ParserException
org.wsmo.common.exception.InvalidModelException

parse

public org.wsmo.common.TopEntity[] parse(StringBuffer src,
                                         Map options)
                                  throws org.wsmo.wsml.ParserException,
                                         org.wsmo.common.exception.InvalidModelException
Specified by:
parse in interface org.wsmo.wsml.Parser
Throws:
org.wsmo.wsml.ParserException
org.wsmo.common.exception.InvalidModelException

listKeywords

public Set<String> listKeywords()
Specified by:
listKeywords in interface org.wsmo.wsml.Parser

getWarnings

public List<Object> getWarnings()
Specified by:
getWarnings in interface org.wsmo.wsml.Parser

getErrors

public List<Object> getErrors()
Specified by:
getErrors in interface org.wsmo.wsml.Parser


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