org.codehaus.cargo.module.ejb
Class EjbJarXmlIo

java.lang.Object
  extended by org.codehaus.cargo.module.AbstractDescriptorIo
      extended by 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 $

Constructor Summary
protected EjbJarXmlIo()
           
 
Method Summary
static EjbJarXml parseEjbJarXml(InputStream input, EntityResolver entityResolver)
          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

EjbJarXmlIo

protected EjbJarXmlIo()
Parameters:
factory -
Method Detail

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 stream
entityResolver - 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.