org.codehaus.cargo.module.webapp.jboss
Class JBossWebXmlIo

java.lang.Object
  extended by org.codehaus.cargo.module.AbstractDescriptorIo
      extended by org.codehaus.cargo.module.webapp.jboss.JBossWebXmlIo

public class JBossWebXmlIo
extends AbstractDescriptorIo

Provides convenience methods for reading Tomcat web context descriptor.

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

Constructor Summary
JBossWebXmlIo()
           
 
Method Summary
static JBossWebXml parseJBossWebXml(java.io.InputStream theInput)
          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

JBossWebXmlIo

public JBossWebXmlIo()
Method Detail

parseJBossWebXml

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

Parameters:
theInput - 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-2009 Codehaus. All Rights Reserved.