org.codehaus.cargo.module.webapp.resin
Class ResinWebXmlIo

java.lang.Object
  extended by org.codehaus.cargo.module.AbstractDescriptorIo
      extended by org.codehaus.cargo.module.webapp.resin.ResinWebXmlIo
All Implemented Interfaces:
DescriptorIo

public class ResinWebXmlIo
extends AbstractDescriptorIo

Provides convenience methods for reading Resin web deployment descriptor.

Version:
$Id $

Constructor Summary
protected ResinWebXmlIo()
          Protected constructor.
 
Method Summary
static ResinWebXml parseResinXml(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

ResinWebXmlIo

protected ResinWebXmlIo()
Protected constructor.

Method Detail

parseResinXml

public static ResinWebXml parseResinXml(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.