1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>Parser features</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
7
<link rel="start" href="index.html" title="Raptor RDF Syntax Parsing and Serializing Library Manual">
8
8
<link rel="up" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
9
9
<link rel="prev" href="tutorial-parser-create.html" title="Create the Parser object">
10
10
<link rel="next" href="tutorial-parser-set-triple-handler.html" title="Set RDF triple callback handler">
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="chapter" href="introduction.html" title="Raptor Overview">
14
<link rel="part" href="tutorial.html" title="Part I. Raptor Tutorial">
14
<link rel="part" href="tutorial.html" title="Part I. Raptor Tutorial">
15
15
<link rel="chapter" href="tutorial-initialising-finishing.html" title="Initialising and Finishing using the Library">
16
16
<link rel="chapter" href="tutorial-querying-functionality.html" title="Listing built-in functionality">
17
17
<link rel="chapter" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
18
18
<link rel="chapter" href="tutorial-serializing.html" title="Serializing RDF triples to a syntax">
19
<link rel="part" href="reference-manual.html" title="Part II. Raptor Reference Manual">
19
<link rel="part" href="reference-manual.html" title="Part II. Raptor Reference Manual">
20
20
<link rel="chapter" href="raptor-parsers.html" title="Parsers in Raptor (syntax to triples)">
21
21
<link rel="chapter" href="raptor-serializers.html" title="Serializers in Raptor (triples to syntax)">
22
22
<link rel="index" href="ix01.html" title="Index">
38
38
<a class="link" href="tutorial-querying-functionality.html" title="Listing built-in functionality">Querying Functionality</a>
39
39
or in the API reference for
40
<a class="link" href="raptor-section-parser.html#raptor-set-feature"><code class="function">raptor_set_feature()</code></a>. (This should be properly called <code class="function">raptor_parser_set_feature()</code> as
40
<a class="link" href="raptor-section-parser.html#raptor-set-feature" title="raptor_set_feature ()"><code class="function">raptor_set_feature()</code></a>. (This should be properly called <code class="function">raptor_parser_set_feature()</code> as
41
41
it only applies to <code class="literal">raptor_parser</code> objects).
43
43
<p>Features are integer enumerations of the
44
<a class="link" href="raptor-section-feature.html#raptor-feature"><span class="type">raptor_feature</span></a> enum and have values
44
<a class="link" href="raptor-section-feature.html#raptor-feature" title="enum raptor_feature"><span class="type">raptor_feature</span></a> enum and have values
45
45
that are either integers (often acting as booleans) or strings.
46
46
The two functions that set features are:
58
58
There are also two corresponding functions for reading the values of parser
60
<a class="link" href="raptor-section-parser.html#raptor-get-feature"><code class="function">raptor_get_feature()</code></a>
60
<a class="link" href="raptor-section-parser.html#raptor-get-feature" title="raptor_get_feature ()"><code class="function">raptor_get_feature()</code></a>
62
62
<code class="function">raptor_get_feature_string()</code>
63
63
taken the feature enumeration parameter and returning the integer or string
64
64
value correspondingly.
69
Generated by GTK-Doc V1.10</div>