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

public class EjbJarXmlIo
extends AbstractDescriptorIo

Provides convenience methods for reading and writing ejb deployment descriptors (ejb-jar.xml).

Version:
$Id: EjbJarXmlIo.java 972 2006-03-27 14:58:26Z vmassol $

Constructor Summary
EjbJarXmlIo()
           
 
Method Summary
static EjbJarXml parseEjbJarXml(java.io.InputStream input, org.xml.sax.EntityResolver entityResolver)
          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

EjbJarXmlIo

public EjbJarXmlIo()
Method Detail

parseEjbJarXml

public static EjbJarXml parseEjbJarXml(java.io.InputStream input,
                                       org.xml.sax.EntityResolver entityResolver)
                                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
entityResolver - A SAX entity resolver, or null to use the default
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.