juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject [12/39] incubator-juneau-website git commit: Javadoc updates.
Date Sun, 21 May 2017 09:03:05 GMT
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/37ddf434/content/site/apidocs/src-html/org/apache/juneau/jena/RdfSerializerSession.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/jena/RdfSerializerSession.html b/content/site/apidocs/src-html/org/apache/juneau/jena/RdfSerializerSession.html
index bbd4f9c..130cef4 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/jena/RdfSerializerSession.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/jena/RdfSerializerSession.html
@@ -62,242 +62,244 @@
 <span class="sourceLineNo">054</span>    * Create a new session using properties specified in the context.<a name="line.54"></a>
 <span class="sourceLineNo">055</span>    *<a name="line.55"></a>
 <span class="sourceLineNo">056</span>    * @param ctx The context creating this session object.<a name="line.56"></a>
-<span class="sourceLineNo">057</span>    * The context contains all the configuration settings for this object.<a name="line.57"></a>
+<span class="sourceLineNo">057</span>    *    The context contains all the configuration settings for this object.<a name="line.57"></a>
 <span class="sourceLineNo">058</span>    * @param output The output object.  See {@link JsonSerializerSession#getWriter()} for valid class types.<a name="line.58"></a>
 <span class="sourceLineNo">059</span>    * @param op The override properties.<a name="line.59"></a>
-<span class="sourceLineNo">060</span>    * These override any context properties defined in the context.<a name="line.60"></a>
+<span class="sourceLineNo">060</span>    *    These override any context properties defined in the context.<a name="line.60"></a>
 <span class="sourceLineNo">061</span>    * @param javaMethod The java method that called this serializer, usually the method in a REST servlet.<a name="line.61"></a>
 <span class="sourceLineNo">062</span>    * @param locale The session locale.<a name="line.62"></a>
-<span class="sourceLineNo">063</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then the locale defined on the context is used.<a name="line.63"></a>
+<span class="sourceLineNo">063</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then the locale defined on the context is used.<a name="line.63"></a>
 <span class="sourceLineNo">064</span>    * @param timeZone The session timezone.<a name="line.64"></a>
-<span class="sourceLineNo">065</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then the timezone defined on the context is used.<a name="line.65"></a>
+<span class="sourceLineNo">065</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then the timezone defined on the context is used.<a name="line.65"></a>
 <span class="sourceLineNo">066</span>    * @param mediaType The session media type (e.g. &lt;js&gt;"application/json"&lt;/js&gt;).<a name="line.66"></a>
-<span class="sourceLineNo">067</span>    */<a name="line.67"></a>
-<span class="sourceLineNo">068</span>   protected RdfSerializerSession(RdfSerializerContext ctx, ObjectMap op, Object output, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.68"></a>
-<span class="sourceLineNo">069</span>      super(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.69"></a>
-<span class="sourceLineNo">070</span>      ObjectMap jenaSettings = new ObjectMap();<a name="line.70"></a>
-<span class="sourceLineNo">071</span>      jenaSettings.put("rdfXml.tab", isUseWhitespace() ? 2 : 0);<a name="line.71"></a>
-<span class="sourceLineNo">072</span>      jenaSettings.put("rdfXml.attributeQuoteChar", Character.toString(getQuoteChar()));<a name="line.72"></a>
-<span class="sourceLineNo">073</span>      jenaSettings.putAll(ctx.jenaSettings);<a name="line.73"></a>
-<span class="sourceLineNo">074</span>      if (op == null || op.isEmpty()) {<a name="line.74"></a>
-<span class="sourceLineNo">075</span>         this.rdfLanguage = ctx.rdfLanguage;<a name="line.75"></a>
-<span class="sourceLineNo">076</span>         this.juneauNs = ctx.juneauNs;<a name="line.76"></a>
-<span class="sourceLineNo">077</span>         this.juneauBpNs = ctx.juneauBpNs;<a name="line.77"></a>
-<span class="sourceLineNo">078</span>         this.addLiteralTypes = ctx.addLiteralTypes;<a name="line.78"></a>
-<span class="sourceLineNo">079</span>         this.addRootProperty = ctx.addRootProperty;<a name="line.79"></a>
-<span class="sourceLineNo">080</span>         this.collectionFormat = ctx.collectionFormat;<a name="line.80"></a>
-<span class="sourceLineNo">081</span>         this.looseCollections = ctx.looseCollections;<a name="line.81"></a>
-<span class="sourceLineNo">082</span>         this.useXmlNamespaces = ctx.useXmlNamespaces;<a name="line.82"></a>
-<span class="sourceLineNo">083</span>         this.autoDetectNamespaces = ctx.autoDetectNamespaces;<a name="line.83"></a>
-<span class="sourceLineNo">084</span>         this.namespaces = ctx.namespaces;<a name="line.84"></a>
-<span class="sourceLineNo">085</span>         addBeanTypeProperties = ctx.addBeanTypeProperties;<a name="line.85"></a>
-<span class="sourceLineNo">086</span>      } else {<a name="line.86"></a>
-<span class="sourceLineNo">087</span>         this.rdfLanguage = op.getString(RDF_language, ctx.rdfLanguage);<a name="line.87"></a>
-<span class="sourceLineNo">088</span>         this.juneauNs = (op.containsKey(RDF_juneauNs) ? NamespaceFactory.parseNamespace(op.get(RDF_juneauNs)) : ctx.juneauNs);<a name="line.88"></a>
-<span class="sourceLineNo">089</span>         this.juneauBpNs = (op.containsKey(RDF_juneauBpNs) ? NamespaceFactory.parseNamespace(op.get(RDF_juneauBpNs)) : ctx.juneauBpNs);<a name="line.89"></a>
-<span class="sourceLineNo">090</span>         this.addLiteralTypes = op.getBoolean(RDF_addLiteralTypes, ctx.addLiteralTypes);<a name="line.90"></a>
-<span class="sourceLineNo">091</span>         this.addRootProperty = op.getBoolean(RDF_addRootProperty, ctx.addRootProperty);<a name="line.91"></a>
-<span class="sourceLineNo">092</span>         for (Map.Entry&lt;String,Object&gt; e : op.entrySet()) {<a name="line.92"></a>
-<span class="sourceLineNo">093</span>            String key = e.getKey();<a name="line.93"></a>
-<span class="sourceLineNo">094</span>            if (key.startsWith("Rdf.jena."))<a name="line.94"></a>
-<span class="sourceLineNo">095</span>               jenaSettings.put(key.substring(9), e.getValue());<a name="line.95"></a>
-<span class="sourceLineNo">096</span>         }<a name="line.96"></a>
-<span class="sourceLineNo">097</span>         this.collectionFormat = RdfCollectionFormat.valueOf(op.getString(RDF_collectionFormat, "DEFAULT"));<a name="line.97"></a>
-<span class="sourceLineNo">098</span>         this.looseCollections = op.getBoolean(RDF_looseCollections, ctx.looseCollections);<a name="line.98"></a>
-<span class="sourceLineNo">099</span>         this.useXmlNamespaces = op.getBoolean(RDF_useXmlNamespaces, ctx.useXmlNamespaces);<a name="line.99"></a>
-<span class="sourceLineNo">100</span>         this.autoDetectNamespaces = op.getBoolean(RDF_autoDetectNamespaces, ctx.autoDetectNamespaces);<a name="line.100"></a>
-<span class="sourceLineNo">101</span>         this.namespaces = op.get(Namespace[].class, RDF_namespaces, ctx.namespaces);<a name="line.101"></a>
-<span class="sourceLineNo">102</span>         addBeanTypeProperties = op.getBoolean(RDF_addBeanTypeProperties, ctx.addBeanTypeProperties);<a name="line.102"></a>
-<span class="sourceLineNo">103</span>      }<a name="line.103"></a>
-<span class="sourceLineNo">104</span>      this.model = ModelFactory.createDefaultModel();<a name="line.104"></a>
-<span class="sourceLineNo">105</span>      addModelPrefix(juneauNs);<a name="line.105"></a>
-<span class="sourceLineNo">106</span>      addModelPrefix(juneauBpNs);<a name="line.106"></a>
-<span class="sourceLineNo">107</span>      for (Namespace ns : this.namespaces)<a name="line.107"></a>
-<span class="sourceLineNo">108</span>         addModelPrefix(ns);<a name="line.108"></a>
-<span class="sourceLineNo">109</span>      this.pRoot = model.createProperty(juneauNs.getUri(), RDF_juneauNs_ROOT);<a name="line.109"></a>
-<span class="sourceLineNo">110</span>      this.pValue = model.createProperty(juneauNs.getUri(), RDF_juneauNs_VALUE);<a name="line.110"></a>
-<span class="sourceLineNo">111</span>      this.pType = model.createProperty(juneauNs.getUri(), RDF_juneauNs_TYPE);<a name="line.111"></a>
-<span class="sourceLineNo">112</span>      writer = model.getWriter(rdfLanguage);<a name="line.112"></a>
-<span class="sourceLineNo">113</span><a name="line.113"></a>
-<span class="sourceLineNo">114</span>      // Only apply properties with this prefix!<a name="line.114"></a>
-<span class="sourceLineNo">115</span>      String propPrefix = RdfCommonContext.LANG_PROP_MAP.get(rdfLanguage);<a name="line.115"></a>
-<span class="sourceLineNo">116</span>      if (propPrefix == null)<a name="line.116"></a>
-<span class="sourceLineNo">117</span>         throw new RuntimeException("Unknown RDF language encountered: '"+rdfLanguage+"'");<a name="line.117"></a>
-<span class="sourceLineNo">118</span><a name="line.118"></a>
-<span class="sourceLineNo">119</span>      for (Map.Entry&lt;String,Object&gt; e : jenaSettings.entrySet())<a name="line.119"></a>
-<span class="sourceLineNo">120</span>         if (e.getKey().startsWith(propPrefix))<a name="line.120"></a>
-<span class="sourceLineNo">121</span>            writer.setProperty(e.getKey().substring(propPrefix.length()), e.getValue());<a name="line.121"></a>
-<span class="sourceLineNo">122</span>   }<a name="line.122"></a>
-<span class="sourceLineNo">123</span><a name="line.123"></a>
-<span class="sourceLineNo">124</span>   /**<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    * Adds the specified namespace as a model prefix.<a name="line.125"></a>
-<span class="sourceLineNo">126</span>    *<a name="line.126"></a>
-<span class="sourceLineNo">127</span>    * @param ns The XML namespace.<a name="line.127"></a>
-<span class="sourceLineNo">128</span>    */<a name="line.128"></a>
-<span class="sourceLineNo">129</span>   public void addModelPrefix(Namespace ns) {<a name="line.129"></a>
-<span class="sourceLineNo">130</span>      model.setNsPrefix(ns.getName(), ns.getUri());<a name="line.130"></a>
-<span class="sourceLineNo">131</span>   }<a name="line.131"></a>
-<span class="sourceLineNo">132</span><a name="line.132"></a>
-<span class="sourceLineNo">133</span>   /**<a name="line.133"></a>
-<span class="sourceLineNo">134</span>    * Returns the {@link RdfCommonContext#RDF_collectionFormat} setting value for this session.<a name="line.134"></a>
-<span class="sourceLineNo">135</span>    *<a name="line.135"></a>
-<span class="sourceLineNo">136</span>    * @return The {@link RdfCommonContext#RDF_collectionFormat} setting value for this session.<a name="line.136"></a>
-<span class="sourceLineNo">137</span>    */<a name="line.137"></a>
-<span class="sourceLineNo">138</span>   public final RdfCollectionFormat getCollectionFormat() {<a name="line.138"></a>
-<span class="sourceLineNo">139</span>      return collectionFormat;<a name="line.139"></a>
-<span class="sourceLineNo">140</span>   }<a name="line.140"></a>
-<span class="sourceLineNo">141</span><a name="line.141"></a>
-<span class="sourceLineNo">142</span>   /**<a name="line.142"></a>
-<span class="sourceLineNo">143</span>    * Returns the {@link RdfCommonContext#RDF_useXmlNamespaces} setting value for this session.<a name="line.143"></a>
-<span class="sourceLineNo">144</span>    *<a name="line.144"></a>
-<span class="sourceLineNo">145</span>    * @return The {@link RdfCommonContext#RDF_useXmlNamespaces} setting value for this session.<a name="line.145"></a>
-<span class="sourceLineNo">146</span>    */<a name="line.146"></a>
-<span class="sourceLineNo">147</span>   public final boolean isUseXmlNamespaces() {<a name="line.147"></a>
-<span class="sourceLineNo">148</span>      return useXmlNamespaces;<a name="line.148"></a>
-<span class="sourceLineNo">149</span>   }<a name="line.149"></a>
-<span class="sourceLineNo">150</span><a name="line.150"></a>
-<span class="sourceLineNo">151</span>   /**<a name="line.151"></a>
-<span class="sourceLineNo">152</span>    * Returns the {@link RdfCommonContext#RDF_looseCollections} setting value for this session.<a name="line.152"></a>
-<span class="sourceLineNo">153</span>    *<a name="line.153"></a>
-<span class="sourceLineNo">154</span>    * @return The {@link RdfCommonContext#RDF_looseCollections} setting value for this session.<a name="line.154"></a>
-<span class="sourceLineNo">155</span>    */<a name="line.155"></a>
-<span class="sourceLineNo">156</span>   public final boolean isLooseCollections() {<a name="line.156"></a>
-<span class="sourceLineNo">157</span>      return looseCollections;<a name="line.157"></a>
-<span class="sourceLineNo">158</span>   }<a name="line.158"></a>
-<span class="sourceLineNo">159</span><a name="line.159"></a>
-<span class="sourceLineNo">160</span>   /**<a name="line.160"></a>
-<span class="sourceLineNo">161</span>    * Returns the {@link RdfCommonContext#RDF_language} setting value for this session.<a name="line.161"></a>
-<span class="sourceLineNo">162</span>    *<a name="line.162"></a>
-<span class="sourceLineNo">163</span>    * @return The {@link RdfCommonContext#RDF_language} setting value for this session.<a name="line.163"></a>
-<span class="sourceLineNo">164</span>    */<a name="line.164"></a>
-<span class="sourceLineNo">165</span>   public final String getRdfLanguage() {<a name="line.165"></a>
-<span class="sourceLineNo">166</span>      return rdfLanguage;<a name="line.166"></a>
-<span class="sourceLineNo">167</span>   }<a name="line.167"></a>
-<span class="sourceLineNo">168</span><a name="line.168"></a>
-<span class="sourceLineNo">169</span>   /**<a name="line.169"></a>
-<span class="sourceLineNo">170</span>    * Returns the {@link RdfCommonContext#RDF_juneauNs} setting value for this session.<a name="line.170"></a>
-<span class="sourceLineNo">171</span>    *<a name="line.171"></a>
-<span class="sourceLineNo">172</span>    * @return The {@link RdfCommonContext#RDF_juneauNs} setting value for this session.<a name="line.172"></a>
-<span class="sourceLineNo">173</span>    */<a name="line.173"></a>
-<span class="sourceLineNo">174</span>   public final Namespace getJuneauNs() {<a name="line.174"></a>
-<span class="sourceLineNo">175</span>      return juneauNs;<a name="line.175"></a>
-<span class="sourceLineNo">176</span>   }<a name="line.176"></a>
-<span class="sourceLineNo">177</span><a name="line.177"></a>
-<span class="sourceLineNo">178</span>   /**<a name="line.178"></a>
-<span class="sourceLineNo">179</span>    * Returns the {@link RdfCommonContext#RDF_juneauBpNs} setting value for this session.<a name="line.179"></a>
-<span class="sourceLineNo">180</span>    *<a name="line.180"></a>
-<span class="sourceLineNo">181</span>    * @return The {@link RdfCommonContext#RDF_juneauBpNs} setting value for this session.<a name="line.181"></a>
-<span class="sourceLineNo">182</span>    */<a name="line.182"></a>
-<span class="sourceLineNo">183</span>   public final Namespace getJuneauBpNs() {<a name="line.183"></a>
-<span class="sourceLineNo">184</span>      return juneauBpNs;<a name="line.184"></a>
-<span class="sourceLineNo">185</span>   }<a name="line.185"></a>
-<span class="sourceLineNo">186</span><a name="line.186"></a>
-<span class="sourceLineNo">187</span>   /**<a name="line.187"></a>
-<span class="sourceLineNo">188</span>    * Returns the {@link RdfSerializerContext#RDF_addLiteralTypes} setting value for this session.<a name="line.188"></a>
-<span class="sourceLineNo">189</span>    *<a name="line.189"></a>
-<span class="sourceLineNo">190</span>    * @return The {@link RdfSerializerContext#RDF_addLiteralTypes} setting value for this session.<a name="line.190"></a>
-<span class="sourceLineNo">191</span>    */<a name="line.191"></a>
-<span class="sourceLineNo">192</span>   public final boolean isAddLiteralTypes() {<a name="line.192"></a>
-<span class="sourceLineNo">193</span>      return addLiteralTypes;<a name="line.193"></a>
-<span class="sourceLineNo">194</span>   }<a name="line.194"></a>
-<span class="sourceLineNo">195</span><a name="line.195"></a>
-<span class="sourceLineNo">196</span>   /**<a name="line.196"></a>
-<span class="sourceLineNo">197</span>    * Returns the {@link RdfSerializerContext#RDF_addRootProperty} setting value for this session.<a name="line.197"></a>
-<span class="sourceLineNo">198</span>    *<a name="line.198"></a>
-<span class="sourceLineNo">199</span>    * @return The {@link RdfSerializerContext#RDF_addRootProperty} setting value for this session.<a name="line.199"></a>
-<span class="sourceLineNo">200</span>    */<a name="line.200"></a>
-<span class="sourceLineNo">201</span>   public final boolean isAddRootProp() {<a name="line.201"></a>
-<span class="sourceLineNo">202</span>      return addRootProperty;<a name="line.202"></a>
-<span class="sourceLineNo">203</span>   }<a name="line.203"></a>
-<span class="sourceLineNo">204</span><a name="line.204"></a>
-<span class="sourceLineNo">205</span>   /**<a name="line.205"></a>
-<span class="sourceLineNo">206</span>    * Returns the {@link RdfSerializerContext#RDF_autoDetectNamespaces} setting value for this session.<a name="line.206"></a>
-<span class="sourceLineNo">207</span>    *<a name="line.207"></a>
-<span class="sourceLineNo">208</span>    * @return The {@link RdfSerializerContext#RDF_autoDetectNamespaces} setting value for this session.<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    */<a name="line.209"></a>
-<span class="sourceLineNo">210</span>   public final boolean isAutoDetectNamespaces() {<a name="line.210"></a>
-<span class="sourceLineNo">211</span>      return autoDetectNamespaces;<a name="line.211"></a>
-<span class="sourceLineNo">212</span>   }<a name="line.212"></a>
-<span class="sourceLineNo">213</span><a name="line.213"></a>
-<span class="sourceLineNo">214</span>   /**<a name="line.214"></a>
-<span class="sourceLineNo">215</span>    * Returns the {@link MsgPackSerializerContext#MSGPACK_addBeanTypeProperties} setting value for this session.<a name="line.215"></a>
-<span class="sourceLineNo">216</span>    *<a name="line.216"></a>
-<span class="sourceLineNo">217</span>    * @return The {@link MsgPackSerializerContext#MSGPACK_addBeanTypeProperties} setting value for this session.<a name="line.217"></a>
-<span class="sourceLineNo">218</span>    */<a name="line.218"></a>
-<span class="sourceLineNo">219</span>   @Override /* SerializerSession */<a name="line.219"></a>
-<span class="sourceLineNo">220</span>   public final boolean isAddBeanTypeProperties() {<a name="line.220"></a>
-<span class="sourceLineNo">221</span>      return addBeanTypeProperties;<a name="line.221"></a>
-<span class="sourceLineNo">222</span>   }<a name="line.222"></a>
-<span class="sourceLineNo">223</span><a name="line.223"></a>
-<span class="sourceLineNo">224</span>   /**<a name="line.224"></a>
-<span class="sourceLineNo">225</span>    * Returns the RDF property that identifies the root node in the RDF model.<a name="line.225"></a>
-<span class="sourceLineNo">226</span>    *<a name="line.226"></a>
-<span class="sourceLineNo">227</span>    * @return The RDF property that identifies the root node in the RDF model.<a name="line.227"></a>
-<span class="sourceLineNo">228</span>    */<a name="line.228"></a>
-<span class="sourceLineNo">229</span>   public final Property getRootProp() {<a name="line.229"></a>
-<span class="sourceLineNo">230</span>      return pRoot;<a name="line.230"></a>
-<span class="sourceLineNo">231</span>   }<a name="line.231"></a>
-<span class="sourceLineNo">232</span><a name="line.232"></a>
-<span class="sourceLineNo">233</span>   /**<a name="line.233"></a>
-<span class="sourceLineNo">234</span>    * Returns the RDF property that represents a value in the RDF model.<a name="line.234"></a>
-<span class="sourceLineNo">235</span>    *<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    * @return The RDF property that represents a value in the RDF model.<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    */<a name="line.237"></a>
-<span class="sourceLineNo">238</span>   public final Property getValueProperty() {<a name="line.238"></a>
-<span class="sourceLineNo">239</span>      return pValue;<a name="line.239"></a>
-<span class="sourceLineNo">240</span>   }<a name="line.240"></a>
-<span class="sourceLineNo">241</span><a name="line.241"></a>
-<span class="sourceLineNo">242</span>   /**<a name="line.242"></a>
-<span class="sourceLineNo">243</span>    * Returns the RDF property that represents a class in the RDF model.<a name="line.243"></a>
-<span class="sourceLineNo">244</span>    *<a name="line.244"></a>
-<span class="sourceLineNo">245</span>    * @return The RDF property that represents a class in the RDF model.<a name="line.245"></a>
-<span class="sourceLineNo">246</span>    */<a name="line.246"></a>
-<span class="sourceLineNo">247</span>   public final Property getTypeProperty() {<a name="line.247"></a>
-<span class="sourceLineNo">248</span>      return pType;<a name="line.248"></a>
-<span class="sourceLineNo">249</span>   }<a name="line.249"></a>
-<span class="sourceLineNo">250</span><a name="line.250"></a>
-<span class="sourceLineNo">251</span>   /**<a name="line.251"></a>
-<span class="sourceLineNo">252</span>    * Returns the RDF model being serialized.<a name="line.252"></a>
-<span class="sourceLineNo">253</span>    *<a name="line.253"></a>
-<span class="sourceLineNo">254</span>    * @return The RDF model being serialized.<a name="line.254"></a>
-<span class="sourceLineNo">255</span>    */<a name="line.255"></a>
-<span class="sourceLineNo">256</span>   public final Model getModel() {<a name="line.256"></a>
-<span class="sourceLineNo">257</span>      return model;<a name="line.257"></a>
-<span class="sourceLineNo">258</span>   }<a name="line.258"></a>
-<span class="sourceLineNo">259</span><a name="line.259"></a>
-<span class="sourceLineNo">260</span>   /**<a name="line.260"></a>
-<span class="sourceLineNo">261</span>    * Returns the RDF writer that's being serialized to.<a name="line.261"></a>
-<span class="sourceLineNo">262</span>    *<a name="line.262"></a>
-<span class="sourceLineNo">263</span>    * @return The RDF writer that's being serialized to.<a name="line.263"></a>
-<span class="sourceLineNo">264</span>    */<a name="line.264"></a>
-<span class="sourceLineNo">265</span>   public final RDFWriter getRdfWriter() {<a name="line.265"></a>
-<span class="sourceLineNo">266</span>      return writer;<a name="line.266"></a>
-<span class="sourceLineNo">267</span>   }<a name="line.267"></a>
-<span class="sourceLineNo">268</span><a name="line.268"></a>
-<span class="sourceLineNo">269</span>   /**<a name="line.269"></a>
-<span class="sourceLineNo">270</span>    * XML-encodes the specified string using the {@link XmlUtils#encodeInvalidCharsForText(Object)} method.<a name="line.270"></a>
-<span class="sourceLineNo">271</span>    *<a name="line.271"></a>
-<span class="sourceLineNo">272</span>    * @param o The string being encoded.<a name="line.272"></a>
-<span class="sourceLineNo">273</span>    * @return The encoded string, or &lt;jk&gt;null&lt;/jk&gt; if the input was &lt;jk&gt;null&lt;/jk&gt;.<a name="line.273"></a>
-<span class="sourceLineNo">274</span>    */<a name="line.274"></a>
-<span class="sourceLineNo">275</span>   public final String encodeTextInvalidChars(Object o) {<a name="line.275"></a>
-<span class="sourceLineNo">276</span>      if (o == null)<a name="line.276"></a>
-<span class="sourceLineNo">277</span>         return null;<a name="line.277"></a>
-<span class="sourceLineNo">278</span>      String s = toString(o);<a name="line.278"></a>
-<span class="sourceLineNo">279</span>      return XmlUtils.encodeInvalidCharsForText(s);<a name="line.279"></a>
-<span class="sourceLineNo">280</span>   }<a name="line.280"></a>
-<span class="sourceLineNo">281</span><a name="line.281"></a>
-<span class="sourceLineNo">282</span>   /**<a name="line.282"></a>
-<span class="sourceLineNo">283</span>    * XML-encoded the specified element name using the {@link XmlUtils#encodeElementName(Object)} method.<a name="line.283"></a>
-<span class="sourceLineNo">284</span>    *<a name="line.284"></a>
-<span class="sourceLineNo">285</span>    * @param o The string being encoded.<a name="line.285"></a>
-<span class="sourceLineNo">286</span>    * @return The encoded string.<a name="line.286"></a>
-<span class="sourceLineNo">287</span>    */<a name="line.287"></a>
-<span class="sourceLineNo">288</span>   public final String encodeElementName(Object o) {<a name="line.288"></a>
-<span class="sourceLineNo">289</span>      String s = toString(o);<a name="line.289"></a>
-<span class="sourceLineNo">290</span>      return XmlUtils.encodeElementName(s);<a name="line.290"></a>
-<span class="sourceLineNo">291</span>   }<a name="line.291"></a>
-<span class="sourceLineNo">292</span>}<a name="line.292"></a>
+<span class="sourceLineNo">067</span>    * @param uriContext The URI context.<a name="line.67"></a>
+<span class="sourceLineNo">068</span>    *    Identifies the current request URI used for resolution of URIs to absolute or root-relative form. <a name="line.68"></a>
+<span class="sourceLineNo">069</span>    */<a name="line.69"></a>
+<span class="sourceLineNo">070</span>   protected RdfSerializerSession(RdfSerializerContext ctx, ObjectMap op, Object output, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType, UriContext uriContext) {<a name="line.70"></a>
+<span class="sourceLineNo">071</span>      super(ctx, op, output, javaMethod, locale, timeZone, mediaType, uriContext);<a name="line.71"></a>
+<span class="sourceLineNo">072</span>      ObjectMap jenaSettings = new ObjectMap();<a name="line.72"></a>
+<span class="sourceLineNo">073</span>      jenaSettings.put("rdfXml.tab", isUseWhitespace() ? 2 : 0);<a name="line.73"></a>
+<span class="sourceLineNo">074</span>      jenaSettings.put("rdfXml.attributeQuoteChar", Character.toString(getQuoteChar()));<a name="line.74"></a>
+<span class="sourceLineNo">075</span>      jenaSettings.putAll(ctx.jenaSettings);<a name="line.75"></a>
+<span class="sourceLineNo">076</span>      if (op == null || op.isEmpty()) {<a name="line.76"></a>
+<span class="sourceLineNo">077</span>         this.rdfLanguage = ctx.rdfLanguage;<a name="line.77"></a>
+<span class="sourceLineNo">078</span>         this.juneauNs = ctx.juneauNs;<a name="line.78"></a>
+<span class="sourceLineNo">079</span>         this.juneauBpNs = ctx.juneauBpNs;<a name="line.79"></a>
+<span class="sourceLineNo">080</span>         this.addLiteralTypes = ctx.addLiteralTypes;<a name="line.80"></a>
+<span class="sourceLineNo">081</span>         this.addRootProperty = ctx.addRootProperty;<a name="line.81"></a>
+<span class="sourceLineNo">082</span>         this.collectionFormat = ctx.collectionFormat;<a name="line.82"></a>
+<span class="sourceLineNo">083</span>         this.looseCollections = ctx.looseCollections;<a name="line.83"></a>
+<span class="sourceLineNo">084</span>         this.useXmlNamespaces = ctx.useXmlNamespaces;<a name="line.84"></a>
+<span class="sourceLineNo">085</span>         this.autoDetectNamespaces = ctx.autoDetectNamespaces;<a name="line.85"></a>
+<span class="sourceLineNo">086</span>         this.namespaces = ctx.namespaces;<a name="line.86"></a>
+<span class="sourceLineNo">087</span>         addBeanTypeProperties = ctx.addBeanTypeProperties;<a name="line.87"></a>
+<span class="sourceLineNo">088</span>      } else {<a name="line.88"></a>
+<span class="sourceLineNo">089</span>         this.rdfLanguage = op.getString(RDF_language, ctx.rdfLanguage);<a name="line.89"></a>
+<span class="sourceLineNo">090</span>         this.juneauNs = (op.containsKey(RDF_juneauNs) ? NamespaceFactory.parseNamespace(op.get(RDF_juneauNs)) : ctx.juneauNs);<a name="line.90"></a>
+<span class="sourceLineNo">091</span>         this.juneauBpNs = (op.containsKey(RDF_juneauBpNs) ? NamespaceFactory.parseNamespace(op.get(RDF_juneauBpNs)) : ctx.juneauBpNs);<a name="line.91"></a>
+<span class="sourceLineNo">092</span>         this.addLiteralTypes = op.getBoolean(RDF_addLiteralTypes, ctx.addLiteralTypes);<a name="line.92"></a>
+<span class="sourceLineNo">093</span>         this.addRootProperty = op.getBoolean(RDF_addRootProperty, ctx.addRootProperty);<a name="line.93"></a>
+<span class="sourceLineNo">094</span>         for (Map.Entry&lt;String,Object&gt; e : op.entrySet()) {<a name="line.94"></a>
+<span class="sourceLineNo">095</span>            String key = e.getKey();<a name="line.95"></a>
+<span class="sourceLineNo">096</span>            if (key.startsWith("Rdf.jena."))<a name="line.96"></a>
+<span class="sourceLineNo">097</span>               jenaSettings.put(key.substring(9), e.getValue());<a name="line.97"></a>
+<span class="sourceLineNo">098</span>         }<a name="line.98"></a>
+<span class="sourceLineNo">099</span>         this.collectionFormat = RdfCollectionFormat.valueOf(op.getString(RDF_collectionFormat, "DEFAULT"));<a name="line.99"></a>
+<span class="sourceLineNo">100</span>         this.looseCollections = op.getBoolean(RDF_looseCollections, ctx.looseCollections);<a name="line.100"></a>
+<span class="sourceLineNo">101</span>         this.useXmlNamespaces = op.getBoolean(RDF_useXmlNamespaces, ctx.useXmlNamespaces);<a name="line.101"></a>
+<span class="sourceLineNo">102</span>         this.autoDetectNamespaces = op.getBoolean(RDF_autoDetectNamespaces, ctx.autoDetectNamespaces);<a name="line.102"></a>
+<span class="sourceLineNo">103</span>         this.namespaces = op.get(Namespace[].class, RDF_namespaces, ctx.namespaces);<a name="line.103"></a>
+<span class="sourceLineNo">104</span>         addBeanTypeProperties = op.getBoolean(RDF_addBeanTypeProperties, ctx.addBeanTypeProperties);<a name="line.104"></a>
+<span class="sourceLineNo">105</span>      }<a name="line.105"></a>
+<span class="sourceLineNo">106</span>      this.model = ModelFactory.createDefaultModel();<a name="line.106"></a>
+<span class="sourceLineNo">107</span>      addModelPrefix(juneauNs);<a name="line.107"></a>
+<span class="sourceLineNo">108</span>      addModelPrefix(juneauBpNs);<a name="line.108"></a>
+<span class="sourceLineNo">109</span>      for (Namespace ns : this.namespaces)<a name="line.109"></a>
+<span class="sourceLineNo">110</span>         addModelPrefix(ns);<a name="line.110"></a>
+<span class="sourceLineNo">111</span>      this.pRoot = model.createProperty(juneauNs.getUri(), RDF_juneauNs_ROOT);<a name="line.111"></a>
+<span class="sourceLineNo">112</span>      this.pValue = model.createProperty(juneauNs.getUri(), RDF_juneauNs_VALUE);<a name="line.112"></a>
+<span class="sourceLineNo">113</span>      this.pType = model.createProperty(juneauNs.getUri(), RDF_juneauNs_TYPE);<a name="line.113"></a>
+<span class="sourceLineNo">114</span>      writer = model.getWriter(rdfLanguage);<a name="line.114"></a>
+<span class="sourceLineNo">115</span><a name="line.115"></a>
+<span class="sourceLineNo">116</span>      // Only apply properties with this prefix!<a name="line.116"></a>
+<span class="sourceLineNo">117</span>      String propPrefix = RdfCommonContext.LANG_PROP_MAP.get(rdfLanguage);<a name="line.117"></a>
+<span class="sourceLineNo">118</span>      if (propPrefix == null)<a name="line.118"></a>
+<span class="sourceLineNo">119</span>         throw new RuntimeException("Unknown RDF language encountered: '"+rdfLanguage+"'");<a name="line.119"></a>
+<span class="sourceLineNo">120</span><a name="line.120"></a>
+<span class="sourceLineNo">121</span>      for (Map.Entry&lt;String,Object&gt; e : jenaSettings.entrySet())<a name="line.121"></a>
+<span class="sourceLineNo">122</span>         if (e.getKey().startsWith(propPrefix))<a name="line.122"></a>
+<span class="sourceLineNo">123</span>            writer.setProperty(e.getKey().substring(propPrefix.length()), e.getValue());<a name="line.123"></a>
+<span class="sourceLineNo">124</span>   }<a name="line.124"></a>
+<span class="sourceLineNo">125</span><a name="line.125"></a>
+<span class="sourceLineNo">126</span>   /**<a name="line.126"></a>
+<span class="sourceLineNo">127</span>    * Adds the specified namespace as a model prefix.<a name="line.127"></a>
+<span class="sourceLineNo">128</span>    *<a name="line.128"></a>
+<span class="sourceLineNo">129</span>    * @param ns The XML namespace.<a name="line.129"></a>
+<span class="sourceLineNo">130</span>    */<a name="line.130"></a>
+<span class="sourceLineNo">131</span>   public void addModelPrefix(Namespace ns) {<a name="line.131"></a>
+<span class="sourceLineNo">132</span>      model.setNsPrefix(ns.getName(), ns.getUri());<a name="line.132"></a>
+<span class="sourceLineNo">133</span>   }<a name="line.133"></a>
+<span class="sourceLineNo">134</span><a name="line.134"></a>
+<span class="sourceLineNo">135</span>   /**<a name="line.135"></a>
+<span class="sourceLineNo">136</span>    * Returns the {@link RdfCommonContext#RDF_collectionFormat} setting value for this session.<a name="line.136"></a>
+<span class="sourceLineNo">137</span>    *<a name="line.137"></a>
+<span class="sourceLineNo">138</span>    * @return The {@link RdfCommonContext#RDF_collectionFormat} setting value for this session.<a name="line.138"></a>
+<span class="sourceLineNo">139</span>    */<a name="line.139"></a>
+<span class="sourceLineNo">140</span>   public final RdfCollectionFormat getCollectionFormat() {<a name="line.140"></a>
+<span class="sourceLineNo">141</span>      return collectionFormat;<a name="line.141"></a>
+<span class="sourceLineNo">142</span>   }<a name="line.142"></a>
+<span class="sourceLineNo">143</span><a name="line.143"></a>
+<span class="sourceLineNo">144</span>   /**<a name="line.144"></a>
+<span class="sourceLineNo">145</span>    * Returns the {@link RdfCommonContext#RDF_useXmlNamespaces} setting value for this session.<a name="line.145"></a>
+<span class="sourceLineNo">146</span>    *<a name="line.146"></a>
+<span class="sourceLineNo">147</span>    * @return The {@link RdfCommonContext#RDF_useXmlNamespaces} setting value for this session.<a name="line.147"></a>
+<span class="sourceLineNo">148</span>    */<a name="line.148"></a>
+<span class="sourceLineNo">149</span>   public final boolean isUseXmlNamespaces() {<a name="line.149"></a>
+<span class="sourceLineNo">150</span>      return useXmlNamespaces;<a name="line.150"></a>
+<span class="sourceLineNo">151</span>   }<a name="line.151"></a>
+<span class="sourceLineNo">152</span><a name="line.152"></a>
+<span class="sourceLineNo">153</span>   /**<a name="line.153"></a>
+<span class="sourceLineNo">154</span>    * Returns the {@link RdfCommonContext#RDF_looseCollections} setting value for this session.<a name="line.154"></a>
+<span class="sourceLineNo">155</span>    *<a name="line.155"></a>
+<span class="sourceLineNo">156</span>    * @return The {@link RdfCommonContext#RDF_looseCollections} setting value for this session.<a name="line.156"></a>
+<span class="sourceLineNo">157</span>    */<a name="line.157"></a>
+<span class="sourceLineNo">158</span>   public final boolean isLooseCollections() {<a name="line.158"></a>
+<span class="sourceLineNo">159</span>      return looseCollections;<a name="line.159"></a>
+<span class="sourceLineNo">160</span>   }<a name="line.160"></a>
+<span class="sourceLineNo">161</span><a name="line.161"></a>
+<span class="sourceLineNo">162</span>   /**<a name="line.162"></a>
+<span class="sourceLineNo">163</span>    * Returns the {@link RdfCommonContext#RDF_language} setting value for this session.<a name="line.163"></a>
+<span class="sourceLineNo">164</span>    *<a name="line.164"></a>
+<span class="sourceLineNo">165</span>    * @return The {@link RdfCommonContext#RDF_language} setting value for this session.<a name="line.165"></a>
+<span class="sourceLineNo">166</span>    */<a name="line.166"></a>
+<span class="sourceLineNo">167</span>   public final String getRdfLanguage() {<a name="line.167"></a>
+<span class="sourceLineNo">168</span>      return rdfLanguage;<a name="line.168"></a>
+<span class="sourceLineNo">169</span>   }<a name="line.169"></a>
+<span class="sourceLineNo">170</span><a name="line.170"></a>
+<span class="sourceLineNo">171</span>   /**<a name="line.171"></a>
+<span class="sourceLineNo">172</span>    * Returns the {@link RdfCommonContext#RDF_juneauNs} setting value for this session.<a name="line.172"></a>
+<span class="sourceLineNo">173</span>    *<a name="line.173"></a>
+<span class="sourceLineNo">174</span>    * @return The {@link RdfCommonContext#RDF_juneauNs} setting value for this session.<a name="line.174"></a>
+<span class="sourceLineNo">175</span>    */<a name="line.175"></a>
+<span class="sourceLineNo">176</span>   public final Namespace getJuneauNs() {<a name="line.176"></a>
+<span class="sourceLineNo">177</span>      return juneauNs;<a name="line.177"></a>
+<span class="sourceLineNo">178</span>   }<a name="line.178"></a>
+<span class="sourceLineNo">179</span><a name="line.179"></a>
+<span class="sourceLineNo">180</span>   /**<a name="line.180"></a>
+<span class="sourceLineNo">181</span>    * Returns the {@link RdfCommonContext#RDF_juneauBpNs} setting value for this session.<a name="line.181"></a>
+<span class="sourceLineNo">182</span>    *<a name="line.182"></a>
+<span class="sourceLineNo">183</span>    * @return The {@link RdfCommonContext#RDF_juneauBpNs} setting value for this session.<a name="line.183"></a>
+<span class="sourceLineNo">184</span>    */<a name="line.184"></a>
+<span class="sourceLineNo">185</span>   public final Namespace getJuneauBpNs() {<a name="line.185"></a>
+<span class="sourceLineNo">186</span>      return juneauBpNs;<a name="line.186"></a>
+<span class="sourceLineNo">187</span>   }<a name="line.187"></a>
+<span class="sourceLineNo">188</span><a name="line.188"></a>
+<span class="sourceLineNo">189</span>   /**<a name="line.189"></a>
+<span class="sourceLineNo">190</span>    * Returns the {@link RdfSerializerContext#RDF_addLiteralTypes} setting value for this session.<a name="line.190"></a>
+<span class="sourceLineNo">191</span>    *<a name="line.191"></a>
+<span class="sourceLineNo">192</span>    * @return The {@link RdfSerializerContext#RDF_addLiteralTypes} setting value for this session.<a name="line.192"></a>
+<span class="sourceLineNo">193</span>    */<a name="line.193"></a>
+<span class="sourceLineNo">194</span>   public final boolean isAddLiteralTypes() {<a name="line.194"></a>
+<span class="sourceLineNo">195</span>      return addLiteralTypes;<a name="line.195"></a>
+<span class="sourceLineNo">196</span>   }<a name="line.196"></a>
+<span class="sourceLineNo">197</span><a name="line.197"></a>
+<span class="sourceLineNo">198</span>   /**<a name="line.198"></a>
+<span class="sourceLineNo">199</span>    * Returns the {@link RdfSerializerContext#RDF_addRootProperty} setting value for this session.<a name="line.199"></a>
+<span class="sourceLineNo">200</span>    *<a name="line.200"></a>
+<span class="sourceLineNo">201</span>    * @return The {@link RdfSerializerContext#RDF_addRootProperty} setting value for this session.<a name="line.201"></a>
+<span class="sourceLineNo">202</span>    */<a name="line.202"></a>
+<span class="sourceLineNo">203</span>   public final boolean isAddRootProp() {<a name="line.203"></a>
+<span class="sourceLineNo">204</span>      return addRootProperty;<a name="line.204"></a>
+<span class="sourceLineNo">205</span>   }<a name="line.205"></a>
+<span class="sourceLineNo">206</span><a name="line.206"></a>
+<span class="sourceLineNo">207</span>   /**<a name="line.207"></a>
+<span class="sourceLineNo">208</span>    * Returns the {@link RdfSerializerContext#RDF_autoDetectNamespaces} setting value for this session.<a name="line.208"></a>
+<span class="sourceLineNo">209</span>    *<a name="line.209"></a>
+<span class="sourceLineNo">210</span>    * @return The {@link RdfSerializerContext#RDF_autoDetectNamespaces} setting value for this session.<a name="line.210"></a>
+<span class="sourceLineNo">211</span>    */<a name="line.211"></a>
+<span class="sourceLineNo">212</span>   public final boolean isAutoDetectNamespaces() {<a name="line.212"></a>
+<span class="sourceLineNo">213</span>      return autoDetectNamespaces;<a name="line.213"></a>
+<span class="sourceLineNo">214</span>   }<a name="line.214"></a>
+<span class="sourceLineNo">215</span><a name="line.215"></a>
+<span class="sourceLineNo">216</span>   /**<a name="line.216"></a>
+<span class="sourceLineNo">217</span>    * Returns the {@link MsgPackSerializerContext#MSGPACK_addBeanTypeProperties} setting value for this session.<a name="line.217"></a>
+<span class="sourceLineNo">218</span>    *<a name="line.218"></a>
+<span class="sourceLineNo">219</span>    * @return The {@link MsgPackSerializerContext#MSGPACK_addBeanTypeProperties} setting value for this session.<a name="line.219"></a>
+<span class="sourceLineNo">220</span>    */<a name="line.220"></a>
+<span class="sourceLineNo">221</span>   @Override /* SerializerSession */<a name="line.221"></a>
+<span class="sourceLineNo">222</span>   public final boolean isAddBeanTypeProperties() {<a name="line.222"></a>
+<span class="sourceLineNo">223</span>      return addBeanTypeProperties;<a name="line.223"></a>
+<span class="sourceLineNo">224</span>   }<a name="line.224"></a>
+<span class="sourceLineNo">225</span><a name="line.225"></a>
+<span class="sourceLineNo">226</span>   /**<a name="line.226"></a>
+<span class="sourceLineNo">227</span>    * Returns the RDF property that identifies the root node in the RDF model.<a name="line.227"></a>
+<span class="sourceLineNo">228</span>    *<a name="line.228"></a>
+<span class="sourceLineNo">229</span>    * @return The RDF property that identifies the root node in the RDF model.<a name="line.229"></a>
+<span class="sourceLineNo">230</span>    */<a name="line.230"></a>
+<span class="sourceLineNo">231</span>   public final Property getRootProp() {<a name="line.231"></a>
+<span class="sourceLineNo">232</span>      return pRoot;<a name="line.232"></a>
+<span class="sourceLineNo">233</span>   }<a name="line.233"></a>
+<span class="sourceLineNo">234</span><a name="line.234"></a>
+<span class="sourceLineNo">235</span>   /**<a name="line.235"></a>
+<span class="sourceLineNo">236</span>    * Returns the RDF property that represents a value in the RDF model.<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    *<a name="line.237"></a>
+<span class="sourceLineNo">238</span>    * @return The RDF property that represents a value in the RDF model.<a name="line.238"></a>
+<span class="sourceLineNo">239</span>    */<a name="line.239"></a>
+<span class="sourceLineNo">240</span>   public final Property getValueProperty() {<a name="line.240"></a>
+<span class="sourceLineNo">241</span>      return pValue;<a name="line.241"></a>
+<span class="sourceLineNo">242</span>   }<a name="line.242"></a>
+<span class="sourceLineNo">243</span><a name="line.243"></a>
+<span class="sourceLineNo">244</span>   /**<a name="line.244"></a>
+<span class="sourceLineNo">245</span>    * Returns the RDF property that represents a class in the RDF model.<a name="line.245"></a>
+<span class="sourceLineNo">246</span>    *<a name="line.246"></a>
+<span class="sourceLineNo">247</span>    * @return The RDF property that represents a class in the RDF model.<a name="line.247"></a>
+<span class="sourceLineNo">248</span>    */<a name="line.248"></a>
+<span class="sourceLineNo">249</span>   public final Property getTypeProperty() {<a name="line.249"></a>
+<span class="sourceLineNo">250</span>      return pType;<a name="line.250"></a>
+<span class="sourceLineNo">251</span>   }<a name="line.251"></a>
+<span class="sourceLineNo">252</span><a name="line.252"></a>
+<span class="sourceLineNo">253</span>   /**<a name="line.253"></a>
+<span class="sourceLineNo">254</span>    * Returns the RDF model being serialized.<a name="line.254"></a>
+<span class="sourceLineNo">255</span>    *<a name="line.255"></a>
+<span class="sourceLineNo">256</span>    * @return The RDF model being serialized.<a name="line.256"></a>
+<span class="sourceLineNo">257</span>    */<a name="line.257"></a>
+<span class="sourceLineNo">258</span>   public final Model getModel() {<a name="line.258"></a>
+<span class="sourceLineNo">259</span>      return model;<a name="line.259"></a>
+<span class="sourceLineNo">260</span>   }<a name="line.260"></a>
+<span class="sourceLineNo">261</span><a name="line.261"></a>
+<span class="sourceLineNo">262</span>   /**<a name="line.262"></a>
+<span class="sourceLineNo">263</span>    * Returns the RDF writer that's being serialized to.<a name="line.263"></a>
+<span class="sourceLineNo">264</span>    *<a name="line.264"></a>
+<span class="sourceLineNo">265</span>    * @return The RDF writer that's being serialized to.<a name="line.265"></a>
+<span class="sourceLineNo">266</span>    */<a name="line.266"></a>
+<span class="sourceLineNo">267</span>   public final RDFWriter getRdfWriter() {<a name="line.267"></a>
+<span class="sourceLineNo">268</span>      return writer;<a name="line.268"></a>
+<span class="sourceLineNo">269</span>   }<a name="line.269"></a>
+<span class="sourceLineNo">270</span><a name="line.270"></a>
+<span class="sourceLineNo">271</span>   /**<a name="line.271"></a>
+<span class="sourceLineNo">272</span>    * XML-encodes the specified string using the {@link XmlUtils#encodeInvalidCharsForText(Object)} method.<a name="line.272"></a>
+<span class="sourceLineNo">273</span>    *<a name="line.273"></a>
+<span class="sourceLineNo">274</span>    * @param o The string being encoded.<a name="line.274"></a>
+<span class="sourceLineNo">275</span>    * @return The encoded string, or &lt;jk&gt;null&lt;/jk&gt; if the input was &lt;jk&gt;null&lt;/jk&gt;.<a name="line.275"></a>
+<span class="sourceLineNo">276</span>    */<a name="line.276"></a>
+<span class="sourceLineNo">277</span>   public final String encodeTextInvalidChars(Object o) {<a name="line.277"></a>
+<span class="sourceLineNo">278</span>      if (o == null)<a name="line.278"></a>
+<span class="sourceLineNo">279</span>         return null;<a name="line.279"></a>
+<span class="sourceLineNo">280</span>      String s = toString(o);<a name="line.280"></a>
+<span class="sourceLineNo">281</span>      return XmlUtils.encodeInvalidCharsForText(s);<a name="line.281"></a>
+<span class="sourceLineNo">282</span>   }<a name="line.282"></a>
+<span class="sourceLineNo">283</span><a name="line.283"></a>
+<span class="sourceLineNo">284</span>   /**<a name="line.284"></a>
+<span class="sourceLineNo">285</span>    * XML-encoded the specified element name using the {@link XmlUtils#encodeElementName(Object)} method.<a name="line.285"></a>
+<span class="sourceLineNo">286</span>    *<a name="line.286"></a>
+<span class="sourceLineNo">287</span>    * @param o The string being encoded.<a name="line.287"></a>
+<span class="sourceLineNo">288</span>    * @return The encoded string.<a name="line.288"></a>
+<span class="sourceLineNo">289</span>    */<a name="line.289"></a>
+<span class="sourceLineNo">290</span>   public final String encodeElementName(Object o) {<a name="line.290"></a>
+<span class="sourceLineNo">291</span>      String s = toString(o);<a name="line.291"></a>
+<span class="sourceLineNo">292</span>      return XmlUtils.encodeElementName(s);<a name="line.292"></a>
+<span class="sourceLineNo">293</span>   }<a name="line.293"></a>
+<span class="sourceLineNo">294</span>}<a name="line.294"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/37ddf434/content/site/apidocs/src-html/org/apache/juneau/json/JsonSchemaSerializer.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/json/JsonSchemaSerializer.html b/content/site/apidocs/src-html/org/apache/juneau/json/JsonSchemaSerializer.html
index 483af2f..971d7ac 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/json/JsonSchemaSerializer.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/json/JsonSchemaSerializer.html
@@ -79,8 +79,8 @@
 <span class="sourceLineNo">071</span>   //--------------------------------------------------------------------------------<a name="line.71"></a>
 <span class="sourceLineNo">072</span><a name="line.72"></a>
 <span class="sourceLineNo">073</span>   @Override /* Serializer */<a name="line.73"></a>
