From a6a033e16d301d7400fa917309c0cb3a03b52797 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Mon, 28 May 2012 09:59:26 +0000
Subject: [PATCH] Links to examples

---
 opendj3/src/main/docbkx/dev-guide/chap-reading.xml |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/opendj3/src/main/docbkx/dev-guide/chap-reading.xml b/opendj3/src/main/docbkx/dev-guide/chap-reading.xml
index aaea764..a052d80 100644
--- a/opendj3/src/main/docbkx/dev-guide/chap-reading.xml
+++ b/opendj3/src/main/docbkx/dev-guide/chap-reading.xml
@@ -146,6 +146,12 @@
         connection.close();
     }
 }</programlisting>
+
+  <para>For a complete example in context, see <link
+  xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/xref/org/forgerock/opendj/examples/SearchBind.html"
+  xlink:show="new">SearchBind.java</link>, one of the <link
+  xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/"
+  xlink:show="new">OpenDJ LDAP SDK examples</link>.</para>
  </section>
 
  <section xml:id="basedn-and-scope">
@@ -420,6 +426,12 @@
   returns a single entry, you can read the entry with the
   <literal>searchSingleEntry()</literal> methods. If you have the distinguished
   name, you can use <literal>readEntry()</literal> directly.</para>
+
+  <para>For a complete example in context, see <link
+  xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/xref/org/forgerock/opendj/examples/Search.html"
+  xlink:show="new">Search.java</link>, one of the <link
+  xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/"
+  xlink:show="new">OpenDJ LDAP SDK examples</link>.</para>
  </section>
 
  <section xml:id="get-search-results">
@@ -466,6 +478,12 @@
 {
   reader.close();
 }</programlisting>
+
+    <para>For a complete example in context, see <link
+    xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/xref/org/forgerock/opendj/examples/Search.html"
+    xlink:show="new">Search.java</link>, one of the <link
+    xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/"
+    xlink:show="new">OpenDJ LDAP SDK examples</link>.</para>
    </listitem>
 
    <listitem>
@@ -534,6 +552,12 @@
 // Do something with the objects.
 // ...
 </programlisting>
+
+  <para>For a complete example in context, see <link
+  xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/xref/org/forgerock/opendj/examples/ParseAttributes.html"
+  xlink:show="new">ParseAttributes.java</link>, one of the <link
+  xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/"
+  xlink:show="new">OpenDJ LDAP SDK examples</link>.</para>
  </section>
 
  <section xml:id="handle-ldap-urls">

--
Gitblit v1.10.0