com.hp.hpl.jena.rdf.arp
Class StanfordImpl

java.lang.Object
  |
  +--com.hp.hpl.jena.rdf.arp.StanfordImpl
All Implemented Interfaces:
org.w3c.rdf.syntax.RDFParser

public class StanfordImpl
extends java.lang.Object
implements org.w3c.rdf.syntax.RDFParser

An implementation of Sergey Melnik's Stanford API, used by SiRPAC. Note: this interface is provided for backwards compatibility and does not give access to the whole range of ARP features.

Author:
Jeremy Carroll

Constructor Summary
StanfordImpl()
          Creates an RDFParser.
 
Method Summary
 void parse(org.xml.sax.InputSource source, org.w3c.rdf.syntax.RDFConsumer consumer)
          Parse from the given SAX/XML input source.
 void setErrorHandler(org.xml.sax.ErrorHandler handler)
          Set the error handler.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StanfordImpl

public StanfordImpl()
Creates an RDFParser.
Method Detail

parse

public void parse(org.xml.sax.InputSource source,
                  org.w3c.rdf.syntax.RDFConsumer consumer)
           throws org.xml.sax.SAXException
Parse from the given SAX/XML input source.
Specified by:
parse in interface org.w3c.rdf.syntax.RDFParser
Parameters:
source - The RDF/XML document to parse.
consumer - For callbacks from the parser.

setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler handler)
Set the error handler.
Specified by:
setErrorHandler in interface org.w3c.rdf.syntax.RDFParser


Copyright © 2001 Hewlett-Packard. All Rights Reserved.