-<span class="sourceLineNo">074</span>   public JsonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.74"></a>
-<span class="sourceLineNo">075</span>      return new JsonSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.75"></a>
+<span class="sourceLineNo">074</span>   public JsonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType, UriContext uriContext) {<a name="line.74"></a>
+<span class="sourceLineNo">075</span>      return new JsonSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType, uriContext);<a name="line.75"></a>
 <span class="sourceLineNo">076</span>   }<a name="line.76"></a>
 <span class="sourceLineNo">077</span><a name="line.77"></a>
 <span class="sourceLineNo">078</span>   @Override /* JsonSerializer */<a name="line.78"></a>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/37ddf434/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.Readable.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.Readable.html b/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.Readable.html
index bb00271..cd32e5a 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.Readable.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.Readable.html
@@ -389,8 +389,8 @@
 <span class="sourceLineNo">381</span>   //--------------------------------------------------------------------------------<a name="line.381"></a>
 <span class="sourceLineNo">382</span><a name="line.382"></a>
 <span class="sourceLineNo">383</span>   @Override /* Serializer */<a name="line.383"></a>
-<span class="sourceLineNo">384</span>   public JsonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.384"></a>
-<span class="sourceLineNo">385</span>      return new JsonSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.385"></a>
+<span class="sourceLineNo">384</span>   public JsonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType, UriContext uriContext) {<a name="line.384"></a>
+<span class="sourceLineNo">385</span>      return new JsonSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType, uriContext);<a name="line.385"></a>
 <span class="sourceLineNo">386</span>   }<a name="line.386"></a>
 <span class="sourceLineNo">387</span><a name="line.387"></a>
 <span class="sourceLineNo">388</span>   @Override /* Serializer */<a name="line.388"></a>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/37ddf434/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.Simple.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.Simple.html b/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.Simple.html
