org.codehaus.cargo.module.webapp.jboss
Class JBossWebXmlIo
java.lang.Object
org.codehaus.cargo.module.AbstractDescriptorIo
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBossWebXmlIo
protected JBossWebXmlIo(DescriptorType factory)
- Constructor.
- Parameters:
factory
- Descriptor Type
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.