Class ReaderRDFXML_ARP1

java.lang.Object
org.apache.jena.riot.lang.rdfxml.ReaderRDFXML_ARP1
All Implemented Interfaces:
ReaderRIOT

public class ReaderRDFXML_ARP1 extends Object implements ReaderRIOT
RDF/XML.

LEGACY

Uses xmlinput1 - the version of ARP from Jena 4.7.0 to Jena 4.10.0.

Replaced at Jena 5 by RRX.

See Also:
  • Field Details

  • Constructor Details

    • ReaderRDFXML_ARP1

      public ReaderRDFXML_ARP1(ParserProfile parserProfile)
  • Method Details

    • read

      public void read(InputStream in, String baseURI, ContentType ct, StreamRDF output, Context context)
      Description copied from interface: ReaderRIOT
      Read from an InputStream and output RDF on the StreamRDF.
      Specified by:
      read in interface ReaderRIOT
      Parameters:
      in - InputStream
      baseURI - Base URI (or null)
      ct - Content-Type if available. Routing to the right parser will have already been done so this only useful to get addition Content-Type information or if this ReaderRIOT can handle multiple media types.
      output - Destination for the parser output.
      context - Environment settings.
    • read

      public void read(Reader reader, String baseURI, ContentType ct, StreamRDF output, Context context)
      Description copied from interface: ReaderRIOT
      Read from an InputStream and output RDF on the StreamRDF.
      Specified by:
      read in interface ReaderRIOT
      Parameters:
      reader - Reader. InputStreams are preferred because Reader do not allow RIOT to set the character set.
      baseURI - Base URI (or null)
      ct - Content-Type if available. Routing to the right parser will have already been done so this only useful to get addition Content-Type information or if this ReaderRIOT can handle multiple media types.
      output - Destination for the parser output.
      context - Environment settings.