index bb00271..cd32e5a 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.Simple.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.Simple.html
@@ -389,8 +389,8 @@
 <span class="sourceLineNo">381</span>   //--------------------------------------------------------------------------------<a name="line.381"></a>
 <span class="sourceLineNo">382</span><a name="line.382"></a>
 <span class="sourceLineNo">383</span>   @Override /* Serializer */<a name="line.383"></a>
-<span class="sourceLineNo">384</span>   public JsonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.384"></a>
-<span class="sourceLineNo">385</span>      return new JsonSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.385"></a>
+<span class="sourceLineNo">384</span>   public JsonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType, UriContext uriContext) {<a name="line.384"></a>
+<span class="sourceLineNo">385</span>      return new JsonSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType, uriContext);<a name="line.385"></a>
 <span class="sourceLineNo">386</span>   }<a name="line.386"></a>
 <span class="sourceLineNo">387</span><a name="line.387"></a>
 <span class="sourceLineNo">388</span>   @Override /* Serializer */<a name="line.388"></a>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/37ddf434/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.SimpleReadable.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.SimpleReadable.html b/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.SimpleReadable.html
index bb00271..cd32e5a 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.SimpleReadable.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.SimpleReadable.html
@@ -389,8 +389,8 @@
 <span class="sourceLineNo">381</span>   //--------------------------------------------------------------------------------<a name="line.381"></a>
 <span class="sourceLineNo">382</span><a name="line.382"></a>
 <span class="sourceLineNo">383</span>   @Override /* Serializer */<a name="line.383"></a>
