From 4038ab95a094b363f1748f3dcb51511a1217475d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 07:40:05 +0200 Subject: Adding upstream version 2.0.16. Signed-off-by: Daniel Baumann --- docs/html/tutorial.html | 102 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/html/tutorial.html (limited to 'docs/html/tutorial.html') diff --git a/docs/html/tutorial.html b/docs/html/tutorial.html new file mode 100644 index 0000000..540a43c --- /dev/null +++ b/docs/html/tutorial.html @@ -0,0 +1,102 @@ + + + + +Part I. Raptor Tutorial: Raptor RDF Syntax Library Manual + + + + + + + + + + + + + + + + +
+

+Part I. Raptor Tutorial

+
+
+

This part describes how to use the + Raptor APIs to + turn syntaxes into RDF triples and RDF triples into syntaxes.

+

The next part contains the + Raptor Reference Manual + which comprehensively describes every class and function of the API. +

+

For the latest information, see the + Raptor Home Page + and the main document overview + in this document tree. +

+
+

Table of Contents

+
+
Initialising and Finishing using the Library
+
Listing built-in functionality
+
Parsing syntaxes to RDF Triples
+
+
Introduction
+
Create the Parser object
+
Parser options
+
Set RDF statement callback handler
+
Set parsing log message handlers
+
Set the identifier creator handler
+
Set namespace declared handler
+
Set the parsing strictness
+
Provide syntax content to parse
+
+
Parse the content from a URI (raptor_parser_parse_uri())
+
Parse the content of a URI using an existing WWW connection (raptor_parser_parse_uri_with_connection())
+
Parse the content of a C FILE* (raptor_parser_parse_file_stream())
+
Parse the content of a file URI (raptor_parser_parse_file())
+
Parse chunks of syntax content provided by the application (raptor_parser_parse_start() and raptor_parser_parse_chunk())
+
+
Restrict parser network access
+
+
Filtering parser network requests with option RAPTOR_OPTION_NO_NET
+
Filtering parser network requests with raptor_www_set_uri_filter()
+
Filtering parser network requests with raptor_parser_set_uri_filter()
+
Setting timeout for parser network requests with option RAPTOR_OPTION_WWW_TIMEOUT
+
+
Querying parser static information
+
Querying parser run-time information
+
Aborting parsing
+
Destroy the parser
+
Parsing example code
+
+
Serializing RDF triples to a syntax
+
+
Introduction
+
Create the Serializer object
+
Serializer options
+
Declare namespaces
+
Set error and warning handlers
+
Provide a destination for the serialized syntax
+
+
Serialize to a filename (raptor_serializer_start_to_filename())
+
Serialize to a string (raptor_serializer_start_to_string())
+
Serialize to a FILE* file handle (raptor_serializer_start_to_file_handle())
+
Serialize to an raptor_iostream (raptor_serializer_start_to_iostream())
+
+
Get or construct RDF Statements (Triples)
+
Send RDF Triples to serializer
+
Querying serializer run-time information
+
Destroy the serializer
+
Serializing example code
+
+
+
+
+
+ + + \ No newline at end of file -- cgit v1.2.3