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

public class ARP0 extends Object implements ARPConfig
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