blob: 307247253e8d0ea6c970047f0d80711f28514d59 [file] [log] [blame]
<!--
/***************************************************************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
***************************************************************************************************************************/
-->
RDF Parsers
<p>
The {@link oaj.jena.RdfParser} class is the top-level class for all Jena-based parsers.
Language-specific parsers are defined as inner subclasses of the <c>RdfParser</c> class:
</p>
<ul class='javatree'>
<li class='jc'>{@link oaj.jena.RdfParser}
<ul>
<li class='jc'>{@link oaj.jena.RdfXmlParser}
<li class='jc'>{@link oaj.jena.NTripleParser}
<li class='jc'>{@link oaj.jena.TurtleParser}
<li class='jc'>{@link oaj.jena.N3Parser}
</ul>
</ul>
<p>
The <c>RdfParser.Xml</c> parser handles both regular and abbreviated RDF/XML.
</p>
<p>
The RDF parser provides the following settings:
</p>
<ul class='javatree'>
<li class='link'>{@doc juneau-marshall.ConfigurableProperties.Common Common Properties}
<li class='link'>{@doc juneau-marshall.ConfigurableProperties.CommonParser Common Parser Properties}
<li class='jic'>{@link oaj.jena.RdfCommon}
<ul>
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_arp_embedding RDF_arp_embedding}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_arp_err_ RDF_arp_err_}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_arp_errorMode RDF_arp_errorMode}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_arp_ign_ RDF_arp_ign_}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_arp_iriRules RDF_arp_iriRules}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_arp_warn_ RDF_arp_warn_}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_collectionFormat RDF_collectionFormat}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_juneauBpNs RDF_juneauBpNs}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_juneauNs RDF_juneauNs}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_language RDF_language}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_looseCollections RDF_looseCollections}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_n3_abbrevBaseUri RDF_n3_abbrevBaseUri}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_n3_indentProperty RDF_n3_indentProperty}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_n3_minGap RDF_n3_minGap}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_n3_objectLists RDF_n3_objectLists}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_n3_propertyColumn RDF_n3_propertyColumn}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_n3_subjectColumn RDF_n3_subjectColumn}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_n3_useDoubles RDF_n3_useDoubles}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_n3_usePropertySymbols RDF_n3_usePropertySymbols}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_n3_useTripleQuotedStrings RDF_n3_useTripleQuotedStrings}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_n3_widePropertyLen RDF_n3_widePropertyLen}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_rdfxml_allowBadUris RDF_rdfxml_allowBadUris}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_rdfxml_attributeQuoteChar RDF_rdfxml_attributeQuoteChar}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_rdfxml_blockRules RDF_rdfxml_blockRules}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_rdfxml_longId RDF_rdfxml_longId}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_rdfxml_relativeUris RDF_rdfxml_relativeUris}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_rdfxml_showDoctypeDeclaration RDF_rdfxml_showDoctypeDeclaration}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_rdfxml_showXmlDeclaration RDF_rdfxml_showXmlDeclaration}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_rdfxml_tab RDF_rdfxml_tab}
<li class='jf'>{@link oaj.jena.RdfCommon#RDF_rdfxml_xmlBase RDF_rdfxml_xmlBase}
</ul>
<li class='jc'>{@link oaj.jena.RdfParser}
<ul>
<li class='jf'>{@link oaj.jena.RdfParser#RDF_trimWhitespace RDF_trimWhitespace}
</ul>
</ul>
<p>
The following pre-configured parsers are provided for convenience:
</p>
<ul class='javatree'>
<li class='jc'>{@link oaj.jena.RdfParser}
<ul>
<li class='jc'>{@link oaj.jena.RdfXmlParser}
<ul>
<li class='jf'>{@link oaj.jena.RdfXmlParser#DEFAULT DEFAULT}
</ul>
<li class='jc'>{@link oaj.jena.N3Parser}
<ul>
<li class='jf'>{@link oaj.jena.N3Parser#DEFAULT DEFAULT}
</ul>
<li class='jc'>{@link oaj.jena.NTripleParser}
<ul>
<li class='jf'>{@link oaj.jena.NTripleParser#DEFAULT DEFAULT}
</ul>
<li class='jc'>{@link oaj.jena.TurtleParser}
<ul>
<li class='jf'>{@link oaj.jena.TurtleParser#DEFAULT DEFAULT}
</ul>
</ul>
</ul>