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
| 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 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
- Throws:
DBException
java.lang.Exception
getDetailView
protected static java.lang.String getDetailView(UglyBrowser.XPathPseudoParser parser,
Database db)
throws java.lang.Exception
- 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?
Copyright (c) 1999-2004 The Apache Software Foundation. All Rights Reserved.