001// ***************************************************************************************************************************
002// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *
003// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *
004// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *
005// * with the License.  You may obtain a copy of the License at                                                              *
006// *                                                                                                                         *
007// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *
008// *                                                                                                                         *
009// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *
010// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *
011// * specific language governing permissions and limitations under the License.                                              *
012// ***************************************************************************************************************************
013package org.apache.juneau.jena;
014
015import static org.apache.juneau.jena.RdfCommon.*;
016import static org.apache.juneau.jena.RdfSerializer.*;
017
018import java.lang.annotation.*;
019import java.lang.reflect.*;
020import java.nio.charset.*;
021import java.util.*;
022
023import org.apache.juneau.*;
024import org.apache.juneau.http.*;
025import org.apache.juneau.jena.annotation.*;
026import org.apache.juneau.reflect.*;
027import org.apache.juneau.serializer.*;
028import org.apache.juneau.svl.*;
029import org.apache.juneau.xml.*;
030import org.apache.juneau.xml.annotation.*;
031
032/**
033 * Builder class for building instances of RDF serializers.
034 */
035public class RdfSerializerBuilder extends WriterSerializerBuilder {
036
037   /**
038    * Constructor, default settings.
039    */
040   public RdfSerializerBuilder() {
041      super();
042   }
043
044   /**
045    * Constructor.
046    *
047    * @param ps The initial configuration settings for this builder.
048    */
049   public RdfSerializerBuilder(PropertyStore ps) {
050      super(ps);
051   }
052
053   @Override /* ContextBuilder */
054   public RdfSerializer build() {
055      return build(RdfSerializer.class);
056   }
057
058   //-----------------------------------------------------------------------------------------------------------------
059   // Properties
060   //-----------------------------------------------------------------------------------------------------------------
061
062   /**
063    * Configuration property:  XML namespace for Juneau properties.
064    *
065    * @param value
066    *    The new value for this property.
067    * @return This object (for method chaining).
068    */
069   public RdfSerializerBuilder juneauNs(String value) {
070      return set(RDF_juneauNs, value);
071   }
072
073   /**
074    * Configuration property:  Default XML namespace for bean properties.
075    *
076    * @param value
077    *    The new value for this property.
078    * @return This object (for method chaining).
079    */
080   public RdfSerializerBuilder juneauBpNs(String value) {
081      return set(RDF_juneauBpNs, value);
082   }
083
084   /**
085    * Configuration property:  RDF/XML property: <c>iri_rules</c>.
086    *
087    * <p>
088    * Set the engine for checking and resolving.
089    *
090    * <p>
091    * Possible values:
092    * <ul class='spaced-list'>
093    *    <li>
094    *       <js>"lax"</js> - The rules for RDF URI references only, which does permit spaces although the use of spaces
095    *       is not good practice.
096    *    <li>
097    *       <js>"strict"</js> - Sets the IRI engine with rules for valid IRIs, XLink and RDF; it does not permit spaces
098    *       in IRIs.
099    *    <li>
100    *       <js>"iri"</js> - Sets the IRI engine to IRI
101    *       ({@doc http://www.ietf.org/rfc/rfc3986.txt RFC 3986},
102    *       {@doc http://www.ietf.org/rfc/rfc3987.txt RFC 3987}).
103    * </ul>
104    *
105    * @param value
106    *    The new value for this property.
107    * @return This object (for method chaining).
108    */
109   public RdfSerializerBuilder arp_iriRules(String value) {
110      return set(RDF_arp_iriRules, value);
111   }
112
113   /**
114    * Configuration property:  RDF/XML ARP property: <c>error-mode</c>.
115    *
116    * <p>
117    * This allows a coarse-grained approach to control of error handling.
118    *
119    * <p>
120    * Possible values:
121    * <ul>
122    *    <li><js>"default"</js>
123    *    <li><js>"lax"</js>
124    *    <li><js>"strict"</js>
125    *    <li><js>"strict-ignore"</js>
126    *    <li><js>"strict-warning"</js>
127    *    <li><js>"strict-error"</js>
128    *    <li><js>"strict-fatal"</js>
129    * </ul>
130    *
131    * @param value
132    *    The new value for this property.
133    * @return This object (for method chaining).
134    */
135   public RdfSerializerBuilder arp_errorMode(String value) {
136      return set(RDF_arp_errorMode, value);
137   }
138
139   /**
140    * Configuration property:  RDF/XML ARP property: <c>error-mode</c>.
141    *
142    * <p>
143    * Sets ARP to look for RDF embedded within an enclosing XML document.
144    *
145    * @param value
146    *    The new value for this property.
147    * @return This object (for method chaining).
148    */
149   public RdfSerializerBuilder arp_embedding(boolean value) {
150      return set(RDF_arp_embedding, value);
151   }
152
153   /**
154    * Configuration property:  RDF/XML property: <c>xmlbase</c>.
155    *
156    * <p>
157    * The value to be included for an <xa>xml:base</xa> attribute on the root element in the file.
158    *
159    * @param value
160    *    The new value for this property.
161    * @return This object (for method chaining).
162    */
163   public RdfSerializerBuilder rdfxml_xmlBase(String value) {
164      return set(RDF_rdfxml_xmlBase, value);
165   }
166
167   /**
168    * Configuration property:  RDF/XML property: <c>longId</c>.
169    *
170    * <p>
171    * Whether to use long ID's for anon resources.
172    * Short ID's are easier to read, but can run out of memory on very large models.
173    *
174    * @param value
175    *    The new value for this property.
176    * @return This object (for method chaining).
177    */
178   public RdfSerializerBuilder rdfxml_longId(boolean value) {
179      return set(RDF_rdfxml_longId, value);
180   }
181
182   /**
183    * Configuration property:  RDF/XML property: <c>allowBadURIs</c>.
184    *
185    * <p>
186    * URIs in the graph are, by default, checked prior to serialization.
187    *
188    * @param value
189    *    The new value for this property.
190    * @return This object (for method chaining).
191    */
192   public RdfSerializerBuilder rdfxml_allowBadUris(boolean value) {
193      return set(RDF_rdfxml_allowBadUris, value);
194   }
195
196   /**
197    * Configuration property:  RDF/XML property: <c>relativeURIs</c>.
198    *
199    * <p>
200    * What sort of relative URIs should be used.
201    *
202    * <p>
203    * A comma separate list of options:
204    * <ul class='spaced-list'>
205    *    <li>
206    *       <js>"same-document"</js> - Same-document references (e.g. <js>""</js> or <js>"#foo"</js>)
207    *    <li>
208    *       <js>"network"</js>  - Network paths (e.g. <js>"//example.org/foo"</js> omitting the URI scheme)
209    *    <li>
210    *       <js>"absolute"</js> - Absolute paths (e.g. <js>"/foo"</js> omitting the scheme and authority)
211    *    <li>
212    *       <js>"relative"</js> - Relative path not beginning in <js>"../"</js>
213    *    <li>
214    *       <js>"parent"</js> - Relative path beginning in <js>"../"</js>
215    *    <li>
216    *       <js>"grandparent"</js> - Relative path beginning in <js>"../../"</js>
217    * </ul>
218    *
219    * <p>
220    * The default value is <js>"same-document, absolute, relative, parent"</js>.
221    * To switch off relative URIs use the value <js>""</js>.
222    * Relative URIs of any of these types are output where possible if and only if the option has been specified.
223    *
224    * @param value
225    *    The new value for this property.
226    * @return This object (for method chaining).
227    */
228   public RdfSerializerBuilder rdfxml_relativeUris(String value) {
229      return set(RDF_rdfxml_relativeUris, value);
230   }
231
232   /**
233    * Configuration property:  RDF/XML property: <c>showXmlDeclaration</c>.
234    *
235    * <p>
236    * Possible values:
237    * <ul class='spaced-list'>
238    *    <li>
239    *       <js>"true"</js> - Add XML Declaration to the output.
240    *    <li>
241    *       <js>"false"</js> - Don't add XML Declaration to the output.
242    *    <li>
243    *       <js>"default"</js> - Only add an XML Declaration when asked to write to an <c>OutputStreamWriter</c>
244    *       that uses some encoding other than <c>UTF-8</c> or <c>UTF-16</c>.
245    *       In this case the encoding is shown in the XML declaration.
246    * </ul>
247    *
248    * @param value
249    *    The new value for this property.
250    * @return This object (for method chaining).
251    */
252   public RdfSerializerBuilder rdfxml_showXmlDeclaration(String value) {
253      return set(RDF_rdfxml_showXmlDeclaration, value);
254   }
255
256   /**
257    * Configuration property:  RDF/XML property: <c>showDoctypeDeclaration</c>.
258    *
259    * <p>
260    * If true, an XML doctype declaration is included in the output.
261    * This declaration includes a <c>!ENTITY</c> declaration for each prefix mapping in the model, and any
262    * attribute value that starts with the URI of that mapping is written as starting with the corresponding entity
263    * invocation.
264    *
265    * @param value
266    *    The new value for this property.
267    * @return This object (for method chaining).
268    */
269   public RdfSerializerBuilder rdfxml_showDoctypeDeclaration(boolean value) {
270      return set(RDF_rdfxml_showDoctypeDeclaration, value);
271   }
272
273   /**
274    * Configuration property:  RDF/XML property: <c>tab</c>.
275    *
276    * <p>
277    * The number of spaces with which to indent XML child elements.
278    *
279    * @param value
280    *    The new value for this property.
281    * @return This object (for method chaining).
282    */
283   public RdfSerializerBuilder rdfxml_tab(int value) {
284      return set(RDF_rdfxml_tab, value);
285   }
286
287   /**
288    * Configuration property:  RDF/XML property: <c>attributeQuoteChar</c>.
289    *
290    * <p>
291    * The XML attribute quote character.
292    *
293    * @param value
294    *    The new value for this property.
295    * @return This object (for method chaining).
296    */
297   public RdfSerializerBuilder rdfxml_attributeQuoteChar(String value) {
298      return set(RDF_rdfxml_attributeQuoteChar, value);
299   }
300
301   /**
302    * Configuration property:  RDF/XML property: <c>blockRules</c>.
303    *
304    * <p>
305    * A list of <c>Resource</c> or a <c>String</c> being a comma separated list of fragment IDs from
306    * {@doc http://www.w3.org/TR/rdf-syntax-grammar RDF Syntax Grammar} indicating grammar
307    * rules that will not be used.
308    *
309    * @param value
310    *    The new value for this property.
311    * @return This object (for method chaining).
312    */
313   public RdfSerializerBuilder rdfxml_blockRules(String value) {
314      return set(RDF_rdfxml_blockRules, value);
315   }
316
317   /**
318    * Configuration property:  N3/Turtle property: <c>minGap</c>.
319    *
320    * <p>
321    * Minimum gap between items on a line.
322    *
323    * @param value
324    *    The new value for this property.
325    * @return This object (for method chaining).
326    */
327   public RdfSerializerBuilder n3_minGap(int value) {
328      return set(RDF_n3_minGap, value);
329   }
330
331   /**
332    * Configuration property:  N3/Turtle property: <c>objectLists</c>.
333    *
334    * <p>
335    * Print object lists as comma separated lists.
336    *
337    * @param value
338    *    The new value for this property.
339    * @return This object (for method chaining).
340    */
341   public RdfSerializerBuilder n3_objectLists(boolean value) {
342      return set(RDF_n3_objectLists, value);
343   }
344
345   /**
346    * Configuration property:  N3/Turtle property: <c>subjectColumn</c>.
347    *
348    * <p>
349    * If the subject is shorter than this value, the first property may go on the same line.
350    *
351    * @param value
352    *    The new value for this property.
353    * @return This object (for method chaining).
354    */
355   public RdfSerializerBuilder n3_subjectColumn(int value) {
356      return set(RDF_n3_subjectColumn, value);
357   }
358
359   /**
360    * Configuration property:  N3/Turtle property: <c>propertyColumn</c>.
361    *
362    * <p>
363    * Width of the property column.
364    *
365    * @param value
366    *    The new value for this property.
367    * @return This object (for method chaining).
368    */
369   public RdfSerializerBuilder n3_propertyColumn(int value) {
370      return set(RDF_n3_propertyColumn, value);
371   }
372
373   /**
374    * Configuration property:  N3/Turtle property: <c>indentProperty</c>.
375    *
376    * <p>
377    * Width to indent properties.
378    *
379    * @param value
380    *    The new value for this property.
381    * @return This object (for method chaining).
382    */
383   public RdfSerializerBuilder n3_indentProperty(int value) {
384      return set(RDF_n3_indentProperty, value);
385   }
386
387   /**
388    * Configuration property:  N3/Turtle property: <c>widePropertyLen</c>.
389    *
390    * <p>
391    * Width of the property column.
392    * Must be longer than <c>propertyColumn</c>.
393    *
394    * @param value
395    *    The new value for this property.
396    * @return This object (for method chaining).
397    */
398   public RdfSerializerBuilder n3_widePropertyLen(int value) {
399      return set(RDF_n3_widePropertyLen, value);
400   }
401
402   /**
403    * Configuration property:  N3/Turtle property: <c>abbrevBaseURI</c>.
404    *
405    * <p>
406    * Control whether to use abbreviations <c>&lt;&gt;</c> or <c>&lt;#&gt;</c>.
407    *
408    * @param value
409    *    The new value for this property.
410    * @return This object (for method chaining).
411    */
412   public RdfSerializerBuilder n3_abbrevBaseUri(boolean value) {
413      return set(RDF_n3_abbrevBaseUri, value);
414   }
415
416   /**
417    * Configuration property:  N3/Turtle property: <c>usePropertySymbols</c>.
418    *
419    * <p>
420    * Control whether to use <c>a</c>, <c>=</c> and <c>=&gt;</c> in output
421    *
422    * @param value
423    *    The new value for this property.
424    * @return This object (for method chaining).
425    */
426   public RdfSerializerBuilder n3_usePropertySymbols(boolean value) {
427      return set(RDF_n3_usePropertySymbols, value);
428   }
429
430   /**
431    * Configuration property:  N3/Turtle property: <c>useTripleQuotedStrings</c>.
432    *
433    * <p>
434    * Allow the use of <c>"""</c> to delimit long strings.
435    *
436    * @param value
437    *    The new value for this property.
438    * @return This object (for method chaining).
439    */
440   public RdfSerializerBuilder n3_useTripleQuotedStrings(boolean value) {
441      return set(RDF_n3_useTripleQuotedStrings, value);
442   }
443
444   /**
445    * Configuration property:  N3/Turtle property: <c>useDoubles</c>.
446    *
447    * <p>
448    * Allow the use doubles as <c>123.456</c>.
449    *
450    * @param value
451    *    The new value for this property.
452    * @return This object (for method chaining).
453    */
454   public RdfSerializerBuilder n3_useDoubles(boolean value) {
455      return set(RDF_n3_useDoubles, value);
456   }
457
458   /**
459    * Configuration property:  RDF format for representing collections and arrays.
460    *
461    * <p>
462    * Possible values:
463    * <ul class='spaced-list'>
464    *    <li>
465    *       <js>"DEFAULT"</js> - Default format.  The default is an RDF Sequence container.
466    *    <li>
467    *       <js>"SEQ"</js> - RDF Sequence container.
468    *    <li>
469    *       <js>"BAG"</js> - RDF Bag container.
470    *    <li>
471    *       <js>"LIST"</js> - RDF List container.
472    *    <li>
473    *       <js>"MULTI_VALUED"</js> - Multi-valued properties.
474    * </ul>
475    *
476    * <ul class='notes'>
477    *    <li>
478    *       If you use <js>"BAG"</js> or <js>"MULTI_VALUED"</js>, the order of the elements in the collection will get
479    *       lost.
480    * </ul>
481    *
482    * @param value
483    *    The new value for this property.
484    * @return This object (for method chaining).
485    */
486   public RdfSerializerBuilder collectionFormat(String value) {
487      return set(RDF_collectionFormat, value);
488   }
489
490   /**
491    * Configuration property:  Default namespaces.
492    *
493    * <p>
494    * The default list of namespaces associated with this serializer.
495    *
496    * @param value
497    *    The new value for this property.
498    * @return This object (for method chaining).
499    */
500   public RdfSerializerBuilder namespaces(String[] value) {
501      return set(RDF_namespaces, value);
502   }
503
504   /**
505    * Configuration property:  Add XSI data types to non-<c>String</c> literals.
506    *
507    * <ul class='seealso'>
508    *    <li class='jf'>{@link RdfSerializer#RDF_addLiteralTypes}
509    * </ul>
510    *
511    * @param value
512    *    The new value for this property.
513    *    <br>The default is <jk>false</jk>.
514    * @return This object (for method chaining).
515    */
516   public RdfSerializerBuilder addLiteralTypes(boolean value) {
517      return set(RDF_addLiteralTypes, value);
518   }
519
520   /**
521    * Configuration property:  Add XSI data types to non-<c>String</c> literals.
522    *
523    * <p>
524    * Shortcut for calling <code>addLiteralTypes(<jk>true</jk>)</code>.
525    *
526    * @return This object (for method chaining).
527    */
528   public RdfSerializerBuilder addLiteralTypes() {
529      return set(RDF_addLiteralTypes, true);
530   }
531
532   /**
533    * Configuration property:  Add RDF root identifier property to root node.
534    *
535    * <p>
536    * When enabled an RDF property <c>http://www.apache.org/juneau/root</c> is added with a value of <js>"true"</js>
537    * to identify the root node in the graph.
538    * This helps locate the root node during parsing.
539    *
540    * <p>
541    * If disabled, the parser has to search through the model to find any resources without incoming predicates to
542    * identify root notes, which can introduce a considerable performance degradation.
543    *
544    * <ul class='seealso'>
545    *    <li class='jf'>{@link RdfSerializer#RDF_addRootProperty}
546    * </ul>
547    *
548    * @param value
549    *    The new value for this property.
550    *    <br>The default is <jk>false</jk>.
551    * @return This object (for method chaining).
552    */
553   public RdfSerializerBuilder addRootProperty(boolean value) {
554      return set(RDF_addRootProperty, value);
555   }
556
557   /**
558    * Configuration property:  Add RDF root identifier property to root node.
559    *
560    * <p>
561    * Shortcut for calling <code>addRootProperty(<jk>true</jk>)</code>.
562    *
563    * <ul class='seealso'>
564    *    <li class='jf'>{@link RdfSerializer#RDF_addRootProperty}
565    * </ul>
566    *
567    * @return This object (for method chaining).
568    */
569   public RdfSerializerBuilder addRootProperty() {
570      return set(RDF_addRootProperty, true);
571   }
572
573   /**
574    * Configuration property:  Auto-detect namespace usage.
575    *
576    * <p>
577    * Detect namespace usage before serialization.
578    *
579    * <ul class='seealso'>
580    *    <li class='jf'>{@link RdfSerializer#RDF_autoDetectNamespaces}
581    * </ul>
582    *
583    * @param value
584    *    The new value for this property.
585    *    <br>The default is <jk>true</jk>.
586    * @return This object (for method chaining).
587    */
588   public RdfSerializerBuilder autoDetectNamespaces(boolean value) {
589      return set(RDF_autoDetectNamespaces, value);
590   }
591
592   /**
593    * Configuration property:  RDF format for representing collections and arrays.
594    *
595    * <p>
596    *
597    * <ul class='notes'>
598    *    <li>
599    *       If you use <js>"BAG"</js> or <js>"MULTI_VALUED"</js>, the order of the elements in the collection will get
600    *       lost.
601    * </ul>
602    *
603    * <ul class='seealso'>
604    *    <li class='jf'>{@link RdfSerializer#RDF_collectionFormat}
605    * </ul>
606    *
607    * @param value
608    *    The new value for this property.
609    *    <br>Possible values:
610    *    <ul>
611    *       <li><js>"DEFAULT"</js> - Default format.  The default is an RDF Sequence container.
612    *       <li><js>"SEQ"</js> - RDF Sequence container.
613    *       <li><js>"BAG"</js> - RDF Bag container.
614    *       <li><js>"LIST"</js> - RDF List container.
615    *       <li><js>"MULTI_VALUED"</js> - Multi-valued properties.
616    *    </ul>
617    * @return This object (for method chaining).
618    */
619   public RdfSerializerBuilder collectionFormat(RdfCollectionFormat value) {
620      return set(RDF_collectionFormat, value);
621   }
622
623   /**
624    * Configuration property:  Default XML namespace for bean properties.
625    *
626    * <ul class='seealso'>
627    *    <li class='jf'>{@link RdfSerializer#RDF_juneauBpNs}
628    * </ul>
629    *
630    * @param value
631    *    The new value for this property.
632    *    <br>The default is <code>{j:<js>'http://www.apache.org/juneaubp/'</js>}</code>.
633    * @return This object (for method chaining).
634    */
635   public RdfSerializerBuilder juneauBpNs(Namespace value) {
636      return set(RDF_juneauBpNs, value);
637   }
638
639   /**
640    * Configuration property:  XML namespace for Juneau properties.
641    *
642    * <ul class='seealso'>
643    *    <li class='jf'>{@link RdfSerializer#RDF_juneauNs}
644    * </ul>
645    *
646    * @param value
647    *    The new value for this property.
648    *    <br>The default is <code>{j:<js>'http://www.apache.org/juneau/'</js>}</code>.
649    * @return This object (for method chaining).
650    */
651   public RdfSerializerBuilder juneauNs(Namespace value) {
652      return set(RDF_juneauNs, value);
653   }
654
655   /**
656    * Configuration property:  RDF language.
657    *
658    * <p>
659    * Can be any of the following:
660    * <ul class='spaced-list'>
661    *    <li>
662    *       <js>"RDF/XML"</js>
663    *    <li>
664    *       <js>"RDF/XML-ABBREV"</js> (default)
665    *    <li>
666    *       <js>"N-TRIPLE"</js>
667    *    <li>
668    *       <js>"N3"</js> - General name for the N3 writer.
669    *       Will make a decision on exactly which writer to use (pretty writer, plain writer or simple writer) when
670    *       created.
671    *       Default is the pretty writer but can be overridden with system property
672    *       <c>org.apache.jena.n3.N3JenaWriter.writer</c>.
673    *    <li>
674    *       <js>"N3-PP"</js> - Name of the N3 pretty writer.
675    *       The pretty writer uses a frame-like layout, with prefixing, clustering like properties and embedding
676    *       one-referenced bNodes.
677    *    <li>
678    *       <js>"N3-PLAIN"</js> - Name of the N3 plain writer.
679    *       The plain writer writes records by subject.
680    *    <li>
681    *       <js>"N3-TRIPLES"</js> - Name of the N3 triples writer.
682    *       This writer writes one line per statement, like N-Triples, but does N3-style prefixing.
683    *    <li>
684    *       <js>"TURTLE"</js> -  Turtle writer.
685    *       http://www.dajobe.org/2004/01/turtle/
686    * </ul>
687    *
688    * <ul class='seealso'>
689    *    <li class='jf'>{@link RdfSerializer#RDF_language}
690    * </ul>
691    *
692    * @param value
693    *    The new value for this property.
694    * @return This object (for method chaining).
695    */
696   public RdfSerializerBuilder language(String value) {
697      return set(RDF_language, value);
698   }
699
700   /**
701    * Configuration property:  Collections should be serialized and parsed as loose collections.
702    *
703    * <p>
704    * When specified, collections of resources are handled as loose collections of resources in RDF instead of
705    * resources that are children of an RDF collection (e.g. Sequence, Bag).
706    *
707    * <ul class='seealso'>
708    *    <li class='jf'>{@link RdfSerializer#RDF_looseCollections}
709    * </ul>
710    *
711    * @param value
712    *    The new value for this property.
713    *    <br>The default is <jk>false</jk>.
714    * @return This object (for method chaining).
715    */
716   public RdfSerializerBuilder looseCollections(boolean value) {
717      return set(RDF_looseCollections, value);
718   }
719
720   /**
721    * Configuration property:  Collections should be serialized and parsed as loose collections.
722    *
723    * <p>
724    * Shortcut for <code>looseCollections(<jk>true</jk>)</code>.
725    *
726    * <ul class='seealso'>
727    *    <li class='jf'>{@link RdfSerializer#RDF_looseCollections}
728    * </ul>
729    *
730    * @return This object (for method chaining).
731    */
732   public RdfSerializerBuilder looseCollections() {
733      return set(RDF_looseCollections, true);
734   }
735
736   /**
737    * Configuration property:  RDF language.
738    *
739    * <p>
740    * Shortcut for calling <code>language(<jsf>LANG_N3</jsf>)</code>
741    *
742    * <ul class='seealso'>
743    *    <li class='jf'>{@link RdfSerializer#RDF_language}
744    * </ul>
745    *
746    * @return This object (for method chaining).
747    */
748   public RdfSerializerBuilder n3() {
749      return language(Constants.LANG_N3);
750   }
751
752   /**
753    * Configuration property:  Default namespaces.
754    *
755    * <p>
756    * The default list of namespaces associated with this serializer.
757    *
758    * <ul class='seealso'>
759    *    <li class='jf'>{@link RdfSerializer#RDF_namespaces}
760    * </ul>
761    *
762    * @param values The new value for this property.
763    * @return This object (for method chaining).
764    */
765   public RdfSerializerBuilder namespaces(Namespace...values) {
766      return set(RDF_namespaces, values);
767   }
768
769   /**
770    * Configuration property:  RDF language.
771    *
772    * <p>
773    * Shortcut for calling <code>language(<jsf>LANG_NTRIPLE</jsf>)</code>
774    *
775    * <ul class='seealso'>
776    *    <li class='jf'>{@link RdfSerializer#RDF_language}
777    * </ul>
778    *
779    * @return This object (for method chaining).
780    */
781   public RdfSerializerBuilder ntriple() {
782      return language(Constants.LANG_NTRIPLE);
783   }
784
785   /**
786    * Configuration property:  RDF language.
787    *
788    * <p>
789    * Shortcut for calling <code>language(<jsf>LANG_TURTLE</jsf>)</code>
790    *
791    * <ul class='seealso'>
792    *    <li class='jf'>{@link RdfSerializer#RDF_language}
793    * </ul>
794    *
795    * @return This object (for method chaining).
796    */
797   public RdfSerializerBuilder turtle() {
798      return language(Constants.LANG_TURTLE);
799   }
800
801   /**
802    * Configuration property:  Reuse XML namespaces when RDF namespaces not specified.
803    *
804    * <p>
805    * When specified, namespaces defined using {@link XmlNs @XmlNs} and {@link org.apache.juneau.xml.annotation.Xml Xml} will be
806    * inherited by the RDF serializers.
807    * Otherwise, namespaces will be defined using {@link RdfNs @RdfNs} and {@link Rdf @Rdf}.
808    *
809    * <ul class='seealso'>
810    *    <li class='jf'>{@link RdfSerializer#RDF_useXmlNamespaces}
811    * </ul>
812    *
813    * @param value
814    *    The new value for this property.
815    *    <br>The default is <jk>true</jk>.
816    * @return This object (for method chaining).
817    */
818   public RdfSerializerBuilder useXmlNamespaces(boolean value) {
819      return set(RDF_useXmlNamespaces, value);
820   }
821
822   /**
823    * Configuration property:  RDF language.
824    *
825    * <p>
826    * Shortcut for calling <code>language(<jsf>LANG_RDF_XML</jsf>)</code>
827    *
828    * <ul class='seealso'>
829    *    <li class='jf'>{@link RdfSerializer#RDF_language}
830    * </ul>
831    *
832    * @return This object (for method chaining).
833    */
834   public RdfSerializerBuilder xml() {
835      return language(Constants.LANG_RDF_XML);
836   }
837
838   /**
839    * Configuration property:  RDF language.
840    *
841    * <p>
842    * Shortcut for calling <code>language(<jsf>LANG_RDF_XML_ABBREV</jsf>)</code>
843    *
844    * <ul class='seealso'>
845    *    <li class='jf'>{@link RdfSerializer#RDF_language}
846    * </ul>
847    *
848    * @return This object (for method chaining).
849    */
850   public RdfSerializerBuilder xmlabbrev() {
851      return language(Constants.LANG_RDF_XML_ABBREV);
852   }
853
854   @Override /* WriterSerializerBuilder */
855   public RdfSerializerBuilder fileCharset(Charset value) {
856      super.fileCharset(value);
857      return this;
858   }
859
860   @Override /* WriterSerializerBuilder */
861   public RdfSerializerBuilder maxIndent(int value) {
862      super.maxIndent(value);
863      return this;
864   }
865
866   @Override /* WriterSerializerBuilder */
867   public RdfSerializerBuilder quoteChar(char value) {
868      super.quoteChar(value);
869      return this;
870   }
871
872   @Override /* WriterSerializerBuilder */
873   public RdfSerializerBuilder sq() {
874      super.sq();
875      return this;
876   }
877
878   @Override /* WriterSerializerBuilder */
879   public RdfSerializerBuilder streamCharset(Charset value) {
880      super.streamCharset(value);
881      return this;
882   }
883
884   @Override /* WriterSerializerBuilder */
885   public RdfSerializerBuilder useWhitespace(boolean value) {
886      super.useWhitespace(value);
887      return this;
888   }
889
890   @Override /* WriterSerializerBuilder */
891   public RdfSerializerBuilder useWhitespace() {
892      super.useWhitespace();
893      return this;
894   }
895
896   @Override /* WriterSerializerBuilder */
897   public RdfSerializerBuilder ws() {
898      super.ws();
899      return this;
900   }
901
902   @Override /* SerializerBuilder */
903   public RdfSerializerBuilder addBeanTypes(boolean value) {
904      super.addBeanTypes(value);
905      return this;
906   }
907
908   @Override /* SerializerBuilder */
909   public RdfSerializerBuilder addBeanTypes() {
910      super.addBeanTypes();
911      return this;
912   }
913
914   @Override /* SerializerBuilder */
915   public RdfSerializerBuilder addRootType(boolean value) {
916      super.addRootType(value);
917      return this;
918   }
919
920   @Override /* SerializerBuilder */
921   public RdfSerializerBuilder addRootType() {
922      super.addRootType();
923      return this;
924   }
925
926   @Override /* SerializerBuilder */
927   public RdfSerializerBuilder detectRecursions(boolean value) {
928      super.detectRecursions(value);
929      return this;
930   }
931
932   @Override /* SerializerBuilder */
933   public RdfSerializerBuilder detectRecursions() {
934      super.detectRecursions();
935      return this;
936   }
937
938   @Override /* SerializerBuilder */
939   public RdfSerializerBuilder ignoreRecursions(boolean value) {
940      super.ignoreRecursions(value);
941      return this;
942   }
943
944   @Override /* SerializerBuilder */
945   public RdfSerializerBuilder ignoreRecursions() {
946      super.ignoreRecursions();
947      return this;
948   }
949   @Override /* SerializerBuilder */
950   public RdfSerializerBuilder initialDepth(int value) {
951      super.initialDepth(value);
952      return this;
953   }
954
955   @Override /* SerializerBuilder */
956   public RdfSerializerBuilder listener(Class<? extends SerializerListener> value) {
957      super.listener(value);
958      return this;
959   }
960
961   @Override /* SerializerBuilder */
962   public RdfSerializerBuilder maxDepth(int value) {
963      super.maxDepth(value);
964      return this;
965   }
966
967   @Override /* SerializerBuilder */
968   public RdfSerializerBuilder sortCollections(boolean value) {
969      super.sortCollections(value);
970      return this;
971   }
972
973   @Override /* SerializerBuilder */
974   public RdfSerializerBuilder sortCollections() {
975      super.sortCollections();
976      return this;
977   }
978
979   @Override /* SerializerBuilder */
980   public RdfSerializerBuilder sortMaps(boolean value) {
981      super.sortMaps(value);
982      return this;
983   }
984
985   @Override /* SerializerBuilder */
986   public RdfSerializerBuilder sortMaps() {
987      super.sortMaps();
988      return this;
989   }
990
991   @Override /* SerializerBuilder */
992   public RdfSerializerBuilder trimEmptyCollections(boolean value) {
993      super.trimEmptyCollections(value);
994      return this;
995   }
996
997   @Override /* SerializerBuilder */
998   public RdfSerializerBuilder trimEmptyCollections() {
999      super.trimEmptyCollections();
1000      return this;
1001   }
1002
1003   @Override /* SerializerBuilder */
1004   public RdfSerializerBuilder trimEmptyMaps(boolean value) {
1005      super.trimEmptyMaps(value);
1006      return this;
1007   }
1008
1009   @Override /* SerializerBuilder */
1010   public RdfSerializerBuilder trimEmptyMaps() {
1011      super.trimEmptyMaps();
1012      return this;
1013   }
1014
1015   @Override /* SerializerBuilder */
1016   public RdfSerializerBuilder trimNullProperties(boolean value) {
1017      super.trimNullProperties(value);
1018      return this;
1019   }
1020
1021   @Override /* SerializerBuilder */
1022   public RdfSerializerBuilder trimStrings(boolean value) {
1023      super.trimStrings(value);
1024      return this;
1025   }
1026
1027   @Override /* SerializerBuilder */
1028   public RdfSerializerBuilder trimStrings() {
1029      super.trimStrings();
1030      return this;
1031   }
1032
1033   @Override /* SerializerBuilder */
1034   public RdfSerializerBuilder uriContext(UriContext value) {
1035      super.uriContext(value);
1036      return this;
1037   }
1038
1039   @Override /* SerializerBuilder */
1040   public RdfSerializerBuilder uriRelativity(UriRelativity value) {
1041      super.uriRelativity(value);
1042      return this;
1043   }
1044
1045   @Override /* SerializerBuilder */
1046   public RdfSerializerBuilder uriResolution(UriResolution value) {
1047      super.uriResolution(value);
1048      return this;
1049   }
1050
1051   @Override /* BeanContextBuilder */
1052   public RdfSerializerBuilder beanClassVisibility(Visibility value) {
1053      super.beanClassVisibility(value);
1054      return this;
1055   }
1056
1057   @Override /* BeanContextBuilder */
1058   public RdfSerializerBuilder beanConstructorVisibility(Visibility value) {
1059      super.beanConstructorVisibility(value);
1060      return this;
1061   }
1062
1063   @Override /* BeanContextBuilder */
1064   @Deprecated
1065   public RdfSerializerBuilder beanDictionary(Class<?>...values) {
1066      super.beanDictionary(values);
1067      return this;
1068   }
1069
1070   @Override /* BeanContextBuilder */
1071   @Deprecated
1072   public RdfSerializerBuilder beanDictionary(Object...values) {
1073      super.beanDictionary(values);
1074      return this;
1075   }
1076
1077   @Override /* BeanContextBuilder */
1078   @Deprecated
1079   public RdfSerializerBuilder beanDictionaryReplace(Class<?>...values) {
1080      super.beanDictionaryReplace(values);
1081      return this;
1082   }
1083
1084   @Override /* BeanContextBuilder */
1085   @Deprecated
1086   public RdfSerializerBuilder beanDictionaryReplace(Object...values) {
1087      super.beanDictionaryReplace(values);
1088      return this;
1089   }
1090
1091   @Override /* BeanContextBuilder */
1092   @Deprecated
1093   public RdfSerializerBuilder beanDictionaryRemove(Class<?>...values) {
1094      super.beanDictionaryRemove(values);
1095      return this;
1096   }
1097
1098   @Override /* BeanContextBuilder */
1099   @Deprecated
1100   public RdfSerializerBuilder beanDictionaryRemove(Object...values) {
1101      super.beanDictionaryRemove(values);
1102      return this;
1103   }
1104
1105   @Override /* BeanContextBuilder */
1106   public RdfSerializerBuilder beanFieldVisibility(Visibility value) {
1107      super.beanFieldVisibility(value);
1108      return this;
1109   }
1110
1111   @Override /* BeanContextBuilder */
1112   public RdfSerializerBuilder beanFilters(Class<?>...values) {
1113      super.beanFilters(values);
1114      return this;
1115   }
1116
1117   @Override /* BeanContextBuilder */
1118   public RdfSerializerBuilder beanFilters(Object...values) {
1119      super.beanFilters(values);
1120      return this;
1121   }
1122
1123   @Override /* BeanContextBuilder */
1124   public RdfSerializerBuilder beanFiltersReplace(Class<?>...values) {
1125      super.beanFiltersReplace(values);
1126      return this;
1127   }
1128
1129   @Override /* BeanContextBuilder */
1130   public RdfSerializerBuilder beanFiltersReplace(Object...values) {
1131      super.beanFiltersReplace(values);
1132      return this;
1133   }
1134
1135   @Override /* BeanContextBuilder */
1136   public RdfSerializerBuilder beanFiltersRemove(Class<?>...values) {
1137      super.beanFiltersRemove(values);
1138      return this;
1139   }
1140
1141   @Override /* BeanContextBuilder */
1142   public RdfSerializerBuilder beanFiltersRemove(Object...values) {
1143      super.beanFiltersRemove(values);
1144      return this;
1145   }
1146
1147   @Override /* BeanContextBuilder */
1148   public RdfSerializerBuilder beanMapPutReturnsOldValue(boolean value) {
1149      super.beanMapPutReturnsOldValue(value);
1150      return this;
1151   }
1152
1153   @Override /* BeanContextBuilder */
1154   public RdfSerializerBuilder beanMapPutReturnsOldValue() {
1155      super.beanMapPutReturnsOldValue();
1156      return this;
1157   }
1158
1159   @Override /* BeanContextBuilder */
1160   public RdfSerializerBuilder beanMethodVisibility(Visibility value) {
1161      super.beanMethodVisibility(value);
1162      return this;
1163   }
1164
1165   @Override /* BeanContextBuilder */
1166   public RdfSerializerBuilder beansRequireDefaultConstructor(boolean value) {
1167      super.beansRequireDefaultConstructor(value);
1168      return this;
1169   }
1170
1171   @Override /* BeanContextBuilder */
1172   public RdfSerializerBuilder beansRequireDefaultConstructor() {
1173      super.beansRequireDefaultConstructor();
1174      return this;
1175   }
1176
1177   @Override /* BeanContextBuilder */
1178   public RdfSerializerBuilder beansRequireSerializable(boolean value) {
1179      super.beansRequireSerializable(value);
1180      return this;
1181   }
1182
1183   @Override /* BeanContextBuilder */
1184   public RdfSerializerBuilder beansRequireSerializable() {
1185      super.beansRequireSerializable();
1186      return this;
1187   }
1188
1189   @Override /* BeanContextBuilder */
1190   public RdfSerializerBuilder beansRequireSettersForGetters(boolean value) {
1191      super.beansRequireSettersForGetters(value);
1192      return this;
1193   }
1194
1195   @Override /* BeanContextBuilder */
1196   public RdfSerializerBuilder beansRequireSettersForGetters() {
1197      super.beansRequireSettersForGetters();
1198      return this;
1199   }
1200
1201   @Override /* BeanContextBuilder */
1202   public RdfSerializerBuilder beansRequireSomeProperties(boolean value) {
1203      super.beansRequireSomeProperties(value);
1204      return this;
1205   }
1206
1207   @Override /* BeanContextBuilder */
1208   public RdfSerializerBuilder beanTypePropertyName(String value) {
1209      super.beanTypePropertyName(value);
1210      return this;
1211   }
1212
1213   @Override /* BeanContextBuilder */
1214   public RdfSerializerBuilder bpi(Class<?> beanClass, String value) {
1215      super.bpi(beanClass, value);
1216      return this;
1217   }
1218
1219   @Override /* BeanContextBuilder */
1220   public RdfSerializerBuilder bpi(Map<String,String> values) {
1221      super.bpi(values);
1222      return this;
1223   }
1224
1225   @Override /* BeanContextBuilder */
1226   public RdfSerializerBuilder bpi(String beanClassName, String value) {
1227      super.bpi(beanClassName, value);
1228      return this;
1229   }
1230
1231   @Override /* BeanContextBuilder */
1232   public RdfSerializerBuilder bpx(Class<?> beanClass, String properties) {
1233      super.bpx(beanClass, properties);
1234      return this;
1235   }
1236
1237   @Override /* BeanContextBuilder */
1238   public RdfSerializerBuilder bpx(Map<String,String> values) {
1239      super.bpx(values);
1240      return this;
1241   }
1242
1243   @Override /* BeanContextBuilder */
1244   public RdfSerializerBuilder bpx(String beanClassName, String value) {
1245      super.bpx(beanClassName, value);
1246      return this;
1247   }
1248
1249   @Override /* BeanContextBuilder */
1250   public RdfSerializerBuilder bpro(Class<?> beanClass, String value) {
1251      super.bpro(beanClass, value);
1252      return this;
1253   }
1254
1255   @Override /* BeanContextBuilder */
1256   public RdfSerializerBuilder bpro(Map<String,String> values) {
1257      super.bpro(values);
1258      return this;
1259   }
1260
1261   @Override /* BeanContextBuilder */
1262   public RdfSerializerBuilder bpro(String beanClassName, String value) {
1263      super.bpro(beanClassName, value);
1264      return this;
1265   }
1266
1267   @Override /* BeanContextBuilder */
1268   public RdfSerializerBuilder bpwo(Class<?> beanClass, String properties) {
1269      super.bpwo(beanClass, properties);
1270      return this;
1271   }
1272
1273   @Override /* BeanContextBuilder */
1274   public RdfSerializerBuilder bpwo(Map<String,String> values) {
1275      super.bpwo(values);
1276      return this;
1277   }
1278
1279   @Override /* BeanContextBuilder */
1280   public RdfSerializerBuilder bpwo(String beanClassName, String value) {
1281      super.bpwo(beanClassName, value);
1282      return this;
1283   }
1284
1285   @Override /* BeanContextBuilder */
1286   public RdfSerializerBuilder debug() {
1287      super.debug();
1288      return this;
1289   }
1290
1291   @Override /* BeanContextBuilder */
1292   public RdfSerializerBuilder dictionary(Class<?>...values) {
1293      super.dictionary(values);
1294      return this;
1295   }
1296
1297   @Override /* BeanContextBuilder */
1298   public RdfSerializerBuilder dictionary(Object...values) {
1299      super.dictionary(values);
1300      return this;
1301   }
1302
1303   @Override /* BeanContextBuilder */
1304   public RdfSerializerBuilder dictionaryReplace(Class<?>...values) {
1305      super.dictionaryReplace(values);
1306      return this;
1307   }
1308
1309   @Override /* BeanContextBuilder */
1310   public RdfSerializerBuilder dictionaryReplace(Object...values) {
1311      super.dictionaryReplace(values);
1312      return this;
1313   }
1314
1315   @Override /* BeanContextBuilder */
1316   public RdfSerializerBuilder dictionaryRemove(Class<?>...values) {
1317      super.dictionaryRemove(values);
1318      return this;
1319   }
1320
1321   @Override /* BeanContextBuilder */
1322   public RdfSerializerBuilder dictionaryRemove(Object...values) {
1323      super.dictionaryRemove(values);
1324      return this;
1325   }
1326
1327   @Override /* BeanContextBuilder */
1328   public <T> RdfSerializerBuilder example(Class<T> c, T o) {
1329      super.example(c, o);
1330      return this;
1331   }
1332
1333   @Override /* BeanContextBuilder */
1334   public <T> RdfSerializerBuilder exampleJson(Class<T> c, String value) {
1335      super.exampleJson(c, value);
1336      return this;
1337   }
1338
1339   @Override /* BeanContextBuilder */
1340   public RdfSerializerBuilder ignoreInvocationExceptionsOnGetters(boolean value) {
1341      super.ignoreInvocationExceptionsOnGetters(value);
1342      return this;
1343   }
1344
1345   @Override /* BeanContextBuilder */
1346   public RdfSerializerBuilder ignoreInvocationExceptionsOnGetters() {
1347      super.ignoreInvocationExceptionsOnGetters();
1348      return this;
1349   }
1350
1351   @Override /* BeanContextBuilder */
1352   public RdfSerializerBuilder ignoreInvocationExceptionsOnSetters(boolean value) {
1353      super.ignoreInvocationExceptionsOnSetters(value);
1354      return this;
1355   }
1356
1357   @Override /* BeanContextBuilder */
1358   public RdfSerializerBuilder ignoreInvocationExceptionsOnSetters() {
1359      super.ignoreInvocationExceptionsOnSetters();
1360      return this;
1361   }
1362
1363   @Override /* BeanContextBuilder */
1364   public RdfSerializerBuilder ignorePropertiesWithoutSetters(boolean value) {
1365      super.ignorePropertiesWithoutSetters(value);
1366      return this;
1367   }
1368
1369   @Override /* BeanContextBuilder */
1370   public RdfSerializerBuilder ignoreUnknownBeanProperties(boolean value) {
1371      super.ignoreUnknownBeanProperties(value);
1372      return this;
1373   }
1374
1375   @Override /* BeanContextBuilder */
1376   public RdfSerializerBuilder ignoreUnknownBeanProperties() {
1377      super.ignoreUnknownBeanProperties();
1378      return this;
1379   }
1380
1381   @Override /* BeanContextBuilder */
1382   public RdfSerializerBuilder ignoreUnknownNullBeanProperties(boolean value) {
1383      super.ignoreUnknownNullBeanProperties(value);
1384      return this;
1385   }
1386
1387   @Override /* BeanContextBuilder */
1388   public RdfSerializerBuilder implClass(Class<?> interfaceClass, Class<?> implClass) {
1389      super.implClass(interfaceClass, implClass);
1390      return this;
1391   }
1392
1393   @Override /* BeanContextBuilder */
1394   public RdfSerializerBuilder implClasses(Map<String,Class<?>> values) {
1395      super.implClasses(values);
1396      return this;
1397   }
1398
1399   @Override /* BeanContextBuilder */
1400   public RdfSerializerBuilder locale(Locale value) {
1401      super.locale(value);
1402      return this;
1403   }
1404
1405   @Override /* BeanContextBuilder */
1406   public RdfSerializerBuilder mediaType(MediaType value) {
1407      super.mediaType(value);
1408      return this;
1409   }
1410
1411   @Override /* BeanContextBuilder */
1412   public RdfSerializerBuilder notBeanClasses(Class<?>...values) {
1413      super.notBeanClasses(values);
1414      return this;
1415   }
1416
1417   @Override /* BeanContextBuilder */
1418   public RdfSerializerBuilder notBeanClasses(Object...values) {
1419      super.notBeanClasses(values);
1420      return this;
1421   }
1422
1423   @Override /* BeanContextBuilder */
1424   public RdfSerializerBuilder notBeanClassesReplace(Class<?>...values) {
1425      super.notBeanClassesReplace(values);
1426      return this;
1427   }
1428
1429   @Override /* BeanContextBuilder */
1430   public RdfSerializerBuilder notBeanClassesReplace(Object...values) {
1431      super.notBeanClassesReplace(values);
1432      return this;
1433   }
1434
1435   @Override /* BeanContextBuilder */
1436   public RdfSerializerBuilder notBeanClassesRemove(Class<?>...values) {
1437      super.notBeanClassesRemove(values);
1438      return this;
1439   }
1440
1441   @Override /* BeanContextBuilder */
1442   public RdfSerializerBuilder notBeanClassesRemove(Object...values) {
1443      super.notBeanClassesRemove(values);
1444      return this;
1445   }
1446
1447   @Override /* BeanContextBuilder */
1448   public RdfSerializerBuilder notBeanPackages(Object...values) {
1449      super.notBeanPackages(values);
1450      return this;
1451   }
1452
1453   @Override /* BeanContextBuilder */
1454   public RdfSerializerBuilder notBeanPackages(String...values) {
1455      super.notBeanPackages(values);
1456      return this;
1457   }
1458
1459   @Override /* BeanContextBuilder */
1460   public RdfSerializerBuilder notBeanPackagesReplace(String...values) {
1461      super.notBeanPackagesReplace(values);
1462      return this;
1463   }
1464
1465   @Override /* BeanContextBuilder */
1466   public RdfSerializerBuilder notBeanPackagesReplace(Object...values) {
1467      super.notBeanPackagesReplace(values);
1468      return this;
1469   }
1470
1471   @Override /* BeanContextBuilder */
1472   public RdfSerializerBuilder notBeanPackagesRemove(String...values) {
1473      super.notBeanPackagesRemove(values);
1474      return this;
1475   }
1476
1477   @Override /* BeanContextBuilder */
1478   public RdfSerializerBuilder notBeanPackagesRemove(Object...values) {
1479      super.notBeanPackagesRemove(values);
1480      return this;
1481   }
1482
1483   @Override /* BeanContextBuilder */
1484   public RdfSerializerBuilder pojoSwaps(Class<?>...values) {
1485      super.pojoSwaps(values);
1486      return this;
1487   }
1488
1489   @Override /* BeanContextBuilder */
1490   public RdfSerializerBuilder pojoSwaps(Object...values) {
1491      super.pojoSwaps(values);
1492      return this;
1493   }
1494
1495   @Override /* BeanContextBuilder */
1496   public RdfSerializerBuilder pojoSwapsReplace(Class<?>...values) {
1497      super.pojoSwapsReplace(values);
1498      return this;
1499   }
1500
1501   @Override /* BeanContextBuilder */
1502   public RdfSerializerBuilder pojoSwapsReplace(Object...values) {
1503      super.pojoSwapsReplace(values);
1504      return this;
1505   }
1506
1507   @Override /* BeanContextBuilder */
1508   public RdfSerializerBuilder pojoSwapsRemove(Class<?>...values) {
1509      super.pojoSwapsRemove(values);
1510      return this;
1511   }
1512
1513   @Override /* BeanContextBuilder */
1514   public RdfSerializerBuilder pojoSwapsRemove(Object...values) {
1515      super.pojoSwapsRemove(values);
1516      return this;
1517   }
1518
1519   @Override /* BeanContextBuilder */
1520   public RdfSerializerBuilder sortProperties(boolean value) {
1521      super.sortProperties(value);
1522      return this;
1523   }
1524
1525   @Override /* BeanContextBuilder */
1526   public RdfSerializerBuilder sortProperties() {
1527      super.sortProperties();
1528      return this;
1529   }
1530
1531   @Override /* BeanContextBuilder */
1532   public RdfSerializerBuilder timeZone(TimeZone value) {
1533      super.timeZone(value);
1534      return this;
1535   }
1536
1537   @Override /* BeanContextBuilder */
1538   public RdfSerializerBuilder useEnumNames(boolean value) {
1539      super.useEnumNames(value);
1540      return this;
1541   }
1542
1543   @Override /* BeanContextBuilder */
1544   public RdfSerializerBuilder useEnumNames() {
1545      super.useEnumNames();
1546      return this;
1547   }
1548
1549   @Override /* BeanContextBuilder */
1550   public RdfSerializerBuilder useInterfaceProxies(boolean value) {
1551      super.useInterfaceProxies(value);
1552      return this;
1553   }
1554
1555   @Override /* BeanContextBuilder */
1556   public RdfSerializerBuilder useJavaBeanIntrospector(boolean value) {
1557      super.useJavaBeanIntrospector(value);
1558      return this;
1559   }
1560
1561   @Override /* BeanContextBuilder */
1562   public RdfSerializerBuilder useJavaBeanIntrospector() {
1563      super.useJavaBeanIntrospector();
1564      return this;
1565   }
1566
1567   @Override /* ContextBuilder */
1568   public RdfSerializerBuilder annotations(Annotation...values) {
1569      super.annotations(values);
1570      return this;
1571   }
1572
1573   @Override /* ContextBuilder */
1574   public RdfSerializerBuilder set(String name, Object value) {
1575      super.set(name, value);
1576      return this;
1577   }
1578
1579   @Override /* ContextBuilder */
1580   public RdfSerializerBuilder set(Map<String,Object> properties) {
1581      super.set(properties);
1582      return this;
1583   }
1584
1585   @Override /* ContextBuilder */
1586   public RdfSerializerBuilder add(Map<String,Object> properties) {
1587      super.add(properties);
1588      return this;
1589   }
1590
1591   @Override /* ContextBuilder */
1592   public RdfSerializerBuilder addTo(String name, Object value) {
1593      super.addTo(name, value);
1594      return this;
1595   }
1596
1597   @Override /* ContextBuilder */
1598   public RdfSerializerBuilder addTo(String name, String key, Object value) {
1599      super.addTo(name, key, value);
1600      return this;
1601   }
1602
1603   @Override /* ContextBuilder */
1604   public RdfSerializerBuilder removeFrom(String name, Object value) {
1605      super.removeFrom(name, value);
1606      return this;
1607   }
1608
1609   @Override /* ContextBuilder */
1610   public RdfSerializerBuilder apply(PropertyStore copyFrom) {
1611      super.apply(copyFrom);
1612      return this;
1613   }
1614
1615   @Override /* ContextBuilder */
1616   public RdfSerializerBuilder applyAnnotations(AnnotationList al, VarResolverSession vrs) {
1617      super.applyAnnotations(al, vrs);
1618      return this;
1619   }
1620
1621   @Override /* ContextBuilder */
1622   public RdfSerializerBuilder applyAnnotations(Class<?>...fromClasses) {
1623      super.applyAnnotations(fromClasses);
1624      return this;
1625   }
1626
1627   @Override /* ContextBuilder */
1628   public RdfSerializerBuilder applyAnnotations(Method...fromMethods) {
1629      super.applyAnnotations(fromMethods);
1630      return this;
1631   }
1632}