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