com.ontotext.wsmo4j.parser.wsml
Class ParserImpl
java.lang.Object
com.ontotext.wsmo4j.parser.wsml.ParserImpl
- All Implemented Interfaces:
- org.wsmo.wsml.Parser
public class ParserImpl
- extends Object
- implements org.wsmo.wsml.Parser
| Fields inherited from interface org.wsmo.wsml.Parser |
CACHE_LOGICALEXPRESSION_STRING, CLEAR_MODEL |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ParserImpl
public ParserImpl(Map map)
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.