public class WebXmlParser
extends java.lang.Object
| Constructor and Description |
|---|
WebXmlParser(boolean namespaceAware,
boolean validation,
boolean blockExternal) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
parseWebXml(org.xml.sax.InputSource source,
WebXml dest,
boolean fragment) |
boolean |
parseWebXml(java.net.URL url,
WebXml dest,
boolean fragment)
Parse a web descriptor at a location.
|
void |
setClassLoader(java.lang.ClassLoader classLoader)
Sets the ClassLoader to be used for creating descriptor objects.
|
public WebXmlParser(boolean namespaceAware,
boolean validation,
boolean blockExternal)
public boolean parseWebXml(java.net.URL url,
WebXml dest,
boolean fragment)
throws java.io.IOException
url - the location; if null no load will be attempteddest - the instance to be populated by the parse operationfragment - indicate if the descriptor is a web-app or web-fragmentjava.io.IOException - if there was a problem reading from the URLpublic boolean parseWebXml(org.xml.sax.InputSource source,
WebXml dest,
boolean fragment)
public void setClassLoader(java.lang.ClassLoader classLoader)
classLoader - the ClassLoader to be used for creating descriptor objectsCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.