Class WebXmlParser
java.lang.Object
org.apache.tomcat.util.descriptor.web.WebXmlParser
- 
Constructor SummaryConstructorsConstructorDescriptionWebXmlParser(boolean namespaceAware, boolean validation, boolean blockExternal) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanparseWebXml(URL url, WebXml dest, boolean fragment) Parse a web descriptor at a location.booleanparseWebXml(InputSource source, WebXml dest, boolean fragment) voidsetClassLoader(ClassLoader classLoader) Sets the ClassLoader to be used for creating descriptor objects.
- 
Constructor Details- 
WebXmlParserpublic WebXmlParser(boolean namespaceAware, boolean validation, boolean blockExternal) 
 
- 
- 
Method Details- 
parseWebXmlParse 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:
- IOException- if there was a problem reading from the URL
 
- 
parseWebXml
- 
setClassLoaderSets the ClassLoader to be used for creating descriptor objects.- Parameters:
- classLoader- the ClassLoader to be used for creating descriptor objects
 
 
-