java.lang.Object
org.apache.jena.rdfxml.xmlinput0.ARP0
All Implemented Interfaces:
ARPConfig

@Deprecated public class ARP0 extends Object implements ARPConfig
Deprecated.
Direct access to the RDF/XML parser is planned for removal. Please contact the Jena development community for details.
Another RDF Parser. To load an RDF file:
  1. Create an ARP.
  2. Set its handlers, by calling the getHandlers() method, and then.
    • Setting the statement handler.
    • Optionally setting the other handlers.
  3. Call a load method.

Xerces is used for parsing the XML. The SAXEvents generated by Xerces are then analysed as RDF by ARP. Errors may occur in either the XML or the RDF part, see ARPHandlers.setErrorHandler(org.xml.sax.ErrorHandler) for details of how to distinguish between them.

For very large files, ARP does not use any additional memory except when either the ExtendedHandler.discardNodesWithNodeID() returns false or when the AResource.setUserData(java.lang.Object) method has been used. In these cases ARP needs to remember the rdf:nodeID usage through the file life time.

See ARP documentation for more information.

Includes contributions from Simon Raboczi and Andrew Newman
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Direct access to the RDF/XML parser is planned for removal.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    The handlers used during parsing.
    Deprecated.
    When parsing a file, this returns a Locator giving the position of the last XML event processed by ARP.
    Deprecated.
    The options used during parsing.
    void
    Deprecated.
    Load RDF/XML from an InputStream, leaving relative URIs as relative.
    void
    load(InputStream in, String xmlBase)
    Deprecated.
    Load RDF/XML from an InputStream.
    void
    Deprecated.
    Load RDF/XML from a Reader, leaving relative URIs as relative.
    void
    load(Reader in, String xmlBase)
    Deprecated.
    Load RDF/XML from a Reader.
    void
    Deprecated.
    Copies the handlers from the argument to be used by this instance.
    void
    Deprecated.
    Copies the options from the argument to be used by this instance.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait