Xindice API
version 1.1

org.apache.xindice.server
Class UglyBrowser

java.lang.Object
  |
  +--org.apache.xindice.server.UglyBrowser

public class UglyBrowser
extends Object

Moved out of XindiceServlet for separation of display and server bootstrapping.

Version:
$Revision: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $
Author:
Kevin Ross

Inner Class Summary
static class UglyBrowser.XPathPseudoParser
           
 
Constructor Summary
UglyBrowser()
           
 
Method Summary
static void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Get handling to provide simple HTTP access to the Xindice instance.
protected static String escapeHtml(String value)
           
protected static String getDetailView(UglyBrowser.XPathPseudoParser parser, Database db)
           
protected static String getHierarchy(UglyBrowser.XPathPseudoParser parser, String contextPath, Database db)
           
protected static String getPathNavigation(UglyBrowser.XPathPseudoParser parser, String contextPath)
           
protected static boolean isLegalCharacter(char c)
          Is the given character allowed inside an HTML document?
protected static String prettyPrint(org.w3c.dom.Document doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UglyBrowser

public UglyBrowser()
Method Detail

doGet

public static void doGet(javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response)
                  throws javax.servlet.ServletException
Get handling to provide simple HTTP access to the Xindice instance.

getPathNavigation

protected static String getPathNavigation(UglyBrowser.XPathPseudoParser parser,
                                          String contextPath)

getHierarchy

protected static String getHierarchy(UglyBrowser.XPathPseudoParser parser,
                                     String contextPath,
                                     Database db)
                              throws DBException,
                                     Exception

getDetailView

protected static String getDetailView(UglyBrowser.XPathPseudoParser parser,
                                      Database db)
                               throws Exception

prettyPrint

protected static String prettyPrint(org.w3c.dom.Document doc)
                             throws Exception

escapeHtml

protected static String escapeHtml(String value)

isLegalCharacter

protected static boolean isLegalCharacter(char c)
Is the given character allowed inside an HTML document?

Xindice API
version 1.1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.