org.codehaus.cargo.module.webapp.orion
Class OrionWebXmlIo

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

Version:
$Id: OrionWebXmlIo.java 1705 2008-09-02 13:14:55Z adriana $

Constructor Summary
protected OrionWebXmlIo()
           
  OrionWebXmlIo(DescriptorType type)
          Constructor.
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrionWebXmlIo

protected OrionWebXmlIo()
Parameters:
factory -

OrionWebXmlIo

public OrionWebXmlIo(DescriptorType type)
Constructor.

Parameters:
type - Document descriptor type
Method Detail

parseOrionXml

public static OrionWebXml parseOrionXml(InputStream input)
                                 throws IOException,
                                        org.jdom.JDOMException
Parses a deployment descriptor provided as input stream.

Parameters:
input - The input stream
Returns:
The parsed descriptor
Throws:
org.jdom.JDOMException - If the input could not be parsed
IOException - If an I/O error occurs


Copyright © 2004-2012 Codehaus. All Rights Reserved.