java.lang.Object
cloud.piranha.webapp.webxml.WebXmlParser
public class WebXmlParser
extends java.lang.Object
The web.xml / web-fragment.xml parser.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
Constructors Constructor Description WebXmlParser()
-
Method Summary
Modifier and Type Method Description WebXml
parse(java.io.InputStream inputStream)
Parse the input stream.static java.lang.Iterable<org.w3c.dom.Node>
toIterable(org.w3c.dom.NodeList nodeList)
Convert nodes list to iterable nodes.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
WebXmlParser
public WebXmlParser()
-
-
Method Details
-
parse
Parse the input stream.- Parameters:
inputStream
- the input stream.- Returns:
- the WebXml.
-
toIterable
public static java.lang.Iterable<org.w3c.dom.Node> toIterable(org.w3c.dom.NodeList nodeList)Convert nodes list to iterable nodes.- Parameters:
nodeList
- the node list.- Returns:
- the iterable nodes.
-