org.ilrt.inkling.external
Class ARPWrapper

java.lang.Object
  |
  +--org.ilrt.inkling.external.ARPWrapper
All Implemented Interfaces:
LoaderInterface

public class ARPWrapper
extends java.lang.Object
implements LoaderInterface

A class to use the ARP RDF/XML parser (part of Jena:
http://www.hpl.hp.com/semweb/jena.htm)


Constructor Summary
ARPWrapper()
           
 
Method Summary
 GraphInterface loadGraph(java.lang.String url)
          loads the file or url to a Graph and returns it
 GraphInterface loadGraph(java.lang.String url, GraphInterface graph)
          loads the file or url to the specified GraphInterface and returns it
 void parse(java.io.InputStream source, GraphInterface consumer)
           
 void setBase(java.lang.String base)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ARPWrapper

public ARPWrapper()
Method Detail

setBase

public void setBase(java.lang.String base)

parse

public void parse(java.io.InputStream source,
                  GraphInterface consumer)

loadGraph

public GraphInterface loadGraph(java.lang.String url)
Description copied from interface: LoaderInterface
loads the file or url to a Graph and returns it
Specified by:
loadGraph in interface LoaderInterface

loadGraph

public GraphInterface loadGraph(java.lang.String url,
                                GraphInterface graph)
Description copied from interface: LoaderInterface
loads the file or url to the specified GraphInterface and returns it
Specified by:
loadGraph in interface LoaderInterface