org.codehaus.cargo.module.ejb
Class EjbJarXmlIo
java.lang.Object
org.codehaus.cargo.module.AbstractDescriptorIo
org.codehaus.cargo.module.ejb.EjbJarXmlIo
- All Implemented Interfaces:
- DescriptorIo
public class EjbJarXmlIo
- extends AbstractDescriptorIo
Provides convenience methods for reading and writing ejb deployment descriptors (ejb-jar.xml).
- Version:
- $Id: EjbJarXmlIo.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 |
EjbJarXmlIo
protected EjbJarXmlIo()
- Parameters:
factory
-
parseEjbJarXml
public static EjbJarXml parseEjbJarXml(InputStream input,
EntityResolver entityResolver)
throws IOException,
org.jdom.JDOMException
- Parses a deployment descriptor provided as input stream.
- Parameters:
input
- The input streamentityResolver
- A SAX entity resolver, or null
to use the default
- 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.