com.ontotext.ordi.rdf
Class WSMOTripleParser

java.lang.Object
  extended by com.ontotext.ordi.rdf.WSMOTripleParser
All Implemented Interfaces:
org.wsmo.wsml.Parser

public class WSMOTripleParser
extends java.lang.Object
implements org.wsmo.wsml.Parser

A wsmo4j parser used to transform RDF serialized entities stored in a triple repository, to WSML in-memory objects using the provided factory implementations for entities, logical expressions and datavalues


Field Summary
static java.lang.String TRIPLE_STORE
          the key that assosciates the triple reposiotory in which the entities are stored
 
Constructor Summary
WSMOTripleParser(java.util.Map map)
           
 
Method Summary
 java.util.Set listKeywords()
           
 org.wsmo.common.TopEntity[] parse(java.io.Reader src)
           
 org.wsmo.common.TopEntity[] parse(java.io.Reader arg0, java.util.Map arg1)
           
 org.wsmo.common.TopEntity[] parse(java.lang.StringBuffer src)
           
 org.wsmo.common.TopEntity[] parse(java.lang.StringBuffer arg0, java.util.Map arg1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRIPLE_STORE

public static final java.lang.String TRIPLE_STORE
the key that assosciates the triple reposiotory in which the entities are stored

See Also:
Constant Field Values
Constructor Detail

WSMOTripleParser

public WSMOTripleParser(java.util.Map map)
Method Detail

parse

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

parse

public org.wsmo.common.TopEntity[] parse(java.lang.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(java.io.Reader arg0,
                                         java.util.Map arg1)
                                  throws java.io.IOException,
                                         org.wsmo.wsml.ParserException,
                                         org.wsmo.common.exception.InvalidModelException
Specified by:
parse in interface org.wsmo.wsml.Parser
Throws:
java.io.IOException
org.wsmo.wsml.ParserException
org.wsmo.common.exception.InvalidModelException

parse

public org.wsmo.common.TopEntity[] parse(java.lang.StringBuffer arg0,
                                         java.util.Map arg1)
                                  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 java.util.Set listKeywords()
Specified by:
listKeywords in interface org.wsmo.wsml.Parser


Copyright © 2005-2006 Ontotext Lab., GNU LGPL License applies.