org.codehaus.cargo.module.webapp.weblogic
Class WeblogicXmlIo

java.lang.Object
  extended by org.codehaus.cargo.module.AbstractDescriptorIo
      extended by org.codehaus.cargo.module.webapp.weblogic.WeblogicXmlIo

public class WeblogicXmlIo
extends AbstractDescriptorIo

Provides convenience methods for reading Weblogic web deployment descriptor.

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

Constructor Summary
WeblogicXmlIo()
           
 
Method Summary
static WeblogicXml parseWeblogicXml(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

WeblogicXmlIo

public WeblogicXmlIo()
Method Detail

parseWeblogicXml

public static WeblogicXml parseWeblogicXml(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.