-<span class="sourceLineNo">384</span>   public JsonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.384"></a>
-<span class="sourceLineNo">385</span>      return new JsonSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.385"></a>
+<span class="sourceLineNo">384</span>   public JsonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType, UriContext uriContext) {<a name="line.384"></a>
+<span class="sourceLineNo">385</span>      return new JsonSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType, uriContext);<a name="line.385"></a>
 <span class="sourceLineNo">386</span>   }<a name="line.386"></a>
 <span class="sourceLineNo">387</span><a name="line.387"></a>
 <span class="sourceLineNo">388</span>   @Override /* Serializer */<a name="line.388"></a>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/37ddf434/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.SimpleReadableSafe.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.SimpleReadableSafe.html b/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.SimpleReadableSafe.html
index bb00271..cd32e5a 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.SimpleReadableSafe.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.SimpleReadableSafe.html
@@ -389,8 +389,8 @@
 <span class="sourceLineNo">381</span>   //--------------------------------------------------------------------------------<a name="line.381"></a>
 <span class="sourceLineNo">382</span><a name="line.382"></a>
 <span class="sourceLineNo">383</span>   @Override /* Serializer */<a name="line.383"></a>
-<span class="sourceLineNo">384</span>   public JsonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.384"></a>
-<span class="sourceLineNo">385</span>      return new JsonSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.385"></a>
+<span class="sourceLineNo">384</span>   public JsonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType, UriContext uriContext) {<a name="line.384"></a>
+<span class="sourceLineNo">385</span>      return new JsonSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType, uriContext);<a name="line.385"></a>
 <span class="sourceLineNo">386</span>   }<a name="line.386"></a>
 <span class="sourceLineNo">387</span><a name="line.387"></a>
 <span class="sourceLineNo">388</span>   @Override /* Serializer */<a name="line.388"></a>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/37ddf434/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.html b/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.html
