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
All Implemented Interfaces:
DescriptorIo

public class JBossWebXmlIo
extends AbstractDescriptorIo

Provides convenience methods for reading JBoss web context descriptor.

Version:
$Id: JBossWebXmlIo.java 1705 2008-09-02 13:14:55Z adriana $

Constructor Summary
protected JBossWebXmlIo(DescriptorType factory)
          Constructor.
 
Method Summary
static JBossWebXml parseJBossWebXml(InputStream theInput)
          Parses a deployment descriptor provided as input stream.
 
Methods inherited from class org.codehaus.cargo.module.AbstractDescriptorIo
createDocumentBuilder, createDocumentBuilder, getEntityResolver, parseXml, parseXml, 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

protected JBossWebXmlIo(DescriptorType factory)
Constructor.

Parameters:
factory - Descriptor Type
Method Detail

parseJBossWebXml

public static JBossWebXml parseJBossWebXml(InputStream theInput)
                                    throws IOException,
                                           org.jdom.JDOMException
Parses a deployment descriptor provided as input stream.

Parameters:
theInput - The input stream
Returns:
The parsed descriptor
Throws:
IOException - If an I/O error occurs
org.jdom.JDOMException - If the XML parser was not correctly configured


Copyright © 2004-2012 Codehaus. All Rights Reserved.