org.codehaus.cargo.module.webapp.orion
Class OrionWebXmlIo

java.lang.Object
  extended byorg.codehaus.cargo.module.AbstractDescriptorIo
      extended byorg.codehaus.cargo.module.webapp.orion.OrionWebXmlIo

public class OrionWebXmlIo
extends AbstractDescriptorIo

Provides convenience methods for reading Oracle web deployment descriptor.

Version:
$Id: OrionWebXmlIo.java 516 2005-09-26 08:49:35Z vmassol $

Constructor Summary
OrionWebXmlIo()
           
 
Method Summary
static OrionWebXml parseOrionXml(java.io.InputStream input)
          Parses a deployment descriptor provided as input stream.
 
Methods inherited from class org.codehaus.cargo.module.AbstractDescriptorIo
createDocumentBuilder, writeAll, writeDescriptor, writeDescriptor, writeDescriptor, writeDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrionWebXmlIo

public OrionWebXmlIo()
Method Detail

parseOrionXml

public static OrionWebXml parseOrionXml(java.io.InputStream input)
                                 throws org.xml.sax.SAXException,
                                        javax.xml.parsers.ParserConfigurationException,
                                        java.io.IOException
Parses a deployment descriptor provided as input stream.

Parameters:
input - The input stream
Returns:
The parsed descriptor
Throws:
org.xml.sax.SAXException - If the input could not be parsed
javax.xml.parsers.ParserConfigurationException - If the XML parser was not correctly configured
java.io.IOException - If an I/O error occurs


Copyright © 2004-2007 Codehaus. All Rights Reserved.