Class WebXmlParser

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 nodes)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • parse

      public WebXml parse​(java.io.InputStream inputStream)
      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 nodes)