juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject [33/51] [partial] incubator-juneau-website git commit: Update javadocs.
Date Sun, 27 Aug 2017 22:20:06 GMT
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2ead32d5/content/site/apidocs/src-html/org/apache/juneau/jena/RdfParser.Xml.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/jena/RdfParser.Xml.html b/content/site/apidocs/src-html/org/apache/juneau/jena/RdfParser.Xml.html
index 035f6e1..e3995fc 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/jena/RdfParser.Xml.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/jena/RdfParser.Xml.html
@@ -24,130 +24,125 @@
 <span class="sourceLineNo">016</span>import static org.apache.juneau.jena.RdfCommonContext.*;<a name="line.16"></a>
 <span class="sourceLineNo">017</span><a name="line.17"></a>
 <span class="sourceLineNo">018</span>import org.apache.juneau.*;<a name="line.18"></a>
-<span class="sourceLineNo">019</span>import org.apache.juneau.annotation.*;<a name="line.19"></a>
-<span class="sourceLineNo">020</span>import org.apache.juneau.parser.*;<a name="line.20"></a>
-<span class="sourceLineNo">021</span><a name="line.21"></a>
-<span class="sourceLineNo">022</span>/**<a name="line.22"></a>
-<span class="sourceLineNo">023</span> * Parses RDF into POJOs.<a name="line.23"></a>
-<span class="sourceLineNo">024</span> *<a name="line.24"></a>
-<span class="sourceLineNo">025</span> * &lt;h5 class='section'&gt;Configurable properties:&lt;/h5&gt;<a name="line.25"></a>
-<span class="sourceLineNo">026</span> * <a name="line.26"></a>
-<span class="sourceLineNo">027</span> * Refer to &lt;a class="doclink" href="package-summary.html#ParserConfigurableProperties"&gt;Configurable Properties&lt;/a&gt;<a name="line.27"></a>
-<span class="sourceLineNo">028</span> * for the entire list of configurable properties.<a name="line.28"></a>
-<span class="sourceLineNo">029</span> *<a name="line.29"></a>
-<span class="sourceLineNo">030</span> * &lt;h6 class='topic'&gt;Behavior-specific subclasses&lt;/h6&gt;<a name="line.30"></a>
-<span class="sourceLineNo">031</span> * <a name="line.31"></a>
-<span class="sourceLineNo">032</span> * The following direct subclasses are provided for language-specific parsers:<a name="line.32"></a>
-<span class="sourceLineNo">033</span> * &lt;ul class='spaced-list'&gt;<a name="line.33"></a>
-<span class="sourceLineNo">034</span> *    &lt;li&gt;<a name="line.34"></a>
-<span class="sourceLineNo">035</span> *       {@link RdfParser.Xml} - RDF/XML and RDF/XML-ABBREV.<a name="line.35"></a>
-<span class="sourceLineNo">036</span> *    &lt;li&gt;<a name="line.36"></a>
-<span class="sourceLineNo">037</span> *       {@link RdfParser.NTriple} - N-TRIPLE.<a name="line.37"></a>
-<span class="sourceLineNo">038</span> *    &lt;li&gt;<a name="line.38"></a>
-<span class="sourceLineNo">039</span> *       {@link RdfParser.Turtle} - TURTLE.<a name="line.39"></a>
-<span class="sourceLineNo">040</span> *    &lt;li&gt;<a name="line.40"></a>
-<span class="sourceLineNo">041</span> *       {@link RdfParser.N3} - N3.<a name="line.41"></a>
-<span class="sourceLineNo">042</span> * &lt;/ul&gt;<a name="line.42"></a>
-<span class="sourceLineNo">043</span> *<a name="line.43"></a>
-<span class="sourceLineNo">044</span> * &lt;h5 class='section'&gt;Additional information:&lt;/h5&gt;<a name="line.44"></a>
-<span class="sourceLineNo">045</span> * <a name="line.45"></a>
-<span class="sourceLineNo">046</span> * See &lt;a class="doclink" href="package-summary.html#TOC"&gt;RDF Overview&lt;/a&gt; for an overview of RDF support in Juneau.<a name="line.46"></a>
-<span class="sourceLineNo">047</span> */<a name="line.47"></a>
-<span class="sourceLineNo">048</span>@Consumes(value="text/xml+rdf")<a name="line.48"></a>
-<span class="sourceLineNo">049</span>public class RdfParser extends ReaderParser {<a name="line.49"></a>
-<span class="sourceLineNo">050</span><a name="line.50"></a>
-<span class="sourceLineNo">051</span>   /** Default XML parser, all default settings.*/<a name="line.51"></a>
-<span class="sourceLineNo">052</span>   public static final RdfParser DEFAULT_XML = new RdfParser(PropertyStore.create());<a name="line.52"></a>
-<span class="sourceLineNo">053</span><a name="line.53"></a>
-<span class="sourceLineNo">054</span>   /** Default Turtle parser, all default settings.*/<a name="line.54"></a>
-<span class="sourceLineNo">055</span>   public static final RdfParser DEFAULT_TURTLE = new Turtle(PropertyStore.create());<a name="line.55"></a>
-<span class="sourceLineNo">056</span><a name="line.56"></a>
-<span class="sourceLineNo">057</span>   /** Default N-Triple parser, all default settings.*/<a name="line.57"></a>
-<span class="sourceLineNo">058</span>   public static final RdfParser DEFAULT_NTRIPLE = new NTriple(PropertyStore.create());<a name="line.58"></a>
-<span class="sourceLineNo">059</span><a name="line.59"></a>
-<span class="sourceLineNo">060</span>   /** Default N3 parser, all default settings.*/<a name="line.60"></a>
-<span class="sourceLineNo">061</span>   public static final RdfParser DEFAULT_N3 = new N3(PropertyStore.create());<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>   /** Consumes RDF/XML input */<a name="line.64"></a>
-<span class="sourceLineNo">065</span>   @Consumes("text/xml+rdf")<a name="line.65"></a>
-<span class="sourceLineNo">066</span>   public static class Xml extends RdfParser {<a name="line.66"></a>
-<span class="sourceLineNo">067</span><a name="line.67"></a>
-<span class="sourceLineNo">068</span>      /**<a name="line.68"></a>
-<span class="sourceLineNo">069</span>       * Constructor.<a name="line.69"></a>
-<span class="sourceLineNo">070</span>       * <a name="line.70"></a>
-<span class="sourceLineNo">071</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.71"></a>
-<span class="sourceLineNo">072</span>       */<a name="line.72"></a>
-<span class="sourceLineNo">073</span>      public Xml(PropertyStore propertyStore) {<a name="line.73"></a>
-<span class="sourceLineNo">074</span>         super(propertyStore.copy().append(RDF_language, LANG_RDF_XML));<a name="line.74"></a>
-<span class="sourceLineNo">075</span>      }<a name="line.75"></a>
-<span class="sourceLineNo">076</span>   }<a name="line.76"></a>
+<span class="sourceLineNo">019</span>import org.apache.juneau.parser.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>/**<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Parses RDF into POJOs.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> *<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * &lt;h5 class='section'&gt;Configurable properties:&lt;/h5&gt;<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <a name="line.25"></a>
+<span class="sourceLineNo">026</span> * Refer to &lt;a class="doclink" href="package-summary.html#ParserConfigurableProperties"&gt;Configurable Properties&lt;/a&gt;<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * for the entire list of configurable properties.<a name="line.27"></a>
+<span class="sourceLineNo">028</span> *<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * &lt;h6 class='topic'&gt;Behavior-specific subclasses&lt;/h6&gt;<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <a name="line.30"></a>
+<span class="sourceLineNo">031</span> * The following direct subclasses are provided for language-specific parsers:<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * &lt;ul class='spaced-list'&gt;<a name="line.32"></a>
+<span class="sourceLineNo">033</span> *    &lt;li&gt;<a name="line.33"></a>
+<span class="sourceLineNo">034</span> *       {@link RdfParser.Xml} - RDF/XML and RDF/XML-ABBREV.<a name="line.34"></a>
+<span class="sourceLineNo">035</span> *    &lt;li&gt;<a name="line.35"></a>
+<span class="sourceLineNo">036</span> *       {@link RdfParser.NTriple} - N-TRIPLE.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> *    &lt;li&gt;<a name="line.37"></a>
+<span class="sourceLineNo">038</span> *       {@link RdfParser.Turtle} - TURTLE.<a name="line.38"></a>
+<span class="sourceLineNo">039</span> *    &lt;li&gt;<a name="line.39"></a>
+<span class="sourceLineNo">040</span> *       {@link RdfParser.N3} - N3.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * &lt;/ul&gt;<a name="line.41"></a>
+<span class="sourceLineNo">042</span> *<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * &lt;h5 class='section'&gt;Additional information:&lt;/h5&gt;<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <a name="line.44"></a>
+<span class="sourceLineNo">045</span> * See &lt;a class="doclink" href="package-summary.html#TOC"&gt;RDF Overview&lt;/a&gt; for an overview of RDF support in Juneau.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> */<a name="line.46"></a>
+<span class="sourceLineNo">047</span>public class RdfParser extends ReaderParser {<a name="line.47"></a>
+<span class="sourceLineNo">048</span><a name="line.48"></a>
+<span class="sourceLineNo">049</span>   /** Default XML parser, all default settings.*/<a name="line.49"></a>
+<span class="sourceLineNo">050</span>   public static final RdfParser DEFAULT_XML = new Xml(PropertyStore.create());<a name="line.50"></a>
+<span class="sourceLineNo">051</span><a name="line.51"></a>
+<span class="sourceLineNo">052</span>   /** Default Turtle parser, all default settings.*/<a name="line.52"></a>
+<span class="sourceLineNo">053</span>   public static final RdfParser DEFAULT_TURTLE = new Turtle(PropertyStore.create());<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span>   /** Default N-Triple parser, all default settings.*/<a name="line.55"></a>
+<span class="sourceLineNo">056</span>   public static final RdfParser DEFAULT_NTRIPLE = new NTriple(PropertyStore.create());<a name="line.56"></a>
+<span class="sourceLineNo">057</span><a name="line.57"></a>
+<span class="sourceLineNo">058</span>   /** Default N3 parser, all default settings.*/<a name="line.58"></a>
+<span class="sourceLineNo">059</span>   public static final RdfParser DEFAULT_N3 = new N3(PropertyStore.create());<a name="line.59"></a>
+<span class="sourceLineNo">060</span><a name="line.60"></a>
+<span class="sourceLineNo">061</span><a name="line.61"></a>
+<span class="sourceLineNo">062</span>   /** Consumes RDF/XML input */<a name="line.62"></a>
+<span class="sourceLineNo">063</span>   public static class Xml extends RdfParser {<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>       * Constructor.<a name="line.66"></a>
+<span class="sourceLineNo">067</span>       * <a name="line.67"></a>
+<span class="sourceLineNo">068</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.68"></a>
+<span class="sourceLineNo">069</span>       */<a name="line.69"></a>
+<span class="sourceLineNo">070</span>      public Xml(PropertyStore propertyStore) {<a name="line.70"></a>
+<span class="sourceLineNo">071</span>         super(propertyStore.copy().append(RDF_language, LANG_RDF_XML), "text/xml+rdf");<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><a name="line.74"></a>
+<span class="sourceLineNo">075</span>   /** Consumes N-Triple input */<a name="line.75"></a>
+<span class="sourceLineNo">076</span>   public static class NTriple extends RdfParser {<a name="line.76"></a>
 <span class="sourceLineNo">077</span><a name="line.77"></a>
-<span class="sourceLineNo">078</span>   /** Consumes N-Triple input */<a name="line.78"></a>
-<span class="sourceLineNo">079</span>   @Consumes(value="text/n-triple")<a name="line.79"></a>
-<span class="sourceLineNo">080</span>   public static class NTriple extends RdfParser {<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>       * Constructor.<a name="line.83"></a>
-<span class="sourceLineNo">084</span>       * <a name="line.84"></a>
-<span class="sourceLineNo">085</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.85"></a>
-<span class="sourceLineNo">086</span>       */<a name="line.86"></a>
-<span class="sourceLineNo">087</span>      public NTriple(PropertyStore propertyStore) {<a name="line.87"></a>
-<span class="sourceLineNo">088</span>         super(propertyStore.copy().append(RDF_language, LANG_NTRIPLE));<a name="line.88"></a>
-<span class="sourceLineNo">089</span>      }<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>   /** Consumes Turtle input */<a name="line.92"></a>
-<span class="sourceLineNo">093</span>   @Consumes(value="text/turtle")<a name="line.93"></a>
-<span class="sourceLineNo">094</span>   public static class Turtle extends RdfParser {<a name="line.94"></a>
-<span class="sourceLineNo">095</span><a name="line.95"></a>
-<span class="sourceLineNo">096</span>      /**<a name="line.96"></a>
-<span class="sourceLineNo">097</span>       * Constructor.<a name="line.97"></a>
-<span class="sourceLineNo">098</span>       * <a name="line.98"></a>
-<span class="sourceLineNo">099</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.99"></a>
-<span class="sourceLineNo">100</span>       */<a name="line.100"></a>
-<span class="sourceLineNo">101</span>      public Turtle(PropertyStore propertyStore) {<a name="line.101"></a>
-<span class="sourceLineNo">102</span>         super(propertyStore.copy().append(RDF_language, LANG_TURTLE));<a name="line.102"></a>
-<span class="sourceLineNo">103</span>      }<a name="line.103"></a>
-<span class="sourceLineNo">104</span>   }<a name="line.104"></a>
-<span class="sourceLineNo">105</span><a name="line.105"></a>
-<span class="sourceLineNo">106</span>   /** Consumes N3 input */<a name="line.106"></a>
-<span class="sourceLineNo">107</span>   @Consumes(value="text/n3")<a name="line.107"></a>
-<span class="sourceLineNo">108</span>   public static class N3 extends RdfParser {<a name="line.108"></a>
-<span class="sourceLineNo">109</span><a name="line.109"></a>
-<span class="sourceLineNo">110</span>      /**<a name="line.110"></a>
-<span class="sourceLineNo">111</span>       * Constructor.<a name="line.111"></a>
-<span class="sourceLineNo">112</span>       * <a name="line.112"></a>
-<span class="sourceLineNo">113</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.113"></a>
-<span class="sourceLineNo">114</span>       */<a name="line.114"></a>
-<span class="sourceLineNo">115</span>      public N3(PropertyStore propertyStore) {<a name="line.115"></a>
-<span class="sourceLineNo">116</span>         super(propertyStore.copy().append(RDF_language, LANG_N3));<a name="line.116"></a>
-<span class="sourceLineNo">117</span>      }<a name="line.117"></a>
-<span class="sourceLineNo">118</span>   }<a name="line.118"></a>
-<span class="sourceLineNo">119</span><a name="line.119"></a>
-<span class="sourceLineNo">120</span><a name="line.120"></a>
-<span class="sourceLineNo">121</span>   private final RdfParserContext ctx;<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>    * Constructor.<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    * <a name="line.125"></a>
-<span class="sourceLineNo">126</span>    * @param propertyStore The property store containing all the settings for this object.<a name="line.126"></a>
-<span class="sourceLineNo">127</span>    */<a name="line.127"></a>
-<span class="sourceLineNo">128</span>   public RdfParser(PropertyStore propertyStore) {<a name="line.128"></a>
-<span class="sourceLineNo">129</span>      super(propertyStore);<a name="line.129"></a>
-<span class="sourceLineNo">130</span>      this.ctx = createContext(RdfParserContext.class);<a name="line.130"></a>
+<span class="sourceLineNo">078</span>      /**<a name="line.78"></a>
+<span class="sourceLineNo">079</span>       * Constructor.<a name="line.79"></a>
+<span class="sourceLineNo">080</span>       * <a name="line.80"></a>
+<span class="sourceLineNo">081</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.81"></a>
+<span class="sourceLineNo">082</span>       */<a name="line.82"></a>
+<span class="sourceLineNo">083</span>      public NTriple(PropertyStore propertyStore) {<a name="line.83"></a>
+<span class="sourceLineNo">084</span>         super(propertyStore.copy().append(RDF_language, LANG_NTRIPLE), "text/n-triple");<a name="line.84"></a>
+<span class="sourceLineNo">085</span>      }<a name="line.85"></a>
+<span class="sourceLineNo">086</span>   }<a name="line.86"></a>
+<span class="sourceLineNo">087</span><a name="line.87"></a>
+<span class="sourceLineNo">088</span>   /** Consumes Turtle input */<a name="line.88"></a>
+<span class="sourceLineNo">089</span>   public static class Turtle extends RdfParser {<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>       * Constructor.<a name="line.92"></a>
+<span class="sourceLineNo">093</span>       * <a name="line.93"></a>
+<span class="sourceLineNo">094</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.94"></a>
+<span class="sourceLineNo">095</span>       */<a name="line.95"></a>
+<span class="sourceLineNo">096</span>      public Turtle(PropertyStore propertyStore) {<a name="line.96"></a>
+<span class="sourceLineNo">097</span>         super(propertyStore.copy().append(RDF_language, LANG_TURTLE), "text/turtle");<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">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span>   /** Consumes N3 input */<a name="line.101"></a>
+<span class="sourceLineNo">102</span>   public static class N3 extends RdfParser {<a name="line.102"></a>
+<span class="sourceLineNo">103</span><a name="line.103"></a>
+<span class="sourceLineNo">104</span>      /**<a name="line.104"></a>
+<span class="sourceLineNo">105</span>       * Constructor.<a name="line.105"></a>
+<span class="sourceLineNo">106</span>       * <a name="line.106"></a>
+<span class="sourceLineNo">107</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.107"></a>
+<span class="sourceLineNo">108</span>       */<a name="line.108"></a>
+<span class="sourceLineNo">109</span>      public N3(PropertyStore propertyStore) {<a name="line.109"></a>
+<span class="sourceLineNo">110</span>         super(propertyStore.copy().append(RDF_language, LANG_N3), "text/n3");<a name="line.110"></a>
+<span class="sourceLineNo">111</span>      }<a name="line.111"></a>
+<span class="sourceLineNo">112</span>   }<a name="line.112"></a>
+<span class="sourceLineNo">113</span><a name="line.113"></a>
+<span class="sourceLineNo">114</span><a name="line.114"></a>
+<span class="sourceLineNo">115</span>   private final RdfParserContext ctx;<a name="line.115"></a>
+<span class="sourceLineNo">116</span><a name="line.116"></a>
+<span class="sourceLineNo">117</span>   /**<a name="line.117"></a>
+<span class="sourceLineNo">118</span>    * Constructor.<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    * <a name="line.119"></a>
+<span class="sourceLineNo">120</span>    * @param propertyStore The property store containing all the settings for this object.<a name="line.120"></a>
+<span class="sourceLineNo">121</span>    * @param consumes The list of media types that this parser consumes (e.g. &lt;js&gt;"application/json"&lt;/js&gt;).<a name="line.121"></a>
+<span class="sourceLineNo">122</span>    */<a name="line.122"></a>
+<span class="sourceLineNo">123</span>   public RdfParser(PropertyStore propertyStore, String...consumes) {<a name="line.123"></a>
+<span class="sourceLineNo">124</span>      super(propertyStore, consumes);<a name="line.124"></a>
+<span class="sourceLineNo">125</span>      this.ctx = createContext(RdfParserContext.class);<a name="line.125"></a>
+<span class="sourceLineNo">126</span>   }<a name="line.126"></a>
+<span class="sourceLineNo">127</span>   <a name="line.127"></a>
+<span class="sourceLineNo">128</span>   @Override /* CoreObject */<a name="line.128"></a>
+<span class="sourceLineNo">129</span>   public RdfParserBuilder builder() {<a name="line.129"></a>
+<span class="sourceLineNo">130</span>      return new RdfParserBuilder(propertyStore);<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>   @Override /* CoreObject */<a name="line.133"></a>
-<span class="sourceLineNo">134</span>   public RdfParserBuilder builder() {<a name="line.134"></a>
-<span class="sourceLineNo">135</span>      return new RdfParserBuilder(propertyStore);<a name="line.135"></a>
+<span class="sourceLineNo">133</span>   @Override /* Parser */<a name="line.133"></a>
+<span class="sourceLineNo">134</span>   public ReaderParserSession createSession(ParserSessionArgs args) {<a name="line.134"></a>
+<span class="sourceLineNo">135</span>      return new RdfParserSession(ctx, args);<a name="line.135"></a>
 <span class="sourceLineNo">136</span>   }<a name="line.136"></a>
-<span class="sourceLineNo">137</span><a name="line.137"></a>
-<span class="sourceLineNo">138</span>   @Override /* Parser */<a name="line.138"></a>
-<span class="sourceLineNo">139</span>   public ReaderParserSession createSession(ParserSessionArgs args) {<a name="line.139"></a>
-<span class="sourceLineNo">140</span>      return new RdfParserSession(ctx, args);<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">137</span>}<a name="line.137"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2ead32d5/content/site/apidocs/src-html/org/apache/juneau/jena/RdfParser.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/jena/RdfParser.html b/content/site/apidocs/src-html/org/apache/juneau/jena/RdfParser.html
index 035f6e1..e3995fc 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/jena/RdfParser.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/jena/RdfParser.html
@@ -24,130 +24,125 @@
 <span class="sourceLineNo">016</span>import static org.apache.juneau.jena.RdfCommonContext.*;<a name="line.16"></a>
 <span class="sourceLineNo">017</span><a name="line.17"></a>
 <span class="sourceLineNo">018</span>import org.apache.juneau.*;<a name="line.18"></a>
-<span class="sourceLineNo">019</span>import org.apache.juneau.annotation.*;<a name="line.19"></a>
-<span class="sourceLineNo">020</span>import org.apache.juneau.parser.*;<a name="line.20"></a>
-<span class="sourceLineNo">021</span><a name="line.21"></a>
-<span class="sourceLineNo">022</span>/**<a name="line.22"></a>
-<span class="sourceLineNo">023</span> * Parses RDF into POJOs.<a name="line.23"></a>
-<span class="sourceLineNo">024</span> *<a name="line.24"></a>
-<span class="sourceLineNo">025</span> * &lt;h5 class='section'&gt;Configurable properties:&lt;/h5&gt;<a name="line.25"></a>
-<span class="sourceLineNo">026</span> * <a name="line.26"></a>
-<span class="sourceLineNo">027</span> * Refer to &lt;a class="doclink" href="package-summary.html#ParserConfigurableProperties"&gt;Configurable Properties&lt;/a&gt;<a name="line.27"></a>
-<span class="sourceLineNo">028</span> * for the entire list of configurable properties.<a name="line.28"></a>
-<span class="sourceLineNo">029</span> *<a name="line.29"></a>
-<span class="sourceLineNo">030</span> * &lt;h6 class='topic'&gt;Behavior-specific subclasses&lt;/h6&gt;<a name="line.30"></a>
-<span class="sourceLineNo">031</span> * <a name="line.31"></a>
-<span class="sourceLineNo">032</span> * The following direct subclasses are provided for language-specific parsers:<a name="line.32"></a>
-<span class="sourceLineNo">033</span> * &lt;ul class='spaced-list'&gt;<a name="line.33"></a>
-<span class="sourceLineNo">034</span> *    &lt;li&gt;<a name="line.34"></a>
-<span class="sourceLineNo">035</span> *       {@link RdfParser.Xml} - RDF/XML and RDF/XML-ABBREV.<a name="line.35"></a>
-<span class="sourceLineNo">036</span> *    &lt;li&gt;<a name="line.36"></a>
-<span class="sourceLineNo">037</span> *       {@link RdfParser.NTriple} - N-TRIPLE.<a name="line.37"></a>
-<span class="sourceLineNo">038</span> *    &lt;li&gt;<a name="line.38"></a>
-<span class="sourceLineNo">039</span> *       {@link RdfParser.Turtle} - TURTLE.<a name="line.39"></a>
-<span class="sourceLineNo">040</span> *    &lt;li&gt;<a name="line.40"></a>
-<span class="sourceLineNo">041</span> *       {@link RdfParser.N3} - N3.<a name="line.41"></a>
-<span class="sourceLineNo">042</span> * &lt;/ul&gt;<a name="line.42"></a>
-<span class="sourceLineNo">043</span> *<a name="line.43"></a>
-<span class="sourceLineNo">044</span> * &lt;h5 class='section'&gt;Additional information:&lt;/h5&gt;<a name="line.44"></a>
-<span class="sourceLineNo">045</span> * <a name="line.45"></a>
-<span class="sourceLineNo">046</span> * See &lt;a class="doclink" href="package-summary.html#TOC"&gt;RDF Overview&lt;/a&gt; for an overview of RDF support in Juneau.<a name="line.46"></a>
-<span class="sourceLineNo">047</span> */<a name="line.47"></a>
-<span class="sourceLineNo">048</span>@Consumes(value="text/xml+rdf")<a name="line.48"></a>
-<span class="sourceLineNo">049</span>public class RdfParser extends ReaderParser {<a name="line.49"></a>
-<span class="sourceLineNo">050</span><a name="line.50"></a>
-<span class="sourceLineNo">051</span>   /** Default XML parser, all default settings.*/<a name="line.51"></a>
-<span class="sourceLineNo">052</span>   public static final RdfParser DEFAULT_XML = new RdfParser(PropertyStore.create());<a name="line.52"></a>
-<span class="sourceLineNo">053</span><a name="line.53"></a>
-<span class="sourceLineNo">054</span>   /** Default Turtle parser, all default settings.*/<a name="line.54"></a>
-<span class="sourceLineNo">055</span>   public static final RdfParser DEFAULT_TURTLE = new Turtle(PropertyStore.create());<a name="line.55"></a>
-<span class="sourceLineNo">056</span><a name="line.56"></a>
-<span class="sourceLineNo">057</span>   /** Default N-Triple parser, all default settings.*/<a name="line.57"></a>
-<span class="sourceLineNo">058</span>   public static final RdfParser DEFAULT_NTRIPLE = new NTriple(PropertyStore.create());<a name="line.58"></a>
-<span class="sourceLineNo">059</span><a name="line.59"></a>
-<span class="sourceLineNo">060</span>   /** Default N3 parser, all default settings.*/<a name="line.60"></a>
-<span class="sourceLineNo">061</span>   public static final RdfParser DEFAULT_N3 = new N3(PropertyStore.create());<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>   /** Consumes RDF/XML input */<a name="line.64"></a>
-<span class="sourceLineNo">065</span>   @Consumes("text/xml+rdf")<a name="line.65"></a>
-<span class="sourceLineNo">066</span>   public static class Xml extends RdfParser {<a name="line.66"></a>
-<span class="sourceLineNo">067</span><a name="line.67"></a>
-<span class="sourceLineNo">068</span>      /**<a name="line.68"></a>
-<span class="sourceLineNo">069</span>       * Constructor.<a name="line.69"></a>
-<span class="sourceLineNo">070</span>       * <a name="line.70"></a>
-<span class="sourceLineNo">071</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.71"></a>
-<span class="sourceLineNo">072</span>       */<a name="line.72"></a>
-<span class="sourceLineNo">073</span>      public Xml(PropertyStore propertyStore) {<a name="line.73"></a>
-<span class="sourceLineNo">074</span>         super(propertyStore.copy().append(RDF_language, LANG_RDF_XML));<a name="line.74"></a>
-<span class="sourceLineNo">075</span>      }<a name="line.75"></a>
-<span class="sourceLineNo">076</span>   }<a name="line.76"></a>
+<span class="sourceLineNo">019</span>import org.apache.juneau.parser.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>/**<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Parses RDF into POJOs.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> *<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * &lt;h5 class='section'&gt;Configurable properties:&lt;/h5&gt;<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <a name="line.25"></a>
+<span class="sourceLineNo">026</span> * Refer to &lt;a class="doclink" href="package-summary.html#ParserConfigurableProperties"&gt;Configurable Properties&lt;/a&gt;<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * for the entire list of configurable properties.<a name="line.27"></a>
+<span class="sourceLineNo">028</span> *<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * &lt;h6 class='topic'&gt;Behavior-specific subclasses&lt;/h6&gt;<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <a name="line.30"></a>
+<span class="sourceLineNo">031</span> * The following direct subclasses are provided for language-specific parsers:<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * &lt;ul class='spaced-list'&gt;<a name="line.32"></a>
+<span class="sourceLineNo">033</span> *    &lt;li&gt;<a name="line.33"></a>
+<span class="sourceLineNo">034</span> *       {@link RdfParser.Xml} - RDF/XML and RDF/XML-ABBREV.<a name="line.34"></a>
+<span class="sourceLineNo">035</span> *    &lt;li&gt;<a name="line.35"></a>
+<span class="sourceLineNo">036</span> *       {@link RdfParser.NTriple} - N-TRIPLE.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> *    &lt;li&gt;<a name="line.37"></a>
+<span class="sourceLineNo">038</span> *       {@link RdfParser.Turtle} - TURTLE.<a name="line.38"></a>
+<span class="sourceLineNo">039</span> *    &lt;li&gt;<a name="line.39"></a>
+<span class="sourceLineNo">040</span> *       {@link RdfParser.N3} - N3.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * &lt;/ul&gt;<a name="line.41"></a>
+<span class="sourceLineNo">042</span> *<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * &lt;h5 class='section'&gt;Additional information:&lt;/h5&gt;<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <a name="line.44"></a>
+<span class="sourceLineNo">045</span> * See &lt;a class="doclink" href="package-summary.html#TOC"&gt;RDF Overview&lt;/a&gt; for an overview of RDF support in Juneau.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> */<a name="line.46"></a>
+<span class="sourceLineNo">047</span>public class RdfParser extends ReaderParser {<a name="line.47"></a>
+<span class="sourceLineNo">048</span><a name="line.48"></a>
+<span class="sourceLineNo">049</span>   /** Default XML parser, all default settings.*/<a name="line.49"></a>
+<span class="sourceLineNo">050</span>   public static final RdfParser DEFAULT_XML = new Xml(PropertyStore.create());<a name="line.50"></a>
+<span class="sourceLineNo">051</span><a name="line.51"></a>
+<span class="sourceLineNo">052</span>   /** Default Turtle parser, all default settings.*/<a name="line.52"></a>
+<span class="sourceLineNo">053</span>   public static final RdfParser DEFAULT_TURTLE = new Turtle(PropertyStore.create());<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span>   /** Default N-Triple parser, all default settings.*/<a name="line.55"></a>
+<span class="sourceLineNo">056</span>   public static final RdfParser DEFAULT_NTRIPLE = new NTriple(PropertyStore.create());<a name="line.56"></a>
+<span class="sourceLineNo">057</span><a name="line.57"></a>
+<span class="sourceLineNo">058</span>   /** Default N3 parser, all default settings.*/<a name="line.58"></a>
+<span class="sourceLineNo">059</span>   public static final RdfParser DEFAULT_N3 = new N3(PropertyStore.create());<a name="line.59"></a>
+<span class="sourceLineNo">060</span><a name="line.60"></a>
+<span class="sourceLineNo">061</span><a name="line.61"></a>
+<span class="sourceLineNo">062</span>   /** Consumes RDF/XML input */<a name="line.62"></a>
+<span class="sourceLineNo">063</span>   public static class Xml extends RdfParser {<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>       * Constructor.<a name="line.66"></a>
+<span class="sourceLineNo">067</span>       * <a name="line.67"></a>
+<span class="sourceLineNo">068</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.68"></a>
+<span class="sourceLineNo">069</span>       */<a name="line.69"></a>
+<span class="sourceLineNo">070</span>      public Xml(PropertyStore propertyStore) {<a name="line.70"></a>
+<span class="sourceLineNo">071</span>         super(propertyStore.copy().append(RDF_language, LANG_RDF_XML), "text/xml+rdf");<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><a name="line.74"></a>
+<span class="sourceLineNo">075</span>   /** Consumes N-Triple input */<a name="line.75"></a>
+<span class="sourceLineNo">076</span>   public static class NTriple extends RdfParser {<a name="line.76"></a>
 <span class="sourceLineNo">077</span><a name="line.77"></a>
-<span class="sourceLineNo">078</span>   /** Consumes N-Triple input */<a name="line.78"></a>
-<span class="sourceLineNo">079</span>   @Consumes(value="text/n-triple")<a name="line.79"></a>
-<span class="sourceLineNo">080</span>   public static class NTriple extends RdfParser {<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>       * Constructor.<a name="line.83"></a>
-<span class="sourceLineNo">084</span>       * <a name="line.84"></a>
-<span class="sourceLineNo">085</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.85"></a>
-<span class="sourceLineNo">086</span>       */<a name="line.86"></a>
-<span class="sourceLineNo">087</span>      public NTriple(PropertyStore propertyStore) {<a name="line.87"></a>
-<span class="sourceLineNo">088</span>         super(propertyStore.copy().append(RDF_language, LANG_NTRIPLE));<a name="line.88"></a>
-<span class="sourceLineNo">089</span>      }<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>   /** Consumes Turtle input */<a name="line.92"></a>
-<span class="sourceLineNo">093</span>   @Consumes(value="text/turtle")<a name="line.93"></a>
-<span class="sourceLineNo">094</span>   public static class Turtle extends RdfParser {<a name="line.94"></a>
-<span class="sourceLineNo">095</span><a name="line.95"></a>
-<span class="sourceLineNo">096</span>      /**<a name="line.96"></a>
-<span class="sourceLineNo">097</span>       * Constructor.<a name="line.97"></a>
-<span class="sourceLineNo">098</span>       * <a name="line.98"></a>
-<span class="sourceLineNo">099</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.99"></a>
-<span class="sourceLineNo">100</span>       */<a name="line.100"></a>
-<span class="sourceLineNo">101</span>      public Turtle(PropertyStore propertyStore) {<a name="line.101"></a>
-<span class="sourceLineNo">102</span>         super(propertyStore.copy().append(RDF_language, LANG_TURTLE));<a name="line.102"></a>
-<span class="sourceLineNo">103</span>      }<a name="line.103"></a>
-<span class="sourceLineNo">104</span>   }<a name="line.104"></a>
-<span class="sourceLineNo">105</span><a name="line.105"></a>
-<span class="sourceLineNo">106</span>   /** Consumes N3 input */<a name="line.106"></a>
-<span class="sourceLineNo">107</span>   @Consumes(value="text/n3")<a name="line.107"></a>
-<span class="sourceLineNo">108</span>   public static class N3 extends RdfParser {<a name="line.108"></a>
-<span class="sourceLineNo">109</span><a name="line.109"></a>
-<span class="sourceLineNo">110</span>      /**<a name="line.110"></a>
-<span class="sourceLineNo">111</span>       * Constructor.<a name="line.111"></a>
-<span class="sourceLineNo">112</span>       * <a name="line.112"></a>
-<span class="sourceLineNo">113</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.113"></a>
-<span class="sourceLineNo">114</span>       */<a name="line.114"></a>
-<span class="sourceLineNo">115</span>      public N3(PropertyStore propertyStore) {<a name="line.115"></a>
-<span class="sourceLineNo">116</span>         super(propertyStore.copy().append(RDF_language, LANG_N3));<a name="line.116"></a>
-<span class="sourceLineNo">117</span>      }<a name="line.117"></a>
-<span class="sourceLineNo">118</span>   }<a name="line.118"></a>
-<span class="sourceLineNo">119</span><a name="line.119"></a>
-<span class="sourceLineNo">120</span><a name="line.120"></a>
-<span class="sourceLineNo">121</span>   private final RdfParserContext ctx;<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>    * Constructor.<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    * <a name="line.125"></a>
-<span class="sourceLineNo">126</span>    * @param propertyStore The property store containing all the settings for this object.<a name="line.126"></a>
-<span class="sourceLineNo">127</span>    */<a name="line.127"></a>
-<span class="sourceLineNo">128</span>   public RdfParser(PropertyStore propertyStore) {<a name="line.128"></a>
-<span class="sourceLineNo">129</span>      super(propertyStore);<a name="line.129"></a>
-<span class="sourceLineNo">130</span>      this.ctx = createContext(RdfParserContext.class);<a name="line.130"></a>
+<span class="sourceLineNo">078</span>      /**<a name="line.78"></a>
+<span class="sourceLineNo">079</span>       * Constructor.<a name="line.79"></a>
+<span class="sourceLineNo">080</span>       * <a name="line.80"></a>
+<span class="sourceLineNo">081</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.81"></a>
+<span class="sourceLineNo">082</span>       */<a name="line.82"></a>
+<span class="sourceLineNo">083</span>      public NTriple(PropertyStore propertyStore) {<a name="line.83"></a>
+<span class="sourceLineNo">084</span>         super(propertyStore.copy().append(RDF_language, LANG_NTRIPLE), "text/n-triple");<a name="line.84"></a>
+<span class="sourceLineNo">085</span>      }<a name="line.85"></a>
+<span class="sourceLineNo">086</span>   }<a name="line.86"></a>
+<span class="sourceLineNo">087</span><a name="line.87"></a>
+<span class="sourceLineNo">088</span>   /** Consumes Turtle input */<a name="line.88"></a>
+<span class="sourceLineNo">089</span>   public static class Turtle extends RdfParser {<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>       * Constructor.<a name="line.92"></a>
+<span class="sourceLineNo">093</span>       * <a name="line.93"></a>
+<span class="sourceLineNo">094</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.94"></a>
+<span class="sourceLineNo">095</span>       */<a name="line.95"></a>
+<span class="sourceLineNo">096</span>      public Turtle(PropertyStore propertyStore) {<a name="line.96"></a>
+<span class="sourceLineNo">097</span>         super(propertyStore.copy().append(RDF_language, LANG_TURTLE), "text/turtle");<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">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span>   /** Consumes N3 input */<a name="line.101"></a>
+<span class="sourceLineNo">102</span>   public static class N3 extends RdfParser {<a name="line.102"></a>
+<span class="sourceLineNo">103</span><a name="line.103"></a>
+<span class="sourceLineNo">104</span>      /**<a name="line.104"></a>
+<span class="sourceLineNo">105</span>       * Constructor.<a name="line.105"></a>
+<span class="sourceLineNo">106</span>       * <a name="line.106"></a>
+<span class="sourceLineNo">107</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.107"></a>
+<span class="sourceLineNo">108</span>       */<a name="line.108"></a>
+<span class="sourceLineNo">109</span>      public N3(PropertyStore propertyStore) {<a name="line.109"></a>
+<span class="sourceLineNo">110</span>         super(propertyStore.copy().append(RDF_language, LANG_N3), "text/n3");<a name="line.110"></a>
+<span class="sourceLineNo">111</span>      }<a name="line.111"></a>
+<span class="sourceLineNo">112</span>   }<a name="line.112"></a>
+<span class="sourceLineNo">113</span><a name="line.113"></a>
+<span class="sourceLineNo">114</span><a name="line.114"></a>
+<span class="sourceLineNo">115</span>   private final RdfParserContext ctx;<a name="line.115"></a>
+<span class="sourceLineNo">116</span><a name="line.116"></a>
+<span class="sourceLineNo">117</span>   /**<a name="line.117"></a>
+<span class="sourceLineNo">118</span>    * Constructor.<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    * <a name="line.119"></a>
+<span class="sourceLineNo">120</span>    * @param propertyStore The property store containing all the settings for this object.<a name="line.120"></a>
+<span class="sourceLineNo">121</span>    * @param consumes The list of media types that this parser consumes (e.g. &lt;js&gt;"application/json"&lt;/js&gt;).<a name="line.121"></a>
+<span class="sourceLineNo">122</span>    */<a name="line.122"></a>
+<span class="sourceLineNo">123</span>   public RdfParser(PropertyStore propertyStore, String...consumes) {<a name="line.123"></a>
+<span class="sourceLineNo">124</span>      super(propertyStore, consumes);<a name="line.124"></a>
+<span class="sourceLineNo">125</span>      this.ctx = createContext(RdfParserContext.class);<a name="line.125"></a>
+<span class="sourceLineNo">126</span>   }<a name="line.126"></a>
+<span class="sourceLineNo">127</span>   <a name="line.127"></a>
+<span class="sourceLineNo">128</span>   @Override /* CoreObject */<a name="line.128"></a>
+<span class="sourceLineNo">129</span>   public RdfParserBuilder builder() {<a name="line.129"></a>
+<span class="sourceLineNo">130</span>      return new RdfParserBuilder(propertyStore);<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>   @Override /* CoreObject */<a name="line.133"></a>
-<span class="sourceLineNo">134</span>   public RdfParserBuilder builder() {<a name="line.134"></a>
-<span class="sourceLineNo">135</span>      return new RdfParserBuilder(propertyStore);<a name="line.135"></a>
+<span class="sourceLineNo">133</span>   @Override /* Parser */<a name="line.133"></a>
+<span class="sourceLineNo">134</span>   public ReaderParserSession createSession(ParserSessionArgs args) {<a name="line.134"></a>
+<span class="sourceLineNo">135</span>      return new RdfParserSession(ctx, args);<a name="line.135"></a>
 <span class="sourceLineNo">136</span>   }<a name="line.136"></a>
-<span class="sourceLineNo">137</span><a name="line.137"></a>
-<span class="sourceLineNo">138</span>   @Override /* Parser */<a name="line.138"></a>
-<span class="sourceLineNo">139</span>   public ReaderParserSession createSession(ParserSessionArgs args) {<a name="line.139"></a>
-<span class="sourceLineNo">140</span>      return new RdfParserSession(ctx, args);<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">137</span>}<a name="line.137"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2ead32d5/content/site/apidocs/src-html/org/apache/juneau/jena/RdfParserBuilder.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/jena/RdfParserBuilder.html b/content/site/apidocs/src-html/org/apache/juneau/jena/RdfParserBuilder.html
index 7f030f4..3244e7d 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/jena/RdfParserBuilder.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/jena/RdfParserBuilder.html
@@ -55,7 +55,7 @@
 <span class="sourceLineNo">047</span><a name="line.47"></a>
 <span class="sourceLineNo">048</span>   @Override /* CoreObjectBuilder */<a name="line.48"></a>
 <span class="sourceLineNo">049</span>   public RdfParser build() {<a name="line.49"></a>
-<span class="sourceLineNo">050</span>      return new RdfParser(propertyStore);<a name="line.50"></a>
+<span class="sourceLineNo">050</span>      return new RdfParser(propertyStore, "text/xml+rdf");<a name="line.50"></a>
 <span class="sourceLineNo">051</span>   }<a name="line.51"></a>
 <span class="sourceLineNo">052</span><a name="line.52"></a>
 <span class="sourceLineNo">053</span><a name="line.53"></a>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2ead32d5/content/site/apidocs/src-html/org/apache/juneau/jena/RdfSerializer.N3.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/jena/RdfSerializer.N3.html b/content/site/apidocs/src-html/org/apache/juneau/jena/RdfSerializer.N3.html
index d03eb62..e3f2a96 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/jena/RdfSerializer.N3.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/jena/RdfSerializer.N3.html
@@ -24,144 +24,153 @@
 <span class="sourceLineNo">016</span>import static org.apache.juneau.jena.RdfCommonContext.*;<a name="line.16"></a>
 <span class="sourceLineNo">017</span><a name="line.17"></a>
 <span class="sourceLineNo">018</span>import org.apache.juneau.*;<a name="line.18"></a>
-<span class="sourceLineNo">019</span>import org.apache.juneau.annotation.*;<a name="line.19"></a>
-<span class="sourceLineNo">020</span>import org.apache.juneau.serializer.*;<a name="line.20"></a>
-<span class="sourceLineNo">021</span><a name="line.21"></a>
-<span class="sourceLineNo">022</span>/**<a name="line.22"></a>
-<span class="sourceLineNo">023</span> * Serializes POJOs to RDF.<a name="line.23"></a>
-<span class="sourceLineNo">024</span> *<a name="line.24"></a>
-<span class="sourceLineNo">025</span> * &lt;h5 class='section'&gt;Configurable properties:&lt;/h5&gt;<a name="line.25"></a>
-<span class="sourceLineNo">026</span> * <a name="line.26"></a>
-<span class="sourceLineNo">027</span> * Refer to &lt;a class="doclink" href="package-summary.html#SerializerConfigurableProperties"&gt;Configurable Properties&lt;/a&gt;<a name="line.27"></a>
-<span class="sourceLineNo">028</span> *    for the entire list of configurable properties.<a name="line.28"></a>
-<span class="sourceLineNo">029</span> *<a name="line.29"></a>
-<span class="sourceLineNo">030</span> * &lt;h6 class='topic'&gt;Behavior-specific subclasses&lt;/h6&gt;<a name="line.30"></a>
-<span class="sourceLineNo">031</span> * <a name="line.31"></a>
-<span class="sourceLineNo">032</span> * The following direct subclasses are provided for language-specific serializers:<a name="line.32"></a>
-<span class="sourceLineNo">033</span> * &lt;ul&gt;<a name="line.33"></a>
-<span class="sourceLineNo">034</span> *    &lt;li&gt;{@link RdfSerializer.Xml} - RDF/XML.<a name="line.34"></a>
-<span class="sourceLineNo">035</span> *    &lt;li&gt;{@link RdfSerializer.XmlAbbrev} - RDF/XML-ABBREV.<a name="line.35"></a>
-<span class="sourceLineNo">036</span> *    &lt;li&gt;{@link RdfSerializer.NTriple} - N-TRIPLE.<a name="line.36"></a>
-<span class="sourceLineNo">037</span> *    &lt;li&gt;{@link RdfSerializer.Turtle} - TURTLE.<a name="line.37"></a>
-<span class="sourceLineNo">038</span> *    &lt;li&gt;{@link RdfSerializer.N3} - N3.<a name="line.38"></a>
-<span class="sourceLineNo">039</span> * &lt;/ul&gt;<a name="line.39"></a>
-<span class="sourceLineNo">040</span> *<a name="line.40"></a>
-<span class="sourceLineNo">041</span> * &lt;h5 class='section'&gt;Additional information:&lt;/h5&gt;<a name="line.41"></a>
-<span class="sourceLineNo">042</span> * <a name="line.42"></a>
-<span class="sourceLineNo">043</span> * See &lt;a class="doclink" href="package-summary.html#TOC"&gt;RDF Overview&lt;/a&gt; for an overview of RDF support in Juneau.<a name="line.43"></a>
-<span class="sourceLineNo">044</span> */<a name="line.44"></a>
-<span class="sourceLineNo">045</span>@Produces(value="text/xml+rdf+abbrev", contentType="text/xml+rdf")<a name="line.45"></a>
-<span class="sourceLineNo">046</span>public class RdfSerializer extends WriterSerializer {<a name="line.46"></a>
-<span class="sourceLineNo">047</span><a name="line.47"></a>
-<span class="sourceLineNo">048</span>   /** Default RDF/XML serializer, all default settings.*/<a name="line.48"></a>
-<span class="sourceLineNo">049</span>   public static final RdfSerializer DEFAULT_XML = new Xml(PropertyStore.create());<a name="line.49"></a>
-<span class="sourceLineNo">050</span><a name="line.50"></a>
-<span class="sourceLineNo">051</span>   /** Default Abbreviated RDF/XML serializer, all default settings.*/<a name="line.51"></a>
-<span class="sourceLineNo">052</span>   public static final RdfSerializer DEFAULT_XMLABBREV = new XmlAbbrev(PropertyStore.create());<a name="line.52"></a>
-<span class="sourceLineNo">053</span><a name="line.53"></a>
-<span class="sourceLineNo">054</span>   /** Default Turtle serializer, all default settings.*/<a name="line.54"></a>
-<span class="sourceLineNo">055</span>   public static final RdfSerializer DEFAULT_TURTLE = new Turtle(PropertyStore.create());<a name="line.55"></a>
-<span class="sourceLineNo">056</span><a name="line.56"></a>
-<span class="sourceLineNo">057</span>   /** Default N-Triple serializer, all default settings.*/<a name="line.57"></a>
-<span class="sourceLineNo">058</span>   public static final RdfSerializer DEFAULT_NTRIPLE = new NTriple(PropertyStore.create());<a name="line.58"></a>
-<span class="sourceLineNo">059</span><a name="line.59"></a>
-<span class="sourceLineNo">060</span>   /** Default N3 serializer, all default settings.*/<a name="line.60"></a>
-<span class="sourceLineNo">061</span>   public static final RdfSerializer DEFAULT_N3 = new N3(PropertyStore.create());<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>   /** Produces RDF/XML output */<a name="line.64"></a>
-<span class="sourceLineNo">065</span>   @Produces("text/xml+rdf")<a name="line.65"></a>
-<span class="sourceLineNo">066</span>   public static class Xml extends RdfSerializer {<a name="line.66"></a>
-<span class="sourceLineNo">067</span><a name="line.67"></a>
-<span class="sourceLineNo">068</span>      /**<a name="line.68"></a>
-<span class="sourceLineNo">069</span>       * Constructor.<a name="line.69"></a>
-<span class="sourceLineNo">070</span>       * <a name="line.70"></a>
-<span class="sourceLineNo">071</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.71"></a>
-<span class="sourceLineNo">072</span>       */<a name="line.72"></a>
-<span class="sourceLineNo">073</span>      public Xml(PropertyStore propertyStore) {<a name="line.73"></a>
-<span class="sourceLineNo">074</span>         super(propertyStore.copy().append(RDF_language, LANG_RDF_XML));<a name="line.74"></a>
-<span class="sourceLineNo">075</span>      }<a name="line.75"></a>
-<span class="sourceLineNo">076</span>   }<a name="line.76"></a>
+<span class="sourceLineNo">019</span>import org.apache.juneau.serializer.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>/**<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Serializes POJOs to RDF.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> *<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * &lt;h5 class='section'&gt;Configurable properties:&lt;/h5&gt;<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <a name="line.25"></a>
+<span class="sourceLineNo">026</span> * Refer to &lt;a class="doclink" href="package-summary.html#SerializerConfigurableProperties"&gt;Configurable Properties&lt;/a&gt;<a name="line.26"></a>
+<span class="sourceLineNo">027</span> *    for the entire list of configurable properties.<a name="line.27"></a>
+<span class="sourceLineNo">028</span> *<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * &lt;h6 class='topic'&gt;Behavior-specific subclasses&lt;/h6&gt;<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <a name="line.30"></a>
+<span class="sourceLineNo">031</span> * The following direct subclasses are provided for language-specific serializers:<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * &lt;ul&gt;<a name="line.32"></a>
+<span class="sourceLineNo">033</span> *    &lt;li&gt;{@link RdfSerializer.Xml} - RDF/XML.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> *    &lt;li&gt;{@link RdfSerializer.XmlAbbrev} - RDF/XML-ABBREV.<a name="line.34"></a>
+<span class="sourceLineNo">035</span> *    &lt;li&gt;{@link RdfSerializer.NTriple} - N-TRIPLE.<a name="line.35"></a>
+<span class="sourceLineNo">036</span> *    &lt;li&gt;{@link RdfSerializer.Turtle} - TURTLE.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> *    &lt;li&gt;{@link RdfSerializer.N3} - N3.<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * &lt;/ul&gt;<a name="line.38"></a>
+<span class="sourceLineNo">039</span> *<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * &lt;h5 class='section'&gt;Additional information:&lt;/h5&gt;<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * <a name="line.41"></a>
+<span class="sourceLineNo">042</span> * See &lt;a class="doclink" href="package-summary.html#TOC"&gt;RDF Overview&lt;/a&gt; for an overview of RDF support in Juneau.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> */<a name="line.43"></a>
+<span class="sourceLineNo">044</span>public class RdfSerializer extends WriterSerializer {<a name="line.44"></a>
+<span class="sourceLineNo">045</span><a name="line.45"></a>
+<span class="sourceLineNo">046</span>   /** Default RDF/XML serializer, all default settings.*/<a name="line.46"></a>
+<span class="sourceLineNo">047</span>   public static final RdfSerializer DEFAULT_XML = new Xml(PropertyStore.create());<a name="line.47"></a>
+<span class="sourceLineNo">048</span><a name="line.48"></a>
+<span class="sourceLineNo">049</span>   /** Default Abbreviated RDF/XML serializer, all default settings.*/<a name="line.49"></a>
+<span class="sourceLineNo">050</span>   public static final RdfSerializer DEFAULT_XMLABBREV = new XmlAbbrev(PropertyStore.create());<a name="line.50"></a>
+<span class="sourceLineNo">051</span><a name="line.51"></a>
+<span class="sourceLineNo">052</span>   /** Default Turtle serializer, all default settings.*/<a name="line.52"></a>
+<span class="sourceLineNo">053</span>   public static final RdfSerializer DEFAULT_TURTLE = new Turtle(PropertyStore.create());<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span>   /** Default N-Triple serializer, all default settings.*/<a name="line.55"></a>
+<span class="sourceLineNo">056</span>   public static final RdfSerializer DEFAULT_NTRIPLE = new NTriple(PropertyStore.create());<a name="line.56"></a>
+<span class="sourceLineNo">057</span><a name="line.57"></a>
+<span class="sourceLineNo">058</span>   /** Default N3 serializer, all default settings.*/<a name="line.58"></a>
+<span class="sourceLineNo">059</span>   public static final RdfSerializer DEFAULT_N3 = new N3(PropertyStore.create());<a name="line.59"></a>
+<span class="sourceLineNo">060</span><a name="line.60"></a>
+<span class="sourceLineNo">061</span><a name="line.61"></a>
+<span class="sourceLineNo">062</span>   /** Produces RDF/XML output */<a name="line.62"></a>
+<span class="sourceLineNo">063</span>   public static class Xml extends RdfSerializer {<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>       * Constructor.<a name="line.66"></a>
+<span class="sourceLineNo">067</span>       * <a name="line.67"></a>
+<span class="sourceLineNo">068</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.68"></a>
+<span class="sourceLineNo">069</span>       */<a name="line.69"></a>
+<span class="sourceLineNo">070</span>      public Xml(PropertyStore propertyStore) {<a name="line.70"></a>
+<span class="sourceLineNo">071</span>         super(propertyStore.copy().append(RDF_language, LANG_RDF_XML), "text/xml+rdf");<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><a name="line.74"></a>
+<span class="sourceLineNo">075</span>   /** Produces Abbreviated RDF/XML output */<a name="line.75"></a>
+<span class="sourceLineNo">076</span>   public static class XmlAbbrev extends RdfSerializer {<a name="line.76"></a>
 <span class="sourceLineNo">077</span><a name="line.77"></a>
-<span class="sourceLineNo">078</span>   /** Produces Abbreviated RDF/XML output */<a name="line.78"></a>
-<span class="sourceLineNo">079</span>   @Produces(value="text/xml+rdf+abbrev", contentType="text/xml+rdf")<a name="line.79"></a>
-<span class="sourceLineNo">080</span>   public static class XmlAbbrev extends RdfSerializer {<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>       * Constructor.<a name="line.83"></a>
-<span class="sourceLineNo">084</span>       * <a name="line.84"></a>
-<span class="sourceLineNo">085</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.85"></a>
-<span class="sourceLineNo">086</span>       */<a name="line.86"></a>
-<span class="sourceLineNo">087</span>      public XmlAbbrev(PropertyStore propertyStore) {<a name="line.87"></a>
-<span class="sourceLineNo">088</span>         super(propertyStore.copy().append(RDF_language, LANG_RDF_XML_ABBREV));<a name="line.88"></a>
-<span class="sourceLineNo">089</span>      }<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>   /** Produces N-Triple output */<a name="line.92"></a>
-<span class="sourceLineNo">093</span>   @Produces("text/n-triple")<a name="line.93"></a>
-<span class="sourceLineNo">094</span>   public static class NTriple extends RdfSerializer {<a name="line.94"></a>
-<span class="sourceLineNo">095</span><a name="line.95"></a>
-<span class="sourceLineNo">096</span>      /**<a name="line.96"></a>
-<span class="sourceLineNo">097</span>       * Constructor.<a name="line.97"></a>
-<span class="sourceLineNo">098</span>       * <a name="line.98"></a>
-<span class="sourceLineNo">099</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.99"></a>
-<span class="sourceLineNo">100</span>       */<a name="line.100"></a>
-<span class="sourceLineNo">101</span>      public NTriple(PropertyStore propertyStore) {<a name="line.101"></a>
-<span class="sourceLineNo">102</span>         super(propertyStore.copy().append(RDF_language, LANG_NTRIPLE));<a name="line.102"></a>
-<span class="sourceLineNo">103</span>      }<a name="line.103"></a>
-<span class="sourceLineNo">104</span>   }<a name="line.104"></a>
-<span class="sourceLineNo">105</span><a name="line.105"></a>
-<span class="sourceLineNo">106</span>   /** Produces Turtle output */<a name="line.106"></a>
-<span class="sourceLineNo">107</span>   @Produces("text/turtle")<a name="line.107"></a>
-<span class="sourceLineNo">108</span>   public static class Turtle extends RdfSerializer {<a name="line.108"></a>
-<span class="sourceLineNo">109</span><a name="line.109"></a>
-<span class="sourceLineNo">110</span>      /**<a name="line.110"></a>
-<span class="sourceLineNo">111</span>       * Constructor.<a name="line.111"></a>
-<span class="sourceLineNo">112</span>       * <a name="line.112"></a>
-<span class="sourceLineNo">113</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.113"></a>
-<span class="sourceLineNo">114</span>       */<a name="line.114"></a>
-<span class="sourceLineNo">115</span>      public Turtle(PropertyStore propertyStore) {<a name="line.115"></a>
-<span class="sourceLineNo">116</span>         super(propertyStore.copy().append(RDF_language, LANG_TURTLE));<a name="line.116"></a>
-<span class="sourceLineNo">117</span>      }<a name="line.117"></a>
-<span class="sourceLineNo">118</span>   }<a name="line.118"></a>
-<span class="sourceLineNo">119</span><a name="line.119"></a>
-<span class="sourceLineNo">120</span>   /** Produces N3 output */<a name="line.120"></a>
-<span class="sourceLineNo">121</span>   @Produces("text/n3")<a name="line.121"></a>
-<span class="sourceLineNo">122</span>   public static class N3 extends RdfSerializer {<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>       * Constructor.<a name="line.125"></a>
-<span class="sourceLineNo">126</span>       * <a name="line.126"></a>
-<span class="sourceLineNo">127</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.127"></a>
-<span class="sourceLineNo">128</span>       */<a name="line.128"></a>
-<span class="sourceLineNo">129</span>      public N3(PropertyStore propertyStore) {<a name="line.129"></a>
-<span class="sourceLineNo">130</span>         super(propertyStore.copy().append(RDF_language, LANG_N3));<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><a name="line.134"></a>
-<span class="sourceLineNo">135</span>   private final RdfSerializerContext ctx;<a name="line.135"></a>
-<span class="sourceLineNo">136</span><a name="line.136"></a>
-<span class="sourceLineNo">137</span>   /**<a name="line.137"></a>
-<span class="sourceLineNo">138</span>    * Constructor.<a name="line.138"></a>
-<span class="sourceLineNo">139</span>    * <a name="line.139"></a>
-<span class="sourceLineNo">140</span>    * @param propertyStore The property store containing all the settings for this object.<a name="line.140"></a>
-<span class="sourceLineNo">141</span>    */<a name="line.141"></a>
-<span class="sourceLineNo">142</span>   public RdfSerializer(PropertyStore propertyStore) {<a name="line.142"></a>
-<span class="sourceLineNo">143</span>      super(propertyStore);<a name="line.143"></a>
-<span class="sourceLineNo">144</span>      this.ctx = createContext(RdfSerializerContext.class);<a name="line.144"></a>
-<span class="sourceLineNo">145</span>   }<a name="line.145"></a>
-<span class="sourceLineNo">146</span><a name="line.146"></a>
-<span class="sourceLineNo">147</span>   @Override /* CoreObject */<a name="line.147"></a>
-<span class="sourceLineNo">148</span>   public RdfSerializerBuilder builder() {<a name="line.148"></a>
-<span class="sourceLineNo">149</span>      return new RdfSerializerBuilder(propertyStore);<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>   @Override /* Serializer */<a name="line.152"></a>
-<span class="sourceLineNo">153</span>   public WriterSerializerSession createSession(SerializerSessionArgs args) {<a name="line.153"></a>
-<span class="sourceLineNo">154</span>      return new RdfSerializerSession(ctx, args);<a name="line.154"></a>
-<span class="sourceLineNo">155</span>   }<a name="line.155"></a>
-<span class="sourceLineNo">156</span>}<a name="line.156"></a>
+<span class="sourceLineNo">078</span>      /**<a name="line.78"></a>
+<span class="sourceLineNo">079</span>       * Constructor.<a name="line.79"></a>
+<span class="sourceLineNo">080</span>       * <a name="line.80"></a>
+<span class="sourceLineNo">081</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.81"></a>
+<span class="sourceLineNo">082</span>       */<a name="line.82"></a>
+<span class="sourceLineNo">083</span>      public XmlAbbrev(PropertyStore propertyStore) {<a name="line.83"></a>
+<span class="sourceLineNo">084</span>         super(propertyStore.copy().append(RDF_language, LANG_RDF_XML_ABBREV), "text/xml+rdf", "text/xml+rdf+abbrev");<a name="line.84"></a>
+<span class="sourceLineNo">085</span>      }<a name="line.85"></a>
+<span class="sourceLineNo">086</span>   }<a name="line.86"></a>
+<span class="sourceLineNo">087</span><a name="line.87"></a>
+<span class="sourceLineNo">088</span>   /** Produces N-Triple output */<a name="line.88"></a>
+<span class="sourceLineNo">089</span>   public static class NTriple extends RdfSerializer {<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>       * Constructor.<a name="line.92"></a>
+<span class="sourceLineNo">093</span>       * <a name="line.93"></a>
+<span class="sourceLineNo">094</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.94"></a>
+<span class="sourceLineNo">095</span>       */<a name="line.95"></a>
+<span class="sourceLineNo">096</span>      public NTriple(PropertyStore propertyStore) {<a name="line.96"></a>
+<span class="sourceLineNo">097</span>         super(propertyStore.copy().append(RDF_language, LANG_NTRIPLE), "text/n-triple");<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">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span>   /** Produces Turtle output */<a name="line.101"></a>
+<span class="sourceLineNo">102</span>   public static class Turtle extends RdfSerializer {<a name="line.102"></a>
+<span class="sourceLineNo">103</span><a name="line.103"></a>
+<span class="sourceLineNo">104</span>      /**<a name="line.104"></a>
+<span class="sourceLineNo">105</span>       * Constructor.<a name="line.105"></a>
+<span class="sourceLineNo">106</span>       * <a name="line.106"></a>
+<span class="sourceLineNo">107</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.107"></a>
+<span class="sourceLineNo">108</span>       */<a name="line.108"></a>
+<span class="sourceLineNo">109</span>      public Turtle(PropertyStore propertyStore) {<a name="line.109"></a>
+<span class="sourceLineNo">110</span>         super(propertyStore.copy().append(RDF_language, LANG_TURTLE), "text/turtle");<a name="line.110"></a>
+<span class="sourceLineNo">111</span>      }<a name="line.111"></a>
+<span class="sourceLineNo">112</span>   }<a name="line.112"></a>
+<span class="sourceLineNo">113</span><a name="line.113"></a>
+<span class="sourceLineNo">114</span>   /** Produces N3 output */<a name="line.114"></a>
+<span class="sourceLineNo">115</span>   public static class N3 extends RdfSerializer {<a name="line.115"></a>
+<span class="sourceLineNo">116</span><a name="line.116"></a>
+<span class="sourceLineNo">117</span>      /**<a name="line.117"></a>
+<span class="sourceLineNo">118</span>       * Constructor.<a name="line.118"></a>
+<span class="sourceLineNo">119</span>       * <a name="line.119"></a>
+<span class="sourceLineNo">120</span>       * @param propertyStore The property store containing all the settings for this object.<a name="line.120"></a>
+<span class="sourceLineNo">121</span>       */<a name="line.121"></a>
+<span class="sourceLineNo">122</span>      public N3(PropertyStore propertyStore) {<a name="line.122"></a>
+<span class="sourceLineNo">123</span>         super(propertyStore.copy().append(RDF_language, LANG_N3), "text/n3");<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><a name="line.127"></a>
+<span class="sourceLineNo">128</span>   private final RdfSerializerContext ctx;<a name="line.128"></a>
+<span class="sourceLineNo">129</span><a name="line.129"></a>
+<span class="sourceLineNo">130</span>   /**<a name="line.130"></a>
+<span class="sourceLineNo">131</span>    * Constructor.<a name="line.131"></a>
+<span class="sourceLineNo">132</span>    *<a name="line.132"></a>
+<span class="sourceLineNo">133</span>    * @param propertyStore<a name="line.133"></a>
+<span class="sourceLineNo">134</span>    *    The property store containing all the settings for this object.<a name="line.134"></a>
+<span class="sourceLineNo">135</span>    * @param produces<a name="line.135"></a>
+<span class="sourceLineNo">136</span>    *    The media type that this serializer produces.<a name="line.136"></a>
+<span class="sourceLineNo">137</span>    * @param accept<a name="line.137"></a>
+<span class="sourceLineNo">138</span>    *    The accept media types that the serializer can handle.<a name="line.138"></a>
+<span class="sourceLineNo">139</span>    *    &lt;p&gt;<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    *    Can contain meta-characters per the &lt;code&gt;media-type&lt;/code&gt; specification of<a name="line.140"></a>
+<span class="sourceLineNo">141</span>    *    &lt;a class="doclink" href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1"&gt;RFC2616/14.1&lt;/a&gt;<a name="line.141"></a>
+<span class="sourceLineNo">142</span>    *    &lt;p&gt;<a name="line.142"></a>
+<span class="sourceLineNo">143</span>    *    If empty, then assumes the only media type supported is &lt;code&gt;produces&lt;/code&gt;.<a name="line.143"></a>
+<span class="sourceLineNo">144</span>    *    &lt;p&gt;<a name="line.144"></a>
+<span class="sourceLineNo">145</span>    *    For example, if this serializer produces &lt;js&gt;"application/json"&lt;/js&gt; but should handle media types of<a name="line.145"></a>
+<span class="sourceLineNo">146</span>    *    &lt;js&gt;"application/json"&lt;/js&gt; and &lt;js&gt;"text/json"&lt;/js&gt;, then the arguments should be:<a name="line.146"></a>
+<span class="sourceLineNo">147</span>    *    &lt;br&gt;&lt;code&gt;&lt;jk&gt;super&lt;/jk&gt;(propertyStore, &lt;js&gt;"application/json"&lt;/js&gt;, &lt;js&gt;"application/json"&lt;/js&gt;, &lt;js&gt;"text/json"&lt;/js&gt;);&lt;/code&gt;<a name="line.147"></a>
+<span class="sourceLineNo">148</span>    *    &lt;br&gt;...or...<a name="line.148"></a>
+<span class="sourceLineNo">149</span>    *    &lt;br&gt;&lt;code&gt;&lt;jk&gt;super&lt;/jk&gt;(propertyStore, &lt;js&gt;"application/json"&lt;/js&gt;, &lt;js&gt;"*&amp;#8203;/json"&lt;/js&gt;);&lt;/code&gt;<a name="line.149"></a>
+<span class="sourceLineNo">150</span>    */<a name="line.150"></a>
+<span class="sourceLineNo">151</span>   public RdfSerializer(PropertyStore propertyStore, String produces, String...accept) {<a name="line.151"></a>
+<span class="sourceLineNo">152</span>      super(propertyStore, produces, accept);<a name="line.152"></a>
+<span class="sourceLineNo">153</span>      this.ctx = createContext(RdfSerializerContext.class);<a name="line.153"></a>
+<span class="sourceLineNo">154</span>   }<a name="line.154"></a>
+<span class="sourceLineNo">155</span><a name="line.155"></a>
+<span class="sourceLineNo">156</span>   @Override /* CoreObject */<a name="line.156"></a>
+<span class="sourceLineNo">157</span>   public RdfSerializerBuilder builder() {<a name="line.157"></a>
+<span class="sourceLineNo">158</span>      return new RdfSerializerBuilder(propertyStore);<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>   @Override /* Serializer */<a name="line.161"></a>
+<span class="sourceLineNo">162</span>   public WriterSerializerSession createSession(SerializerSessionArgs args) {<a name="line.162"></a>
+<span class="sourceLineNo">163</span>      return new RdfSerializerSession(ctx, args);<a name="line.163"></a>
+<span class="sourceLineNo">164</span>   }<a name="line.164"></a>
+<span class="sourceLineNo">165</span>}<a name="line.165"></a>
 
 
 


Mime
View raw message