| // *************************************************************************************************************************** |
| // * 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. * |
| // *************************************************************************************************************************** |
| package org.apache.juneau.jena; |
| |
| import static org.apache.juneau.jena.RdfCommon.*; |
| import static org.apache.juneau.jena.RdfSerializer.*; |
| |
| import java.lang.reflect.*; |
| import java.nio.charset.*; |
| import java.util.*; |
| |
| import org.apache.juneau.*; |
| import org.apache.juneau.http.*; |
| import org.apache.juneau.jena.annotation.*; |
| import org.apache.juneau.reflect.*; |
| import org.apache.juneau.serializer.*; |
| import org.apache.juneau.svl.*; |
| import org.apache.juneau.xml.*; |
| import org.apache.juneau.xml.annotation.*; |
| |
| /** |
| * Builder class for building instances of RDF serializers. |
| */ |
| public class RdfSerializerBuilder extends WriterSerializerBuilder { |
| |
| /** |
| * Constructor, default settings. |
| */ |
| public RdfSerializerBuilder() { |
| super(); |
| } |
| |
| /** |
| * Constructor. |
| * |
| * @param ps The initial configuration settings for this builder. |
| */ |
| public RdfSerializerBuilder(PropertyStore ps) { |
| super(ps); |
| } |
| |
| @Override /* ContextBuilder */ |
| public RdfSerializer build() { |
| return build(RdfSerializer.class); |
| } |
| |
| //----------------------------------------------------------------------------------------------------------------- |
| // Properties |
| //----------------------------------------------------------------------------------------------------------------- |
| |
| /** |
| * Configuration property: XML namespace for Juneau properties. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder juneauNs(String value) { |
| return set(RDF_juneauNs, value); |
| } |
| |
| /** |
| * Configuration property: Default XML namespace for bean properties. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder juneauBpNs(String value) { |
| return set(RDF_juneauBpNs, value); |
| } |
| |
| /** |
| * Configuration property: RDF/XML property: <c>iri_rules</c>. |
| * |
| * <p> |
| * Set the engine for checking and resolving. |
| * |
| * <p> |
| * Possible values: |
| * <ul class='spaced-list'> |
| * <li> |
| * <js>"lax"</js> - The rules for RDF URI references only, which does permit spaces although the use of spaces |
| * is not good practice. |
| * <li> |
| * <js>"strict"</js> - Sets the IRI engine with rules for valid IRIs, XLink and RDF; it does not permit spaces |
| * in IRIs. |
| * <li> |
| * <js>"iri"</js> - Sets the IRI engine to IRI |
| * ({@doc http://www.ietf.org/rfc/rfc3986.txt RFC 3986}, |
| * {@doc http://www.ietf.org/rfc/rfc3987.txt RFC 3987}). |
| * </ul> |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder arp_iriRules(String value) { |
| return set(RDF_arp_iriRules, value); |
| } |
| |
| /** |
| * Configuration property: RDF/XML ARP property: <c>error-mode</c>. |
| * |
| * <p> |
| * This allows a coarse-grained approach to control of error handling. |
| * |
| * <p> |
| * Possible values: |
| * <ul> |
| * <li><js>"default"</js> |
| * <li><js>"lax"</js> |
| * <li><js>"strict"</js> |
| * <li><js>"strict-ignore"</js> |
| * <li><js>"strict-warning"</js> |
| * <li><js>"strict-error"</js> |
| * <li><js>"strict-fatal"</js> |
| * </ul> |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder arp_errorMode(String value) { |
| return set(RDF_arp_errorMode, value); |
| } |
| |
| /** |
| * Configuration property: RDF/XML ARP property: <c>error-mode</c>. |
| * |
| * <p> |
| * Sets ARP to look for RDF embedded within an enclosing XML document. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder arp_embedding(boolean value) { |
| return set(RDF_arp_embedding, value); |
| } |
| |
| /** |
| * Configuration property: RDF/XML property: <c>xmlbase</c>. |
| * |
| * <p> |
| * The value to be included for an <xa>xml:base</xa> attribute on the root element in the file. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder rdfxml_xmlBase(String value) { |
| return set(RDF_rdfxml_xmlBase, value); |
| } |
| |
| /** |
| * Configuration property: RDF/XML property: <c>longId</c>. |
| * |
| * <p> |
| * Whether to use long ID's for anon resources. |
| * Short ID's are easier to read, but can run out of memory on very large models. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder rdfxml_longId(boolean value) { |
| return set(RDF_rdfxml_longId, value); |
| } |
| |
| /** |
| * Configuration property: RDF/XML property: <c>allowBadURIs</c>. |
| * |
| * <p> |
| * URIs in the graph are, by default, checked prior to serialization. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder rdfxml_allowBadUris(boolean value) { |
| return set(RDF_rdfxml_allowBadUris, value); |
| } |
| |
| /** |
| * Configuration property: RDF/XML property: <c>relativeURIs</c>. |
| * |
| * <p> |
| * What sort of relative URIs should be used. |
| * |
| * <p> |
| * A comma separate list of options: |
| * <ul class='spaced-list'> |
| * <li> |
| * <js>"same-document"</js> - Same-document references (e.g. <js>""</js> or <js>"#foo"</js>) |
| * <li> |
| * <js>"network"</js> - Network paths (e.g. <js>"//example.org/foo"</js> omitting the URI scheme) |
| * <li> |
| * <js>"absolute"</js> - Absolute paths (e.g. <js>"/foo"</js> omitting the scheme and authority) |
| * <li> |
| * <js>"relative"</js> - Relative path not beginning in <js>"../"</js> |
| * <li> |
| * <js>"parent"</js> - Relative path beginning in <js>"../"</js> |
| * <li> |
| * <js>"grandparent"</js> - Relative path beginning in <js>"../../"</js> |
| * </ul> |
| * |
| * <p> |
| * The default value is <js>"same-document, absolute, relative, parent"</js>. |
| * To switch off relative URIs use the value <js>""</js>. |
| * Relative URIs of any of these types are output where possible if and only if the option has been specified. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder rdfxml_relativeUris(String value) { |
| return set(RDF_rdfxml_relativeUris, value); |
| } |
| |
| /** |
| * Configuration property: RDF/XML property: <c>showXmlDeclaration</c>. |
| * |
| * <p> |
| * Possible values: |
| * <ul class='spaced-list'> |
| * <li> |
| * <js>"true"</js> - Add XML Declaration to the output. |
| * <li> |
| * <js>"false"</js> - Don't add XML Declaration to the output. |
| * <li> |
| * <js>"default"</js> - Only add an XML Declaration when asked to write to an <c>OutputStreamWriter</c> |
| * that uses some encoding other than <c>UTF-8</c> or <c>UTF-16</c>. |
| * In this case the encoding is shown in the XML declaration. |
| * </ul> |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder rdfxml_showXmlDeclaration(String value) { |
| return set(RDF_rdfxml_showXmlDeclaration, value); |
| } |
| |
| /** |
| * Configuration property: RDF/XML property: <c>showDoctypeDeclaration</c>. |
| * |
| * <p> |
| * If true, an XML doctype declaration is included in the output. |
| * This declaration includes a <c>!ENTITY</c> declaration for each prefix mapping in the model, and any |
| * attribute value that starts with the URI of that mapping is written as starting with the corresponding entity |
| * invocation. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder rdfxml_showDoctypeDeclaration(boolean value) { |
| return set(RDF_rdfxml_showDoctypeDeclaration, value); |
| } |
| |
| /** |
| * Configuration property: RDF/XML property: <c>tab</c>. |
| * |
| * <p> |
| * The number of spaces with which to indent XML child elements. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder rdfxml_tab(int value) { |
| return set(RDF_rdfxml_tab, value); |
| } |
| |
| /** |
| * Configuration property: RDF/XML property: <c>attributeQuoteChar</c>. |
| * |
| * <p> |
| * The XML attribute quote character. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder rdfxml_attributeQuoteChar(String value) { |
| return set(RDF_rdfxml_attributeQuoteChar, value); |
| } |
| |
| /** |
| * Configuration property: RDF/XML property: <c>blockRules</c>. |
| * |
| * <p> |
| * A list of <c>Resource</c> or a <c>String</c> being a comma separated list of fragment IDs from |
| * {@doc http://www.w3.org/TR/rdf-syntax-grammar RDF Syntax Grammar} indicating grammar |
| * rules that will not be used. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder rdfxml_blockRules(String value) { |
| return set(RDF_rdfxml_blockRules, value); |
| } |
| |
| /** |
| * Configuration property: N3/Turtle property: <c>minGap</c>. |
| * |
| * <p> |
| * Minimum gap between items on a line. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder n3_minGap(int value) { |
| return set(RDF_n3_minGap, value); |
| } |
| |
| /** |
| * Configuration property: N3/Turtle property: <c>objectLists</c>. |
| * |
| * <p> |
| * Print object lists as comma separated lists. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder n3_objectLists(boolean value) { |
| return set(RDF_n3_objectLists, value); |
| } |
| |
| /** |
| * Configuration property: N3/Turtle property: <c>subjectColumn</c>. |
| * |
| * <p> |
| * If the subject is shorter than this value, the first property may go on the same line. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder n3_subjectColumn(int value) { |
| return set(RDF_n3_subjectColumn, value); |
| } |
| |
| /** |
| * Configuration property: N3/Turtle property: <c>propertyColumn</c>. |
| * |
| * <p> |
| * Width of the property column. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder n3_propertyColumn(int value) { |
| return set(RDF_n3_propertyColumn, value); |
| } |
| |
| /** |
| * Configuration property: N3/Turtle property: <c>indentProperty</c>. |
| * |
| * <p> |
| * Width to indent properties. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder n3_indentProperty(int value) { |
| return set(RDF_n3_indentProperty, value); |
| } |
| |
| /** |
| * Configuration property: N3/Turtle property: <c>widePropertyLen</c>. |
| * |
| * <p> |
| * Width of the property column. |
| * Must be longer than <c>propertyColumn</c>. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder n3_widePropertyLen(int value) { |
| return set(RDF_n3_widePropertyLen, value); |
| } |
| |
| /** |
| * Configuration property: N3/Turtle property: <c>abbrevBaseURI</c>. |
| * |
| * <p> |
| * Control whether to use abbreviations <c><></c> or <c><#></c>. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder n3_abbrevBaseUri(boolean value) { |
| return set(RDF_n3_abbrevBaseUri, value); |
| } |
| |
| /** |
| * Configuration property: N3/Turtle property: <c>usePropertySymbols</c>. |
| * |
| * <p> |
| * Control whether to use <c>a</c>, <c>=</c> and <c>=></c> in output |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder n3_usePropertySymbols(boolean value) { |
| return set(RDF_n3_usePropertySymbols, value); |
| } |
| |
| /** |
| * Configuration property: N3/Turtle property: <c>useTripleQuotedStrings</c>. |
| * |
| * <p> |
| * Allow the use of <c>"""</c> to delimit long strings. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder n3_useTripleQuotedStrings(boolean value) { |
| return set(RDF_n3_useTripleQuotedStrings, value); |
| } |
| |
| /** |
| * Configuration property: N3/Turtle property: <c>useDoubles</c>. |
| * |
| * <p> |
| * Allow the use doubles as <c>123.456</c>. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder n3_useDoubles(boolean value) { |
| return set(RDF_n3_useDoubles, value); |
| } |
| |
| /** |
| * Configuration property: RDF format for representing collections and arrays. |
| * |
| * <p> |
| * Possible values: |
| * <ul class='spaced-list'> |
| * <li> |
| * <js>"DEFAULT"</js> - Default format. The default is an RDF Sequence container. |
| * <li> |
| * <js>"SEQ"</js> - RDF Sequence container. |
| * <li> |
| * <js>"BAG"</js> - RDF Bag container. |
| * <li> |
| * <js>"LIST"</js> - RDF List container. |
| * <li> |
| * <js>"MULTI_VALUED"</js> - Multi-valued properties. |
| * </ul> |
| * |
| * <ul class='notes'> |
| * <li> |
| * If you use <js>"BAG"</js> or <js>"MULTI_VALUED"</js>, the order of the elements in the collection will get |
| * lost. |
| * </ul> |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder collectionFormat(String value) { |
| return set(RDF_collectionFormat, value); |
| } |
| |
| /** |
| * Configuration property: Default namespaces. |
| * |
| * <p> |
| * The default list of namespaces associated with this serializer. |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder namespaces(String[] value) { |
| return set(RDF_namespaces, value); |
| } |
| |
| /** |
| * Configuration property: Add XSI data types to non-<c>String</c> literals. |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_addLiteralTypes} |
| * </ul> |
| * |
| * @param value |
| * The new value for this property. |
| * <br>The default is <jk>false</jk>. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder addLiteralTypes(boolean value) { |
| return set(RDF_addLiteralTypes, value); |
| } |
| |
| /** |
| * Configuration property: Add XSI data types to non-<c>String</c> literals. |
| * |
| * <p> |
| * Shortcut for calling <code>addLiteralTypes(<jk>true</jk>)</code>. |
| * |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder addLiteralTypes() { |
| return set(RDF_addLiteralTypes, true); |
| } |
| |
| /** |
| * Configuration property: Add RDF root identifier property to root node. |
| * |
| * <p> |
| * When enabled an RDF property <c>http://www.apache.org/juneau/root</c> is added with a value of <js>"true"</js> |
| * to identify the root node in the graph. |
| * This helps locate the root node during parsing. |
| * |
| * <p> |
| * If disabled, the parser has to search through the model to find any resources without incoming predicates to |
| * identify root notes, which can introduce a considerable performance degradation. |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_addRootProperty} |
| * </ul> |
| * |
| * @param value |
| * The new value for this property. |
| * <br>The default is <jk>false</jk>. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder addRootProperty(boolean value) { |
| return set(RDF_addRootProperty, value); |
| } |
| |
| /** |
| * Configuration property: Add RDF root identifier property to root node. |
| * |
| * <p> |
| * Shortcut for calling <code>addRootProperty(<jk>true</jk>)</code>. |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_addRootProperty} |
| * </ul> |
| * |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder addRootProperty() { |
| return set(RDF_addRootProperty, true); |
| } |
| |
| /** |
| * Configuration property: Auto-detect namespace usage. |
| * |
| * <p> |
| * Detect namespace usage before serialization. |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_autoDetectNamespaces} |
| * </ul> |
| * |
| * @param value |
| * The new value for this property. |
| * <br>The default is <jk>true</jk>. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder autoDetectNamespaces(boolean value) { |
| return set(RDF_autoDetectNamespaces, value); |
| } |
| |
| /** |
| * Configuration property: RDF format for representing collections and arrays. |
| * |
| * <p> |
| * |
| * <ul class='notes'> |
| * <li> |
| * If you use <js>"BAG"</js> or <js>"MULTI_VALUED"</js>, the order of the elements in the collection will get |
| * lost. |
| * </ul> |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_collectionFormat} |
| * </ul> |
| * |
| * @param value |
| * The new value for this property. |
| * <br>Possible values: |
| * <ul> |
| * <li><js>"DEFAULT"</js> - Default format. The default is an RDF Sequence container. |
| * <li><js>"SEQ"</js> - RDF Sequence container. |
| * <li><js>"BAG"</js> - RDF Bag container. |
| * <li><js>"LIST"</js> - RDF List container. |
| * <li><js>"MULTI_VALUED"</js> - Multi-valued properties. |
| * </ul> |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder collectionFormat(RdfCollectionFormat value) { |
| return set(RDF_collectionFormat, value); |
| } |
| |
| /** |
| * Configuration property: Default XML namespace for bean properties. |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_juneauBpNs} |
| * </ul> |
| * |
| * @param value |
| * The new value for this property. |
| * <br>The default is <code>{j:<js>'http://www.apache.org/juneaubp/'</js>}</code>. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder juneauBpNs(Namespace value) { |
| return set(RDF_juneauBpNs, value); |
| } |
| |
| /** |
| * Configuration property: XML namespace for Juneau properties. |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_juneauNs} |
| * </ul> |
| * |
| * @param value |
| * The new value for this property. |
| * <br>The default is <code>{j:<js>'http://www.apache.org/juneau/'</js>}</code>. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder juneauNs(Namespace value) { |
| return set(RDF_juneauNs, value); |
| } |
| |
| /** |
| * Configuration property: RDF language. |
| * |
| * <p> |
| * Can be any of the following: |
| * <ul class='spaced-list'> |
| * <li> |
| * <js>"RDF/XML"</js> |
| * <li> |
| * <js>"RDF/XML-ABBREV"</js> (default) |
| * <li> |
| * <js>"N-TRIPLE"</js> |
| * <li> |
| * <js>"N3"</js> - General name for the N3 writer. |
| * Will make a decision on exactly which writer to use (pretty writer, plain writer or simple writer) when |
| * created. |
| * Default is the pretty writer but can be overridden with system property |
| * <c>org.apache.jena.n3.N3JenaWriter.writer</c>. |
| * <li> |
| * <js>"N3-PP"</js> - Name of the N3 pretty writer. |
| * The pretty writer uses a frame-like layout, with prefixing, clustering like properties and embedding |
| * one-referenced bNodes. |
| * <li> |
| * <js>"N3-PLAIN"</js> - Name of the N3 plain writer. |
| * The plain writer writes records by subject. |
| * <li> |
| * <js>"N3-TRIPLES"</js> - Name of the N3 triples writer. |
| * This writer writes one line per statement, like N-Triples, but does N3-style prefixing. |
| * <li> |
| * <js>"TURTLE"</js> - Turtle writer. |
| * http://www.dajobe.org/2004/01/turtle/ |
| * </ul> |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_language} |
| * </ul> |
| * |
| * @param value |
| * The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder language(String value) { |
| return set(RDF_language, value); |
| } |
| |
| /** |
| * Configuration property: Collections should be serialized and parsed as loose collections. |
| * |
| * <p> |
| * When specified, collections of resources are handled as loose collections of resources in RDF instead of |
| * resources that are children of an RDF collection (e.g. Sequence, Bag). |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_looseCollections} |
| * </ul> |
| * |
| * @param value |
| * The new value for this property. |
| * <br>The default is <jk>false</jk>. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder looseCollections(boolean value) { |
| return set(RDF_looseCollections, value); |
| } |
| |
| /** |
| * Configuration property: Collections should be serialized and parsed as loose collections. |
| * |
| * <p> |
| * Shortcut for <code>looseCollections(<jk>true</jk>)</code>. |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_looseCollections} |
| * </ul> |
| * |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder looseCollections() { |
| return set(RDF_looseCollections, true); |
| } |
| |
| /** |
| * Configuration property: RDF language. |
| * |
| * <p> |
| * Shortcut for calling <code>language(<jsf>LANG_N3</jsf>)</code> |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_language} |
| * </ul> |
| * |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder n3() { |
| return language(Constants.LANG_N3); |
| } |
| |
| /** |
| * Configuration property: Default namespaces. |
| * |
| * <p> |
| * The default list of namespaces associated with this serializer. |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_namespaces} |
| * </ul> |
| * |
| * @param values The new value for this property. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder namespaces(Namespace...values) { |
| return set(RDF_namespaces, values); |
| } |
| |
| /** |
| * Configuration property: RDF language. |
| * |
| * <p> |
| * Shortcut for calling <code>language(<jsf>LANG_NTRIPLE</jsf>)</code> |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_language} |
| * </ul> |
| * |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder ntriple() { |
| return language(Constants.LANG_NTRIPLE); |
| } |
| |
| /** |
| * Configuration property: RDF language. |
| * |
| * <p> |
| * Shortcut for calling <code>language(<jsf>LANG_TURTLE</jsf>)</code> |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_language} |
| * </ul> |
| * |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder turtle() { |
| return language(Constants.LANG_TURTLE); |
| } |
| |
| /** |
| * Configuration property: Reuse XML namespaces when RDF namespaces not specified. |
| * |
| * <p> |
| * When specified, namespaces defined using {@link XmlNs @XmlNs} and {@link org.apache.juneau.xml.annotation.Xml Xml} will be |
| * inherited by the RDF serializers. |
| * Otherwise, namespaces will be defined using {@link RdfNs @RdfNs} and {@link Rdf @Rdf}. |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_useXmlNamespaces} |
| * </ul> |
| * |
| * @param value |
| * The new value for this property. |
| * <br>The default is <jk>true</jk>. |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder useXmlNamespaces(boolean value) { |
| return set(RDF_useXmlNamespaces, value); |
| } |
| |
| /** |
| * Configuration property: RDF language. |
| * |
| * <p> |
| * Shortcut for calling <code>language(<jsf>LANG_RDF_XML</jsf>)</code> |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_language} |
| * </ul> |
| * |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder xml() { |
| return language(Constants.LANG_RDF_XML); |
| } |
| |
| /** |
| * Configuration property: RDF language. |
| * |
| * <p> |
| * Shortcut for calling <code>language(<jsf>LANG_RDF_XML_ABBREV</jsf>)</code> |
| * |
| * <ul class='seealso'> |
| * <li class='jf'>{@link RdfSerializer#RDF_language} |
| * </ul> |
| * |
| * @return This object (for method chaining). |
| */ |
| public RdfSerializerBuilder xmlabbrev() { |
| return language(Constants.LANG_RDF_XML_ABBREV); |
| } |
| |
| @Override /* WriterSerializerBuilder */ |
| public RdfSerializerBuilder fileCharset(Charset value) { |
| super.fileCharset(value); |
| return this; |
| } |
| |
| @Override /* WriterSerializerBuilder */ |
| public RdfSerializerBuilder maxIndent(int value) { |
| super.maxIndent(value); |
| return this; |
| } |
| |
| @Override /* WriterSerializerBuilder */ |
| public RdfSerializerBuilder quoteChar(char value) { |
| super.quoteChar(value); |
| return this; |
| } |
| |
| @Override /* WriterSerializerBuilder */ |
| public RdfSerializerBuilder sq() { |
| super.sq(); |
| return this; |
| } |
| |
| @Override /* WriterSerializerBuilder */ |
| public RdfSerializerBuilder streamCharset(Charset value) { |
| super.streamCharset(value); |
| return this; |
| } |
| |
| @Override /* WriterSerializerBuilder */ |
| public RdfSerializerBuilder useWhitespace(boolean value) { |
| super.useWhitespace(value); |
| return this; |
| } |
| |
| @Override /* WriterSerializerBuilder */ |
| public RdfSerializerBuilder useWhitespace() { |
| super.useWhitespace(); |
| return this; |
| } |
| |
| @Override /* WriterSerializerBuilder */ |
| public RdfSerializerBuilder ws() { |
| super.ws(); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder addBeanTypes(boolean value) { |
| super.addBeanTypes(value); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder addBeanTypes() { |
| super.addBeanTypes(); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder addRootType(boolean value) { |
| super.addRootType(value); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder addRootType() { |
| super.addRootType(); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder detectRecursions(boolean value) { |
| super.detectRecursions(value); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder detectRecursions() { |
| super.detectRecursions(); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder ignoreRecursions(boolean value) { |
| super.ignoreRecursions(value); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder ignoreRecursions() { |
| super.ignoreRecursions(); |
| return this; |
| } |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder initialDepth(int value) { |
| super.initialDepth(value); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder listener(Class<? extends SerializerListener> value) { |
| super.listener(value); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder maxDepth(int value) { |
| super.maxDepth(value); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder sortCollections(boolean value) { |
| super.sortCollections(value); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder sortCollections() { |
| super.sortCollections(); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder sortMaps(boolean value) { |
| super.sortMaps(value); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder sortMaps() { |
| super.sortMaps(); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder trimEmptyCollections(boolean value) { |
| super.trimEmptyCollections(value); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder trimEmptyCollections() { |
| super.trimEmptyCollections(); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder trimEmptyMaps(boolean value) { |
| super.trimEmptyMaps(value); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder trimEmptyMaps() { |
| super.trimEmptyMaps(); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder trimNullProperties(boolean value) { |
| super.trimNullProperties(value); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder trimStrings(boolean value) { |
| super.trimStrings(value); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder trimStrings() { |
| super.trimStrings(); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder uriContext(UriContext value) { |
| super.uriContext(value); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder uriRelativity(UriRelativity value) { |
| super.uriRelativity(value); |
| return this; |
| } |
| |
| @Override /* SerializerBuilder */ |
| public RdfSerializerBuilder uriResolution(UriResolution value) { |
| super.uriResolution(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beanClassVisibility(Visibility value) { |
| super.beanClassVisibility(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beanConstructorVisibility(Visibility value) { |
| super.beanConstructorVisibility(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| @Deprecated |
| public RdfSerializerBuilder beanDictionary(Class<?>...values) { |
| super.beanDictionary(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| @Deprecated |
| public RdfSerializerBuilder beanDictionary(Object...values) { |
| super.beanDictionary(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| @Deprecated |
| public RdfSerializerBuilder beanDictionaryReplace(Class<?>...values) { |
| super.beanDictionaryReplace(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| @Deprecated |
| public RdfSerializerBuilder beanDictionaryReplace(Object...values) { |
| super.beanDictionaryReplace(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| @Deprecated |
| public RdfSerializerBuilder beanDictionaryRemove(Class<?>...values) { |
| super.beanDictionaryRemove(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| @Deprecated |
| public RdfSerializerBuilder beanDictionaryRemove(Object...values) { |
| super.beanDictionaryRemove(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beanFieldVisibility(Visibility value) { |
| super.beanFieldVisibility(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beanFilters(Class<?>...values) { |
| super.beanFilters(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beanFilters(Object...values) { |
| super.beanFilters(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beanFiltersReplace(Class<?>...values) { |
| super.beanFiltersReplace(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beanFiltersReplace(Object...values) { |
| super.beanFiltersReplace(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beanFiltersRemove(Class<?>...values) { |
| super.beanFiltersRemove(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beanFiltersRemove(Object...values) { |
| super.beanFiltersRemove(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beanMapPutReturnsOldValue(boolean value) { |
| super.beanMapPutReturnsOldValue(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beanMapPutReturnsOldValue() { |
| super.beanMapPutReturnsOldValue(); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beanMethodVisibility(Visibility value) { |
| super.beanMethodVisibility(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beansRequireDefaultConstructor(boolean value) { |
| super.beansRequireDefaultConstructor(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beansRequireDefaultConstructor() { |
| super.beansRequireDefaultConstructor(); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beansRequireSerializable(boolean value) { |
| super.beansRequireSerializable(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beansRequireSerializable() { |
| super.beansRequireSerializable(); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beansRequireSettersForGetters(boolean value) { |
| super.beansRequireSettersForGetters(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beansRequireSettersForGetters() { |
| super.beansRequireSettersForGetters(); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beansRequireSomeProperties(boolean value) { |
| super.beansRequireSomeProperties(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder beanTypePropertyName(String value) { |
| super.beanTypePropertyName(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder bpi(Class<?> beanClass, String value) { |
| super.bpi(beanClass, value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder bpi(Map<String,String> values) { |
| super.bpi(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder bpi(String beanClassName, String value) { |
| super.bpi(beanClassName, value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder bpx(Class<?> beanClass, String properties) { |
| super.bpx(beanClass, properties); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder bpx(Map<String,String> values) { |
| super.bpx(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder bpx(String beanClassName, String value) { |
| super.bpx(beanClassName, value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder bpro(Class<?> beanClass, String value) { |
| super.bpro(beanClass, value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder bpro(Map<String,String> values) { |
| super.bpro(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder bpro(String beanClassName, String value) { |
| super.bpro(beanClassName, value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder bpwo(Class<?> beanClass, String properties) { |
| super.bpwo(beanClass, properties); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder bpwo(Map<String,String> values) { |
| super.bpwo(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder bpwo(String beanClassName, String value) { |
| super.bpwo(beanClassName, value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder debug() { |
| super.debug(); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder dictionary(Class<?>...values) { |
| super.dictionary(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder dictionary(Object...values) { |
| super.dictionary(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder dictionaryReplace(Class<?>...values) { |
| super.dictionaryReplace(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder dictionaryReplace(Object...values) { |
| super.dictionaryReplace(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder dictionaryRemove(Class<?>...values) { |
| super.dictionaryRemove(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder dictionaryRemove(Object...values) { |
| super.dictionaryRemove(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public <T> RdfSerializerBuilder example(Class<T> c, T o) { |
| super.example(c, o); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public <T> RdfSerializerBuilder exampleJson(Class<T> c, String value) { |
| super.exampleJson(c, value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder ignoreInvocationExceptionsOnGetters(boolean value) { |
| super.ignoreInvocationExceptionsOnGetters(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder ignoreInvocationExceptionsOnGetters() { |
| super.ignoreInvocationExceptionsOnGetters(); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder ignoreInvocationExceptionsOnSetters(boolean value) { |
| super.ignoreInvocationExceptionsOnSetters(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder ignoreInvocationExceptionsOnSetters() { |
| super.ignoreInvocationExceptionsOnSetters(); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder ignorePropertiesWithoutSetters(boolean value) { |
| super.ignorePropertiesWithoutSetters(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder ignoreUnknownBeanProperties(boolean value) { |
| super.ignoreUnknownBeanProperties(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder ignoreUnknownBeanProperties() { |
| super.ignoreUnknownBeanProperties(); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder ignoreUnknownNullBeanProperties(boolean value) { |
| super.ignoreUnknownNullBeanProperties(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder implClass(Class<?> interfaceClass, Class<?> implClass) { |
| super.implClass(interfaceClass, implClass); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder implClasses(Map<String,Class<?>> values) { |
| super.implClasses(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder locale(Locale value) { |
| super.locale(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder mediaType(MediaType value) { |
| super.mediaType(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder notBeanClasses(Class<?>...values) { |
| super.notBeanClasses(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder notBeanClasses(Object...values) { |
| super.notBeanClasses(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder notBeanClassesReplace(Class<?>...values) { |
| super.notBeanClassesReplace(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder notBeanClassesReplace(Object...values) { |
| super.notBeanClassesReplace(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder notBeanClassesRemove(Class<?>...values) { |
| super.notBeanClassesRemove(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder notBeanClassesRemove(Object...values) { |
| super.notBeanClassesRemove(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder notBeanPackages(Object...values) { |
| super.notBeanPackages(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder notBeanPackages(String...values) { |
| super.notBeanPackages(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder notBeanPackagesReplace(String...values) { |
| super.notBeanPackagesReplace(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder notBeanPackagesReplace(Object...values) { |
| super.notBeanPackagesReplace(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder notBeanPackagesRemove(String...values) { |
| super.notBeanPackagesRemove(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder notBeanPackagesRemove(Object...values) { |
| super.notBeanPackagesRemove(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder pojoSwaps(Class<?>...values) { |
| super.pojoSwaps(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder pojoSwaps(Object...values) { |
| super.pojoSwaps(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder pojoSwapsReplace(Class<?>...values) { |
| super.pojoSwapsReplace(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder pojoSwapsReplace(Object...values) { |
| super.pojoSwapsReplace(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder pojoSwapsRemove(Class<?>...values) { |
| super.pojoSwapsRemove(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder pojoSwapsRemove(Object...values) { |
| super.pojoSwapsRemove(values); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder sortProperties(boolean value) { |
| super.sortProperties(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder sortProperties() { |
| super.sortProperties(); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder timeZone(TimeZone value) { |
| super.timeZone(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder useEnumNames(boolean value) { |
| super.useEnumNames(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder useEnumNames() { |
| super.useEnumNames(); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder useInterfaceProxies(boolean value) { |
| super.useInterfaceProxies(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder useJavaBeanIntrospector(boolean value) { |
| super.useJavaBeanIntrospector(value); |
| return this; |
| } |
| |
| @Override /* BeanContextBuilder */ |
| public RdfSerializerBuilder useJavaBeanIntrospector() { |
| super.useJavaBeanIntrospector(); |
| return this; |
| } |
| |
| @Override /* ContextBuilder */ |
| public RdfSerializerBuilder set(String name, Object value) { |
| super.set(name, value); |
| return this; |
| } |
| |
| @Override /* ContextBuilder */ |
| public RdfSerializerBuilder set(Map<String,Object> properties) { |
| super.set(properties); |
| return this; |
| } |
| |
| @Override /* ContextBuilder */ |
| public RdfSerializerBuilder add(Map<String,Object> properties) { |
| super.add(properties); |
| return this; |
| } |
| |
| @Override /* ContextBuilder */ |
| public RdfSerializerBuilder addTo(String name, Object value) { |
| super.addTo(name, value); |
| return this; |
| } |
| |
| @Override /* ContextBuilder */ |
| public RdfSerializerBuilder addTo(String name, String key, Object value) { |
| super.addTo(name, key, value); |
| return this; |
| } |
| |
| @Override /* ContextBuilder */ |
| public RdfSerializerBuilder removeFrom(String name, Object value) { |
| super.removeFrom(name, value); |
| return this; |
| } |
| |
| @Override /* ContextBuilder */ |
| public RdfSerializerBuilder apply(PropertyStore copyFrom) { |
| super.apply(copyFrom); |
| return this; |
| } |
| |
| @Override /* ContextBuilder */ |
| public RdfSerializerBuilder applyAnnotations(AnnotationList al, VarResolverSession vrs) { |
| super.applyAnnotations(al, vrs); |
| return this; |
| } |
| |
| @Override /* ContextBuilder */ |
| public RdfSerializerBuilder applyAnnotations(Class<?> fromClass) { |
| super.applyAnnotations(fromClass); |
| return this; |
| } |
| |
| @Override /* ContextBuilder */ |
| public RdfSerializerBuilder applyAnnotations(Method fromMethod) { |
| super.applyAnnotations(fromMethod); |
| return this; |
| } |
| } |