com.ontotext.wsmo4j.parser.wsml
Class ParserImpl

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

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


Field Summary
protected  boolean cleanOnParse
           
protected  org.wsmo.factory.DataFactory dataFactory
           
protected  org.wsmo.factory.WsmoFactory factory
           
protected  org.wsmo.factory.LogicalExpressionFactory LEFactory
           
protected  boolean memorizeLELook
           
 
Fields inherited from interface org.wsmo.wsml.Parser
CACHE_LOGICALEXPRESSION_STRING, CLEAR_MODEL
 
Constructor Summary
ParserImpl(Map map)
           
 
Method Summary
protected  com.ontotext.wsmo4j.parser.wsml.ASTAnalysisContainer createContainer()
           
 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
 

Field Detail

factory

protected org.wsmo.factory.WsmoFactory factory

LEFactory

protected org.wsmo.factory.LogicalExpressionFactory LEFactory

dataFactory

protected org.wsmo.factory.DataFactory dataFactory

cleanOnParse

protected boolean cleanOnParse

memorizeLELook

protected boolean memorizeLELook
Constructor Detail

ParserImpl

public ParserImpl(Map map)
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(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)
                                  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(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

createContainer

protected com.ontotext.wsmo4j.parser.wsml.ASTAnalysisContainer createContainer()

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.