index bb00271..cd32e5a 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializer.html
@@ -389,8 +389,8 @@
 <span class="sourceLineNo">381</span>   //--------------------------------------------------------------------------------<a name="line.381"></a>
 <span class="sourceLineNo">382</span><a name="line.382"></a>
 <span class="sourceLineNo">383</span>   @Override /* Serializer */<a name="line.383"></a>
-<span class="sourceLineNo">384</span>   public JsonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.384"></a>
-<span class="sourceLineNo">385</span>      return new JsonSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.385"></a>
+<span class="sourceLineNo">384</span>   public JsonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType, UriContext uriContext) {<a name="line.384"></a>
+<span class="sourceLineNo">385</span>      return new JsonSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType, uriContext);<a name="line.385"></a>
 <span class="sourceLineNo">386</span>   }<a name="line.386"></a>
 <span class="sourceLineNo">387</span><a name="line.387"></a>
 <span class="sourceLineNo">388</span>   @Override /* Serializer */<a name="line.388"></a>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/37ddf434/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializerSession.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializerSession.html b/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializerSession.html
index 91029ad..66697a4 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializerSession.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/json/JsonSerializerSession.html
@@ -45,66 +45,68 @@
 <span class="sourceLineNo">037</span>    * Create a new session using properties specified in the context.<a name="line.37"></a>
 <span class="sourceLineNo">038</span>    *<a name="line.38"></a>
 <span class="sourceLineNo">039</span>    * @param ctx The context creating this session object.<a name="line.39"></a>
