Class WebXmlParser
- java.lang.Object
- 
- org.apache.tomcat.util.descriptor.web.WebXmlParser
 
- 
 public class WebXmlParser extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description WebXmlParser(boolean namespaceAware, boolean validation, boolean blockExternal)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanparseWebXml(java.net.URL url, WebXml dest, boolean fragment)Parse a web descriptor at a location.booleanparseWebXml(org.xml.sax.InputSource source, WebXml dest, boolean fragment)voidsetClassLoader(java.lang.ClassLoader classLoader)Sets the ClassLoader to be used for creating descriptor objects.
 
- 
- 
- 
Method Detail- 
parseWebXmlpublic boolean parseWebXml(java.net.URL url, WebXml dest, boolean fragment) throws java.io.IOExceptionParse a web descriptor at a location.- Parameters:
- url- the location; if null no load will be attempted
- dest- the instance to be populated by the parse operation
- fragment- indicate if the descriptor is a web-app or web-fragment
- Returns:
- true if the descriptor was successfully parsed
- Throws:
- java.io.IOException- if there was a problem reading from the URL
 
 - 
parseWebXmlpublic boolean parseWebXml(org.xml.sax.InputSource source, WebXml dest, boolean fragment)
 - 
setClassLoaderpublic void setClassLoader(java.lang.ClassLoader classLoader) Sets the ClassLoader to be used for creating descriptor objects.- Parameters:
- classLoader- the ClassLoader to be used for creating descriptor objects
 
 
- 
 
-