org.codehaus.cargo.module.webapp.resin
Class ResinWebXmlIo

java.lang.Object
  extended by org.codehaus.cargo.module.AbstractDescriptorIo
      extended by org.codehaus.cargo.module.webapp.resin.ResinWebXmlIo

public class ResinWebXmlIo
extends AbstractDescriptorIo

Provides convenience methods for reading Resin web deployment descriptor.

Version:
$Id $

Constructor Summary
ResinWebXmlIo()
           
 
Method Summary
static ResinWebXml parseResinXml(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

ResinWebXmlIo

public ResinWebXmlIo()
Method Detail

parseResinXml

public static ResinWebXml parseResinXml(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-2009 Codehaus. All Rights Reserved.