Module org.apache.jena.arq
Class ReaderRDFXML_StAX_EV
java.lang.Object
org.apache.jena.riot.lang.rdfxml.rrx_stax_ev.ReaderRDFXML_StAX_EV
- All Implemented Interfaces:
ReaderRIOT
RDF/XML parser.
This implementation uses StAX events vi XMLEventReader
.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
read
(InputStream input, String baseURI, ContentType ct, StreamRDF output, Context context) Read from an InputStream and output RDF on the StreamRDF.void
Read from an InputStream and output RDF on the StreamRDF.
-
Field Details
-
factory
-
-
Constructor Details
-
ReaderRDFXML_StAX_EV
-
-
Method Details
-
read
public void read(InputStream input, 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 interfaceReaderRIOT
- Parameters:
input
- InputStreambaseURI
- 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
Description copied from interface:ReaderRIOT
Read from an InputStream and output RDF on the StreamRDF.- Specified by:
read
in interfaceReaderRIOT
- 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.
-