Class OrionWebXmlIo

  • All Implemented Interfaces:
    DescriptorIo

    public class OrionWebXmlIo
    extends AbstractDescriptorIo
    Provides convenience methods for reading Oracle web deployment descriptor.
    • Constructor Detail

      • OrionWebXmlIo

        protected OrionWebXmlIo()
        Protected constructor.
      • OrionWebXmlIo

        public OrionWebXmlIo​(DescriptorType type)
        Constructor.
        Parameters:
        type - Document descriptor type
    • Method Detail

      • parseOrionXml

        public static OrionWebXml parseOrionXml​(InputStream input)
                                         throws IOException,
                                                org.jdom2.JDOMException
        Parses a deployment descriptor provided as input stream.
        Parameters:
        input - The input stream
        Returns:
        The parsed descriptor
        Throws:
        org.jdom2.JDOMException - If the input could not be parsed
        IOException - If an I/O error occurs