parse_as_stream SOURCE_URI BASE_URI
Parse the syntax at the RDF::Redland::URI SOURCE_URI with optional base RDF::Redland::URI BASE_URI.
If the base URI is given then the content is parsed as if it was at the base URI rather than the
source URI.
Returns an RDF::Redland::Stream of RDF::Redland::Statement objects or undef on failure.
parse_into_model SOURCE_URI BASE_URI MODEL [HANDLER]
Parse the syntax at the RDF::Redland::URI SOURCE_URI with optional base RDF::Redland::URI BASE_URI
into RDF::Redland::Model MODEL. If the base URI is given then the content is parsed as if it was at
the base URI rather than the source URI.
If the optional HANDLER is given, it is a reference to a sub with the signature
sub handler($$$$$$$$$) {
my($code, $level, $facility, $message, $line, $column, $byte, $file, $uri)=@_;
...
} that receives errors in parsing.
parse_string_as_stream STRING BASE_URI
Parse the syntax in STRING with required base RDF::Redland::URI BASE_URI.
Returns an RDF::Redland::Stream of RDF::Redland::Statement objects or undef on failure.
parse_string_into_model STRING BASE_URI MODEL [HANDLER]
Parse the syntax in STRING with required base RDF::Redland::URI BASE_URI into RDF::Redfland::Model
MODEL.
If the optional HANDLER is given, it is a reference to a sub with the signature
sub handler($$$$$$$$$) {
my($code, $level, $facility, $message, $line, $column, $byte, $file, $uri)=@_;
...
} that receives errors in parsing.
feature URI [VALUE]
Get/set a parser feature. The feature is named via RDF::Redland::URI URI and the value is a
RDF::Redland::Node. If VALUE is given, the feature is set to that value, otherwise the current value
is returned.
namespaces_seen
Get the set of namespace declarations seen during parsing as a hash of key:prefix string (may be ''),
value: RDF::Redland::URI objects.