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-25 04:25:02 +0100 (Sun, 25 Feb 2007) $
- Author:
- Kevin Ross
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UglyBrowser
public UglyBrowser()
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.
- Throws:
javax.servlet.ServletException
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
- Throws:
DBException
Exception
getDetailView
protected static String getDetailView(UglyBrowser.XPathPseudoParser parser,
Database db)
throws Exception
- Throws:
Exception
prettyPrint
protected static String prettyPrint(org.w3c.dom.Document doc)
throws Exception
- 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?
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.