Class OrionWebXmlIo
- java.lang.Object
-
- org.codehaus.cargo.module.AbstractDescriptorIo
-
- org.codehaus.cargo.module.webapp.orion.OrionWebXmlIo
-
- All Implemented Interfaces:
DescriptorIo
public class OrionWebXmlIo extends AbstractDescriptorIo
Provides convenience methods for reading Oracle web deployment descriptor.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OrionWebXmlIo()
Protected constructor.OrionWebXmlIo(DescriptorType type)
Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OrionWebXml
parseOrionXml(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
-
-
-
-
Constructor Detail
-
OrionWebXmlIo
protected OrionWebXmlIo()
Protected constructor.
-
OrionWebXmlIo
public OrionWebXmlIo(DescriptorType type)
Constructor.- Parameters:
type
- Document descriptor type
-
-
Method Detail
-
parseOrionXml
public static OrionWebXml parseOrionXml(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:
org.jdom2.JDOMException
- If the input could not be parsedIOException
- If an I/O error occurs
-
-