Class JBossXmlIo
- java.lang.Object
-
- org.codehaus.cargo.module.AbstractDescriptorIo
-
- org.codehaus.cargo.module.ejb.jboss.JBossXmlIo
-
- All Implemented Interfaces:
DescriptorIo
public class JBossXmlIo extends AbstractDescriptorIo
Provides convenience methods for reading JBoss ejb jar deployment descriptor.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JBossXmlIo()
Protected Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JBossXml
parseJBossXml(InputStream input)
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
-
-
-
-
Method Detail
-
parseJBossXml
public static JBossXml parseJBossXml(InputStream input) throws IOException, org.jdom2.JDOMException
Parses a deployment descriptor provided as input stream.- Parameters:
input
- The input stream- Returns:
- The parsed descriptor
- Throws:
IOException
- If an I/O error occursorg.jdom2.JDOMException
- If an XML Parsing problem
-
-