File tree Expand file tree Collapse file tree 2 files changed +20
-16
lines changed
src/main/java/com/marklogic/client/admin/config Expand file tree Collapse file tree 2 files changed +20
-16
lines changed Original file line number Diff line number Diff line change 4949 * {@link com.marklogic.client.io.marker.StructureReadHandle read handle}
5050 * implementation instead of this class to write or read
5151 * query options. For instance:
52- * <pre>String opts = new StringBuilder()
53- * .append("<options xmlns=\"http://marklogic.com/appservices/search\">")
54- * .append( "<debug>true</debug>")
55- * .append("</options>")
56- * .toString();
57- *optsMgr.writeOptions("debug", new StringHandle(opts));</pre>
52+ * <pre>{@code
53+ * String opts = new StringBuilder()
54+ * .append("<options xmlns=\"http://marklogic.com/appservices/search\">")
55+ * .append( "<debug>true</debug>")
56+ * .append("</options>")
57+ * .toString();
58+ * optsMgr.writeOptions("debug", new StringHandle(opts)); }</pre>
5859 * or
59- * <pre>String opts = "{\"options\":{\"debug\":true}}";
60- *optsMgr.writeOptions("debug", new StringHandle(opts).withFormat(Format.JSON));</pre>
60+ * <pre>{@code
61+ * String opts = "{\"options\":{\"debug\":true}}";
62+ * optsMgr.writeOptions("debug", new StringHandle(opts).withFormat(Format.JSON)); }</pre>
6163 */
6264@ Deprecated
6365@ XmlAccessorType (XmlAccessType .FIELD )
Original file line number Diff line number Diff line change 9494 * {@link com.marklogic.client.io.marker.StructureReadHandle read handle}
9595 * implementation instead of this class to write or read
9696 * query options. For instance:
97- * <pre>String opts = new StringBuilder()
98- * .append("<options xmlns=\"http://marklogic.com/appservices/search\">")
99- * .append( "<debug>true</debug>")
100- * .append("</options>")
101- * .toString();
102- *optsMgr.writeOptions("debug", new StringHandle(opts));</pre>
97+ * <pre>{@code
98+ * String opts = new StringBuilder()
99+ * .append("<options xmlns=\"http://marklogic.com/appservices/search\">")
100+ * .append( "<debug>true</debug>")
101+ * .append("</options>")
102+ * .toString();
103+ * optsMgr.writeOptions("debug", new StringHandle(opts)); }</pre>
103104 * or
104- * <pre>String opts = "{\"options\":{\"debug\":true}}";
105- *optsMgr.writeOptions("debug", new StringHandle(opts).withFormat(Format.JSON));</pre>
105+ * <pre>{@code
106+ * String opts = "{\"options\":{\"debug\":true}}";
107+ * optsMgr.writeOptions("debug", new StringHandle(opts).withFormat(Format.JSON)); }</pre>
106108 */
107109@ Deprecated
108110public class QueryOptionsBuilder {
You can’t perform that action at this time.
0 commit comments