| java.lang.Object winstone.WebXmlParser
WebXmlParser | public class WebXmlParser implements EntityResolver,ErrorHandler(Code) | | The web.xml parsing logic. This is used by more than one launcher, so it's shared from here.
author: Rick Knowles version: $Id: WebXmlParser.java,v 1.9 2006/12/08 04:08:44 rickknowles Exp $ |
parseStreamToXML | protected Document parseStreamToXML(File webXmlFile)(Code) | | Get a parsed XML DOM from the given inputstream. Used to process the
web.xml application deployment descriptors. Returns null if the parse fails,
so the effect is as if there was no web.xml file available.
|
resolveEntity | public InputSource resolveEntity(String publicName, String url) throws SAXException, IOException(Code) | | Implements the EntityResolver interface. This allows us to redirect any
requests by the parser for webapp DTDs to local copies. It's faster and
it means you can run winstone without being web-connected.
|
|
|