Xindice API
version 1.1b4

org.apache.xindice.server
Class UglyBrowser

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

public class UglyBrowser
extends java.lang.Object

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

Version:
CVS $Revision: 1.13 $, $Date: 2004/02/11 14:03:09 $
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.
static java.lang.String escapeHtml(java.lang.String value)
           
protected static java.lang.String getDetailView(UglyBrowser.XPathPseudoParser parser, Database db)
           
protected static java.lang.String getHierarchy(UglyBrowser.XPathPseudoParser parser, java.lang.String contextPath, Database db)
           
protected static java.lang.String getPathNavigation(UglyBrowser.XPathPseudoParser parser, java.lang.String contextPath)
           
static boolean isLegalCharacter(char c)
          Is the given character allowed inside an HTML document?
 
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 java.lang.String getPathNavigation(UglyBrowser.XPathPseudoParser parser,
                                                    java.lang.String contextPath)

getHierarchy

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

getDetailView

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

escapeHtml

public static java.lang.String escapeHtml(java.lang.String value)

isLegalCharacter

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

Xindice API
version 1.1b4

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