Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkjsf.git into...
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / mkjsf / pazpar2 / data / package-info.java
diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/data/package-info.java b/src/main/java/com/indexdata/mkjsf/pazpar2/data/package-info.java
new file mode 100644 (file)
index 0000000..25ee9b4
--- /dev/null
@@ -0,0 +1,17 @@
+/**\r
+ * Pazpar2 responses produced by Pazpar2 commands are parsed by the\r
+ * ResponseParser, which outputs response data objects that are accessible to the UI\r
+ * through the class Responses. \r
+ * \r
+ * <p>Responses is exposed to the UI as <code>pzresp</code></p>\r
+ * \r
+ * <p>Examples:</p>\r
+ * <ul>\r
+ *  <li><code>pzresp.show.hits<code> returns a list of hits from the most recent show command</li>\r
+ *  <li><code>pzresp.show.hits.[0]</code> returns the first hit</li>\r
+ *  <li><code>pzresp.show.hits.[0].author</code> returns the author attribute of the first hit</li>\r
+ *  <li><code>pzresp.show.hits.[0].getOneValue("my-hit-field")</code> returns an arbitrary attribute of the data object</li>\r
+ * </ul>  \r
+ * \r
+ */\r
+package com.indexdata.mkjsf.pazpar2.data;
\ No newline at end of file