@@ -77,6 +77,7 @@ public interface JsonParserFactory {
7777 * Creates a JSON parser from a character stream.
7878 *
7979 * @param reader a i/o reader from which JSON is to be read
80+ * @return the created JSON parser
8081 */
8182 JsonParser createParser (Reader reader );
8283
@@ -86,6 +87,7 @@ public interface JsonParserFactory {
8687 * as specified in <a href="http://tools.ietf.org/rfc/rfc4627.txt">RFC 4627</a>.
8788 *
8889 * @param in i/o stream from which JSON is to be read
90+ * @return the created JSON parser
8991 * @throws javax.json.JsonException if encoding cannot be determined
9092 * or i/o error (IOException would be cause of JsonException)
9193 */
@@ -98,20 +100,23 @@ public interface JsonParserFactory {
98100 *
99101 * @param in i/o stream from which JSON is to be read
100102 * @param charset a charset
103+ * @return the created JSON parser
101104 */
102105 JsonParser createParser (InputStream in , Charset charset );
103106
104107 /**
105108 * Creates a JSON parser from the specified JSON object.
106109 *
107110 * @param obj a JSON object
111+ * @return the created JSON parser
108112 */
109113 JsonParser createParser (JsonObject obj );
110114
111115 /**
112116 * Creates a JSON parser from the specified JSON array.
113117 *
114118 * @param array a JSON array
119+ * @return the created JSON parser
115120 */
116121 JsonParser createParser (JsonArray array );
117122
0 commit comments