You must add code to your Web application that extracts rule results or keyword redirect results from the Supplement objects that the MDEX Engine returns.
Supplement objects are children of the Navigation object and are accessed via the Java getSupplements() method or the .NET Supplements property for the Navigation object. The Java getSupplements() method and the .NET Supplements property return a SupplementList object that contains some number of Supplement objects. For example, the following sample code gets all Supplement objects from the Navigation object.
Example 93. Java example
// Get Supplement list from Navigation object SupplementList sups = nav.getSupplements(); // Loop over the Supplement list for (int i=0; i<sups.size(); i++) { // Get individual Supplement Supplement sup = (Supplement)sups.get(i); ... }
Example 94. .NET example
// Get Supplement list from Navigation object SupplementList sups = nav.Supplements; // Loop over the Supplement list for (int i=0; i<sups.Count; i++) { // Get individual Supplement Supplement sup = (Supplement)sups[i]; ... }