Class JBossWebXmlIo

  • All Implemented Interfaces:
    DescriptorIo

    public class JBossWebXmlIo
    extends AbstractDescriptorIo
    Provides convenience methods for reading JBoss web context descriptor.
    • Constructor Detail

      • JBossWebXmlIo

        protected JBossWebXmlIo​(DescriptorType factory)
        Constructor.
        Parameters:
        factory - Descriptor Type
    • Method Detail

      • parseJBossWebXml

        public static JBossWebXml parseJBossWebXml​(InputStream theInput)
                                            throws IOException,
                                                   org.jdom.JDOMException
        Parses a deployment descriptor provided as input stream.
        Parameters:
        theInput - The input stream
        Returns:
        The parsed descriptor
        Throws:
        IOException - If an I/O error occurs
        org.jdom.JDOMException - If the XML parser was not correctly configured