blob: e844f1367ed3a47d3125cd9aa62aec4eead0eddb [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 Serializers
<p>
The {@link oaj.jena.RdfSerializer} class is the top-level class for all Jena-based serializers.
Language-specific serializers are defined as inner subclasses of the <code>RdfSerializer</code> class:
</p>
<ul class='doctree'>
<li class='jc'>{@link oaj.jena.RdfSerializer}
<ul>
<li class='jc'>{@link oaj.jena.RdfXmlSerializer}
<li class='jc'>{@link oaj.jena.RdfXmlAbbrevSerializer}
<li class='jc'>{@link oaj.jena.N3Serializer}
<li class='jc'>{@link oaj.jena.NTripleSerializer}
<li class='jc'>{@link oaj.jena.TurtleSerializer}
</ul>
</ul>
<ul class='doctree'>
<li class='link'>{@doc juneau-marshall.ConfigurableProperties.Common Common Properties}
<li class='link'>{@doc juneau-marshall.ConfigurableProperties.CommonSerializer Common Serializer 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.RdfSerializer}
<ul>
<li class='jf'>{@link oaj.jena.RdfSerializer#RDF_addBeanTypes RDF_addBeanTypes}
<li class='jf'>{@link oaj.jena.RdfSerializer#RDF_addLiteralTypes RDF_addLiteralTypes}
<li class='jf'>{@link oaj.jena.RdfSerializer#RDF_addRootProperty RDF_addRootProperty}
<li class='jf'>{@link oaj.jena.RdfSerializer#RDF_autoDetectNamespaces RDF_autoDetectNamespaces}
<li class='jf'>{@link oaj.jena.RdfSerializer#RDF_namespaces RDF_namespaces}
<li class='jf'>{@link oaj.jena.RdfSerializer#RDF_useXmlNamespaces RDF_useXmlNamespaces}
</ul>
</ul>
<p>
The following pre-configured serializers are provided for convenience:
</p>
<ul class='doctree'>
<li class='jc'>{@link oaj.jena.RdfSerializer}
<ul>
<li class='jc'>{@link oaj.jena.RdfXmlSerializer}
<ul>
<li class='jf'>{@link oaj.jena.RdfXmlSerializer#DEFAULT DEFAULT}
</ul>
<li class='jc'>{@link oaj.jena.RdfXmlAbbrevSerializer}
<ul>
<li class='jf'>{@link oaj.jena.RdfXmlAbbrevSerializer#DEFAULT DEFAULT}
</ul>
<li class='jc'>{@link oaj.jena.N3Serializer}
<ul>
<li class='jf'>{@link oaj.jena.N3Serializer#DEFAULT DEFAULT}
</ul>
<li class='jc'>{@link oaj.jena.NTripleSerializer}
<ul>
<li class='jf'>{@link oaj.jena.NTripleSerializer#DEFAULT DEFAULT}
</ul>
<li class='jc'>{@link oaj.jena.TurtleSerializer}
<ul>
<li class='jf'>{@link oaj.jena.TurtleSerializer#DEFAULT DEFAULT}
</ul>
</ul>
</ul>
<p>
Abbreviated RDF/XML is currently the most widely accepted and readable RDF syntax, so the examples shown here
will use that format.
</p>