-<span class="sourceLineNo">040</span>    * The context contains all the configuration settings for this object.<a name="line.40"></a>
+<span class="sourceLineNo">040</span>    *    The context contains all the configuration settings for this object.<a name="line.40"></a>
 <span class="sourceLineNo">041</span>    * @param output The output object.  See {@link JsonSerializerSession#getWriter()} for valid class types.<a name="line.41"></a>
 <span class="sourceLineNo">042</span>    * @param op The override properties.<a name="line.42"></a>
-<span class="sourceLineNo">043</span>    * These override any context properties defined in the context.<a name="line.43"></a>
+<span class="sourceLineNo">043</span>    *    These override any context properties defined in the context.<a name="line.43"></a>
 <span class="sourceLineNo">044</span>    * @param javaMethod The java method that called this serializer, usually the method in a REST servlet.<a name="line.44"></a>
 <span class="sourceLineNo">045</span>    * @param locale The session locale.<a name="line.45"></a>
-<span class="sourceLineNo">046</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then the locale defined on the context is used.<a name="line.46"></a>
+<span class="sourceLineNo">046</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then the locale defined on the context is used.<a name="line.46"></a>
 <span class="sourceLineNo">047</span>    * @param timeZone The session timezone.<a name="line.47"></a>
-<span class="sourceLineNo">048</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then the timezone defined on the context is used.<a name="line.48"></a>
+<span class="sourceLineNo">048</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then the timezone defined on the context is used.<a name="line.48"></a>
 <span class="sourceLineNo">049</span>    * @param mediaType The session media type (e.g. &lt;js&gt;"application/json"&lt;/js&gt;).<a name="line.49"></a>
-<span class="sourceLineNo">050</span>    */<a name="line.50"></a>
-<span class="sourceLineNo">051</span>   protected JsonSerializerSession(JsonSerializerContext ctx, ObjectMap op, Object output, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.51"></a>
-<span class="sourceLineNo">052</span>      super(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.52"></a>
-<span class="sourceLineNo">053</span>      if (op == null || op.isEmpty()) {<a name="line.53"></a>
-<span class="sourceLineNo">054</span>         simpleMode = ctx.simpleMode;<a name="line.54"></a>
-<span class="sourceLineNo">055</span>         escapeSolidus = ctx.escapeSolidus;<a name="line.55"></a>
-<span class="sourceLineNo">056</span>         addBeanTypeProperties = ctx.addBeanTypeProperties;<a name="line.56"></a>
-<span class="sourceLineNo">057</span>      } else {<a name="line.57"></a>
-<span class="sourceLineNo">058</span>         simpleMode = op.getBoolean(JSON_simpleMode, ctx.simpleMode);<a name="line.58"></a>
-<span class="sourceLineNo">059</span>         escapeSolidus = op.getBoolean(JSON_escapeSolidus, ctx.escapeSolidus);<a name="line.59"></a>
-<span class="sourceLineNo">060</span>         addBeanTypeProperties = op.getBoolean(JSON_addBeanTypeProperties, ctx.addBeanTypeProperties);<a name="line.60"></a>
-<span class="sourceLineNo">061</span>      }<a name="line.61"></a>
-<span class="sourceLineNo">062</span>   }<a name="line.62"></a>
-<span class="sourceLineNo">063</span><a name="line.63"></a>
-<span class="sourceLineNo">064</span>   /**<a name="line.64"></a>
-<span class="sourceLineNo">065</span>    * Returns the {@link JsonSerializerContext#JSON_simpleMode} setting value for this session.<a name="line.65"></a>
-<span class="sourceLineNo">066</span>    *<a name="line.66"></a>
-<span class="sourceLineNo">067</span>    * @return The {@link JsonSerializerContext#JSON_simpleMode} setting value for this session.<a name="line.67"></a>
-<span class="sourceLineNo">068</span>    */<a name="line.68"></a>
-<span class="sourceLineNo">069</span>   public final boolean isSimpleMode() {<a name="line.69"></a>
-<span class="sourceLineNo">070</span>      return simpleMode;<a name="line.70"></a>
-<span class="sourceLineNo">071</span>   }<a name="line.71"></a>
-<span class="sourceLineNo">072</span><a name="line.72"></a>
-<span class="sourceLineNo">073</span>   /**<a name="line.73"></a>
-<span class="sourceLineNo">074</span>    * Returns the {@link JsonSerializerContext#JSON_escapeSolidus} setting value for this session.<a name="line.74"></a>
-<span class="sourceLineNo">075</span>    *<a name="line.75"></a>
-<span class="sourceLineNo">076</span>    * @return The {@link JsonSerializerContext#JSON_escapeSolidus} setting value for this session.<a name="line.76"></a>
-<span class="sourceLineNo">077</span>    */<a name="line.77"></a>
-<span class="sourceLineNo">078</span>   public final boolean isEscapeSolidus() {<a name="line.78"></a>
-<span class="sourceLineNo">079</span>      return escapeSolidus;<a name="line.79"></a>
-<span class="sourceLineNo">080</span>   }<a name="line.80"></a>
-<span class="sourceLineNo">081</span><a name="line.81"></a>
-<span class="sourceLineNo">082</span>   /**<a name="line.82"></a>
-<span class="sourceLineNo">083</span>    * Returns the {@link JsonSerializerContext#JSON_addBeanTypeProperties} setting value for this session.<a name="line.83"></a>
-<span class="sourceLineNo">084</span>    *<a name="line.84"></a>
-<span class="sourceLineNo">085</span>    * @return The {@link JsonSerializerContext#JSON_addBeanTypeProperties} setting value for this session.<a name="line.85"></a>
-<span class="sourceLineNo">086</span>    */<a name="line.86"></a>
-<span class="sourceLineNo">087</span>   @Override /* SerializerSession */<a name="line.87"></a>
-<span class="sourceLineNo">088</span>   public final boolean isAddBeanTypeProperties() {<a name="line.88"></a>
-<span class="sourceLineNo">089</span>      return addBeanTypeProperties;<a name="line.89"></a>
-<span class="sourceLineNo">090</span>   }<a name="line.90"></a>
-<span class="sourceLineNo">091</span><a name="line.91"></a>
-<span class="sourceLineNo">092</span>   @Override /* ParserSession */<a name="line.92"></a>
-<span class="sourceLineNo">093</span>   public JsonWriter getWriter() throws Exception {<a name="line.93"></a>
-<span class="sourceLineNo">094</span>      Object output = getOutput();<a name="line.94"></a>
-<span class="sourceLineNo">095</span>      if (output instanceof JsonWriter)<a name="line.95"></a>
-<span class="sourceLineNo">096</span>         return (JsonWriter)output;<a name="line.96"></a>
-<span class="sourceLineNo">097</span>      return new JsonWriter(super.getWriter(), isUseWhitespace(), isEscapeSolidus(), getQuoteChar(), isSimpleMode(), isTrimStrings(), getRelativeUriBase(), getAbsolutePathUriBase());<a name="line.97"></a>
-<span class="sourceLineNo">098</span>   }<a name="line.98"></a>
-<span class="sourceLineNo">099</span>}<a name="line.99"></a>
+<span class="sourceLineNo">050</span>    * @param uriContext The URI context.<a name="line.50"></a>
+<span class="sourceLineNo">051</span>    *    Identifies the current request URI used for resolution of URIs to absolute or root-relative form.<a name="line.51"></a>
+<span class="sourceLineNo">052</span>    */<a name="line.52"></a>
+<span class="sourceLineNo">053</span>   protected JsonSerializerSession(JsonSerializerContext ctx, ObjectMap op, Object output, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType, UriContext uriContext) {<a name="line.53"></a>
+<span class="sourceLineNo">054</span>      super(ctx, op, output, javaMethod, locale, timeZone, mediaType, uriContext);<a name="line.54"></a>
+<span class="sourceLineNo">055</span>      if (op == null || op.isEmpty()) {<a name="line.55"></a>
+<span class="sourceLineNo">056</span>         simpleMode = ctx.simpleMode;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>         escapeSolidus = ctx.escapeSolidus;<a name="line.57"></a>
+<span class="sourceLineNo">058</span>         addBeanTypeProperties = ctx.addBeanTypeProperties;<a name="line.58"></a>
+<span class="sourceLineNo">059</span>      } else {<a name="line.59"></a>
+<span class="sourceLineNo">060</span>         simpleMode = op.getBoolean(JSON_simpleMode, ctx.simpleMode);<a name="line.60"></a>
+<span class="sourceLineNo">061</span>         escapeSolidus = op.getBoolean(JSON_escapeSolidus, ctx.escapeSolidus);<a name="line.61"></a>
+<span class="sourceLineNo">062</span>         addBeanTypeProperties = op.getBoolean(JSON_addBeanTypeProperties, ctx.addBeanTypeProperties);<a name="line.62"></a>
+<span class="sourceLineNo">063</span>      }<a name="line.63"></a>
+<span class="sourceLineNo">064</span>   }<a name="line.64"></a>
+<span class="sourceLineNo">065</span><a name="line.65"></a>
+<span class="sourceLineNo">066</span>   /**<a name="line.66"></a>
+<span class="sourceLineNo">067</span>    * Returns the {@link JsonSerializerContext#JSON_simpleMode} setting value for this session.<a name="line.67"></a>
+<span class="sourceLineNo">068</span>    *<a name="line.68"></a>
+<span class="sourceLineNo">069</span>    * @return The {@link JsonSerializerContext#JSON_simpleMode} setting value for this session.<a name="line.69"></a>
+<span class="sourceLineNo">070</span>    */<a name="line.70"></a>
+<span class="sourceLineNo">071</span>   public final boolean isSimpleMode() {<a name="line.71"></a>
+<span class="sourceLineNo">072</span>      return simpleMode;<a name="line.72"></a>
+<span class="sourceLineNo">073</span>   }<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span>   /**<a name="line.75"></a>
+<span class="sourceLineNo">076</span>    * Returns the {@link JsonSerializerContext#JSON_escapeSolidus} setting value for this session.<a name="line.76"></a>
+<span class="sourceLineNo">077</span>    *<a name="line.77"></a>
+<span class="sourceLineNo">078</span>    * @return The {@link JsonSerializerContext#JSON_escapeSolidus} setting value for this session.<a name="line.78"></a>
+<span class="sourceLineNo">079</span>    */<a name="line.79"></a>
+<span class="sourceLineNo">080</span>   public final boolean isEscapeSolidus() {<a name="line.80"></a>
+<span class="sourceLineNo">081</span>      return escapeSolidus;<a name="line.81"></a>
+<span class="sourceLineNo">082</span>   }<a name="line.82"></a>
+<span class="sourceLineNo">083</span><a name="line.83"></a>
+<span class="sourceLineNo">084</span>   /**<a name="line.84"></a>
+<span class="sourceLineNo">085</span>    * Returns the {@link JsonSerializerContext#JSON_addBeanTypeProperties} setting value for this session.<a name="line.85"></a>
+<span class="sourceLineNo">086</span>    *<a name="line.86"></a>
+<span class="sourceLineNo">087</span>    * @return The {@link JsonSerializerContext#JSON_addBeanTypeProperties} setting value for this session.<a name="line.87"></a>
+<span class="sourceLineNo">088</span>    */<a name="line.88"></a>
+<span class="sourceLineNo">089</span>   @Override /* SerializerSession */<a name="line.89"></a>
+<span class="sourceLineNo">090</span>   public final boolean isAddBeanTypeProperties() {<a name="line.90"></a>
+<span class="sourceLineNo">091</span>      return addBeanTypeProperties;<a name="line.91"></a>
+<span class="sourceLineNo">092</span>   }<a name="line.92"></a>
+<span class="sourceLineNo">093</span><a name="line.93"></a>
+<span class="sourceLineNo">094</span>   @Override /* ParserSession */<a name="line.94"></a>
+<span class="sourceLineNo">095</span>   public JsonWriter getWriter() throws Exception {<a name="line.95"></a>
+<span class="sourceLineNo">096</span>      Object output = getOutput();<a name="line.96"></a>
+<span class="sourceLineNo">097</span>      if (output instanceof JsonWriter)<a name="line.97"></a>
+<span class="sourceLineNo">098</span>         return (JsonWriter)output;<a name="line.98"></a>
+<span class="sourceLineNo">099</span>      return new JsonWriter(super.getWriter(), isUseWhitespace(), isEscapeSolidus(), getQuoteChar(), isSimpleMode(), isTrimStrings(), getRelativeUriBase(), getAbsolutePathUriBase(), getUriContext());<a name="line.99"></a>
+<span class="sourceLineNo">100</span>   }<a name="line.100"></a>
+<span class="sourceLineNo">101</span>}<a name="line.101"></a>
 
 
 


Mime
View raw message